Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
11 replies
Subscribers
8 subscribers
Views
13514 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Convert to a CDT
Soumya.Behera
over 8 years ago
Hello Everyone,
I have an expression whose output is of type "Any Type (Dictionary)". I want to typecast it into the desired CDT type. Please let me know the method.
OriginalPostID-243301
Discussion posts and replies are publicly visible
Top Replies
sikhivahans
over 8 years ago
+2
Usage of a!applyComponents() is redundant or I should say that it's not needed. The following should be enough as per my knowledge: fn!cast( fn!typeof({type!SSB_IAL_EmployeeDetails()}), a!queryEntity(…
Soumya.Behera
over 8 years ago
+1
In case anyone's wondering what exactly I did, please find attachment for the solution to my challenge. You can mould it to your requirement. solution.txt
Parents
0
Soumya.Behera
over 8 years ago
@sikhivahans The way you told is perfectly correct. But, if I remove a!applyComponents from my implementation method then, it will only cast single element. That is why I had to use it. And thanks for the suggestion, I have changed it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Soumya.Behera
over 8 years ago
@sikhivahans The way you told is perfectly correct. But, if I remove a!applyComponents from my implementation method then, it will only cast single element. That is why I had to use it. And thanks for the suggestion, I have changed it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data