I’m working on a Pega SIAA application where, after a Dispatch case is created, an Orchestration case is automatically created based on the transaction details.
My requirement is to set some properties in the pyDefault Data Transform of the Orchestration case. The values should be populated based on a condition, and the condition depends on a property value from the Dispatch case.
For example:
Dispatch case is created.
Based on the transaction details, an Orchestration case is created.
During the creation of the Orchestration case, the pyDefault Data Transform is executed.
I need to retrieve a specific property value from the Dispatch case and use it as a condition in the Orchestration case’s pyDefault Data Transform.
My question is:
What is the recommended approach in SIAA to access a specific property value from the Dispatch case when the pyDefault Data Transform of the Orchestration case is being executed?
Please provide more details about the scenario in which you need to reference Dispatch case properties for condition evaluation within the pyDefault data transform of the Orchestration case.
Please note that multiple Dispatch cases can be associated with a single Orchestration case, whereas the pyDefault data transform is executed only once during the creation of the Orchestration case. Are you intending to evaluate the condition based solely on the Dispatch case that originally created the Orchestration case?
Have you reviewed the InitOrchestrationFromDispatch data transform? This data transform runs during Orchestration case creation, of course after pyDefault execution. It has access to the handle of the initiating Dispatch case, which can be used to load the D_Dispatch data page and access properties of the Dispatch case that triggered the Orchestration case creation.