For Each PropertyName: Property is undefined
SummaryA compilation error occurs when For Each Element in Value List is looped.
Error MessagesThis record has 1 Error in 1 place
For Each PropertyName: Property Your_organization-OCFW-Work-Order-NBN.device is undefined.
Steps to Reproduce
- Create TestList Value List in a different page TestPage of a different class other than the class where the activity is defined.
- Create an activity.
- Define TestPage in the Pages and Classes.
- Use For Each Element in Value List, and loop TestList by giving TestPage step page context in the activity.
- Attempt to save the activity.
Root CauseValue List property was referred directly without mentioning the page name.
ResolutionUse <PageName>.<ValueList_PropertyName> in the loop.
Published January 12, 2017 - Updated January 19, 2017