How Can We Help?
Answer
In XMDesignerIs used to configure XMPro BPM solutions., the order of the activity’s code execution is set by index:
The code placed on the control with lower index executes first.
If the result of the one control’s code execution is used as a parameter in another control’s code, ensure the former control’s index is less than the latter control’s index.
An important factor to keep in mind while designing.
Just to add to the order of execution, the following sequence is followed for “OnLoad” and “OnRefresh”, in that order:
- OnLoad of ActivityA specific step in a process. It will be the user interface for that step (web form or a screen), for example, the Leave Application (screen interface or web form) will be the first Activity in the Leave Requisition process. The Leave Application Authorization will be the second step or Activity in the Leave Requisition process. One Process can have multiple activities.:
- OnLoad of Entities with target to Activity
- For each control (Index minimum to maximum):
- OnLoad of Control
- Entities with target to Control
- For each Control (Index minimum to maximum)
- Expression of Control
- OnRefresh of Activity:
- OnRefresh of Entities with target to Activity
- For each Control (Index minimum to maximum)
- OnRefresh of Control
- Expression of Control
- Entities with target to Control
Comments are closed.