0

I'm having problems getting the values from a lookup field and then store in a variable

Code:

Set Variable: v_related_requirement_intID to Current Item:Release

Error:

An unhandled exception occurred during the execution of the workflow instance. Exception details: System.InvalidCastException: The value 'Value' cannot be read as type 'Int32'. at Microsoft.Activities.GetDynamicValueProperty`1.CheckedRead(String propertyName, DynamicItem value)

Is there any way I could get the index value of the lookup field?

1

Follow below steps

1.Data Source: instead of Current Item, select the List by name

2.Field: Your look up column

3.Return Field as: Lookup Value

4.Field: ID

5.Value: Current Item:ID

0

Hope this link will help you. Handling Lookup Columns in a SharePoint Designer Workflow

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.