A flow action calls a pre-processing data transform to initiate values. There are several flow actions available for the assignment. You want to make sure that the values are only initiated once for each flow action.
How do you implement a solution?
A.
Add logic to the pre-processing data transform to test if values were already initiated.
B.
Do nothing. The pre-processing data transform is only called once for each assignment.
C.
Make sure that the flow action does not have the highest likelihood since it will always be invoked.
D.
Configure the data transform as post-processing instead of pre-processing.
To ensure that the values are only initiated once for each flow action, add logic to the pre-processing data transform to test if the values were already initiated (A). This logic can prevent the reinitialization of values that have already been set, allowing the pre-processing to only set default values when they are not present, avoiding any unwanted overwrites or duplications of effort.References: Pega Community documentation on data transforms and flow action pre-processing.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit