Hi
I am learning Appian Developer Module. Completed Workflow Module -
Now working on Build an Application: Step 8 but Unfortunately stuck since morning to resolve One error on Interface design.
Need help!!!
Exercise 8: Process Modeling 101, Part 1
In -> Add Dropdown Components
When I am doing the below step Error is not getting removed even after doing exact step by step procedure.
5. Next, configure the Category field to display correct choices in the dropdown menu. Make sure the Category field is selected, and scroll to Choice Labels in the Component Configuration pane. Click the Expression Editor icon next to it, and enter the following expression:
local!category[recordType!Category.fields.label]
You will see an error message appear because the choiceLabels and choiceValues arrays are currently different lengths. This message will disappear after the next step.
6. Scroll to Choice Values, and click the Expression Editor icon next to it. Enter the following expression: local!category[recordType!Category.fields.id]
Please Need your help, in my learning journey.
Same steps I have to do for Status and Condition.
Thanks & Regards
Ahmedi
Discussion posts and replies are publicly visible
what is local!category?
a!localVariables( local!category: rule!AA_GetReferenceData(type: "Category"),
and as there is No RecordType Vehicle
I have used AE_Vehicle my application Record type
Thanks for replying
local!category[recordType!Category.fields.label] for Choice Label in interface component configuration and
local!category[recordType!Category.fields.id] for Choice values
Also I ma not able to get this exact recordType. Need you help. thanks
you cannot use record type there, you just need list of values you want to show in drop down.In your training was this rule rule!AA_GetReferenceData(type: "Category"), refers to any record or what is the return data type of this rule?
Thanks Dhananjay.
Very helpful advise. Error resolved.