I am working on a requirement where I need to show the read only grid to the user and user will be able to filter the data. I need to show the sum of filtered column values also to the user.
I was trying to cast the record type to CDT in the following way but it was showing castInvalid:
cast( typeof('type!{urn:com:appian:types:INV}CDT_NAME'()), recordType!recordName)
Discussion posts and replies are publicly visible
Hello Pankaj,
You can cast in the following manner:
'type!{urn:com:appian:types:INV}CDT_NAME'(
field1: rv!record[recordType!recordName.field]
)
Hi Vinay,
We cannot use rv!record inside rule. It gives the error - Could not find variable 'rv!record'
This is specific if you are trying to create a record type and passing the cdt to your interface.