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
16 replies
Subscribers
7 subscribers
Views
9886 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Update Property In Array Of Objects
minalabib
over 7 years ago
I am fairly new to Appian, and I want to dynamically update a property in array of objects (the objects are of any type).
so in terms of other programming language, something like below:
ri!List_Of_Any_Type_Object[ri!Index_Of_Object].<Property_Name> = value
OriginalPostID-248744
Discussion posts and replies are publicly visible
Parents
0
minalabib
over 7 years ago
Thank you.
What if the Property_Name is dynamic as well, meaning the Property_Name will be an input to my expression rule.
For example, in CDT Manipulation plugin it shows below example:
updatecdt(local!a, { a:{5,6} })
That example assumes property "a" in local variable "local!a" is known, what if the property name is not know in run time and will be passed as input (i.e. ri!propertyName); is there a way to do that in SAIL ?
again excuse my little knowledge in Appian! :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
minalabib
over 7 years ago
Thank you.
What if the Property_Name is dynamic as well, meaning the Property_Name will be an input to my expression rule.
For example, in CDT Manipulation plugin it shows below example:
updatecdt(local!a, { a:{5,6} })
That example assumes property "a" in local variable "local!a" is known, what if the property name is not know in run time and will be passed as input (i.e. ri!propertyName); is there a way to do that in SAIL ?
again excuse my little knowledge in Appian! :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data