Create a state
Use the following procedure to create a state.
- Open the process for which you want to create a state.
- On the Modeling bar, click States.
-
Click
New.
The New state dialog box is displayed.
- Enter a Name for the state, such as ORDER CONFIRMED.
-
In the
Percentage complete field, enter the percentage of job completion at which
the state of the job should change.
You can define the percentage complete for every state defined in the job.
-
Associate none, one, or all actions for a state.
Restart action On the Restart at list, select the activity at which the job should restart when it reaches a specific state.
If your process has an embedded process, you can also select a node from the embedded process.Event action -
On the Event list, select the business event to associate with the state such that the event action takes place when the state of the job changes and the activity completes. A list of fields related to the selected event appears.
-
Select State event to identify and record the state event and then select the variable.
-
Map the variables to the corresponding event Fields by selecting the variables in the Mapping fields.
If the required variable is not available, create a new variable. See Create a process variable or Create a server variable.New job action - Select the
Job type for the state. Available options are:
- Create new job
- Create new case
- Create job in case
- On the
Process list, select the process. A list of map parameters
appears.
Case Ref and Case ID options are only available for New Case and New Job In Case job types.
- Map the variables to the corresponding process
Initialization variables by selecting the variable in the
Value fields.
If the required variable is not available, create a new variable (process or server).
-
-
Click
Add.
The new state is added to the list of states, and the percentage complete appears against each state in the list.