Update Property In Array Of Objects

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
  • 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! :)

Reply
  • 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! :)

Children
No Data