Using States and Activities
The Toolbox in the Design Screen contains pre-defined States and Activities that you can use to build a Workflow as shown in the following image. These States and Activities are discussed in the respective child topics.
All pre-set states have pre-set container activities you can load from the Properties pane to direct the action/path. Each Event Container contains little steps which appear like a mini-workflow. These are used to define the steps that occur when an event is triggered.
You can use the activities and the events in the Toolbox by simply dragging them into the State Machine Workflow area. Using these activities you can create various states that include different conditions which can be used for processing the documents.
Following is the list of Static Constants which can be used while writing a Workflow condition:
The above constants can be used in writing conditions for various events, such as the OnEnter Event, OnChange Event, and OnExit Event. The OnEnter Event will perform certain activities once you enter the values to the profile fields for which the OnEnter Event condition is applied. Similarly, by providing a particular script for the OnChange Event and OnExist Event, you can also perform certain activities when the values of profile fields change or when you exit a specific profile field.