AnsweredAssumed Answered

Sending managed metadata value in email

Question asked by igorsp on Nov 9, 2018
Latest reply on Nov 15, 2018 by igorsp

How can I use managed metadata in workflows in Office 365? I have a single action to email a value of the MMD field and the workflow gives me the following error:

RequestorId: 66fb4a47-8127-29f3-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.InvalidCastException: The value 'd/results(0)/Field' cannot be read as type 'String'. at Microsoft.Activities.GetDynamicValueProperty`1.CheckedRead(String propertyName, DynamicItem value) at Microsoft.Activities.GetDynamicValueProperty`1.Execute(CodeActivityContext context) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) Exception from activity GetDynamicValueProperty<String> Sequence DynamicActivity<String> ToString FormatString NintexActivities.WorkflowXaml_8e03d64c_49b1_4845_a435_94f748f07d04 Sequence Flowchart WF - Workflow Name.WorkflowXaml_cfd57983_c02f_4801_aafb_dce6bd969580

If it is not a string what is it and how to send it an email or use as a variable?

Outcomes