I am create Sequential Workflow for document library in Visual Studio 2010 and also create Meta Data Column Field which field name is TexonomyType.
first ways i get TexonomyField like this:
TaxonomyField tf = (TaxonomyField)workflowProperties.Item["TexonomyType"];
tf is null
than try this ways :
TaxonomyField tf = workflowProperties.Item.Fields.GetFieldByInternalName("TexonomyType") as TaxonomyField;
TaxonomyFieldValue taxonomyFieldValue = new TaxonomyFieldValue(fieldToSet);
string value = taxonomyFieldValue.Label;
here i got the TaxonomyField but Label getting always Empty
.
How to Get TaxonomyField value for Current listitem?