Transform
Modified on Thu, 03 Aug 2023
You can use the Transform node to modify the data during the workflow.
- Multiple create or edit steps can be created in a transformation node.
- Variables defined in the transformation node can be accessible in subsequent workflow nodes.
- You can create a new context variable or edit an existing Business Object.
- Click and open the Transform node in your workflow.
- Select Action from the Create, Assign, or Edit options.
Create
You can specify the variable name, select the type, and the multiplicity (single/list).
Assign
In the Assign step, you can initialize the value using the expression editor. In the expression editor, you can enter an expression with static or jiffy library functions or the available context variables. TAB key can list down all the available variables and library functions.
Edit
You can selectively update the Business Object attributes/properties.
- If the attribute is of type List, all of its sub-attributes get replaced by the provided expression.
- If the attribute is not a List type, only the assigned attributes get updated keeping the rest of the attributes unchanged.
- For each List type attribute, you can choose any of the below options.
- Expressions
- Map to:
- Map with filter>
- Give a reference variable name so that it can be used for further assignments.
- Write a filter condition (using a combination of reference variable, context variables, static text and jiffy library functions).
EgThe transform node in the below example takes the financial data, and apply a rule that calculates the total amount and adds a fixed value to it.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article