Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hi everyone,
I have an interesting issue that is happening just wondering if anyone has ran into that issue before. I have a query rule in which i am getting back a subset of data. When casting that data subset to the cdt type for example, using cast(typeof('type!CDTNAME') expressionRuleWithQueryEntity() ), if the data subset has multiple dictionaries, only one is returned when the cast is applied. Any thoughts on this?
Regards,Jerry
Discussion posts and replies are publicly visible
Hi Jerry, Update the casting to cast(typeof({'type!CDTNAME'()}), index(expressionRuleWithQueryEntity(),"data",{})) this way you will be casting the output of the query entity to list of data instead of single datasubset.Using {} near the CDTame makes the whole difference and if you are using a query rule then your casting should be something like this : cast(typeof({'type!CDTNAME'()}), expressionRuleWithQueryEntity()). Thanks, Abhishek gaddam
Cheers to the persistent days !! :)