I want to be able to update properties in a case via an activity (or data transform). But the property being updated could be different each time, so I want this activity to be reuseable.
Is there a way to pass the name of the property to be updated AS A PARAMETER and have this property updated with a value (also passed as a parameter) using either an activity or data transform?
@RobertH9685
Send the Property name as a param to a DataTransfrom and use when conditions to determine and set corresponding property value under when condition. you can write multiple when conditions for different params values.
@RobertH9685 Hi, if the list of properties to update is too long for the above approach to make sense - you can use the setPropertyValue function from RuleManagement library.