Hi, I am new to Appian and I'm having the following error when building my application.
I'm trying to configure the rule inputs but the message "Invalid index: Cannot index property 'relationships' of type Text into Type RecordType.
I'll attach a screencapture.
Thank you in advance for your help.
Discussion posts and replies are publicly visible
Could you please open the rule W0112SA_VehicleDetailsView and check the rule input type
Here it is.
The type would be the W0112SA Vehicle record type, right?
Maybe I have to add another relationship?
Yes, But you need to pass the data which is of the record type W0112SA Vehicle and not the recordType.
Thank you for your reply. Could you please tell me or point me out how to do this? I've been trying to solve this all day and I'm still stuck in this step.
Here my rule input is of any type. Since your input type is W0112SA Vehicle, you will pass a variable which hold the data of type W0112SA Vehicle. The below is a screenshot of how I passed the value.
I have used a local variable here, in your case you can use a rule input in the parent interface which might hold the data or call an expression which queries your data.