Working with processes

Each record has at least one out-of-the-box process. You can edit a process by adding or deleting phases and transitions. However, the number of metaphases is fixed for each record.

Phases and Metaphases

Every process is made up of phases and metaphases that reflect the stages of the workflow. The phases are connected by transitions. You can add, move, and delete phases and transitions, and change the direction of a transition. There must be a transition leading to every phase, except the phase at the start of the process. You can define only one transition between two phases (in each direction). However, a process may contain branches, where multiple transitions from a phase lead to different phases.

A process must have exactly one Start phase, which indicates the beginning of the process. You can designate a phase as a Start phase by selecting the Start phase check box in the Properties tab for that phase. The Start phase cannot be deleted from the process; you must first designate a different phase as the Start phase. For more information about adding phases to a process, see How to add a phase in a process.

Note The Start phase does not have to be located in the first metaphase. Any phase can be selected as the Start phase.

All the phases located in the last metaphase are designated as End phases. There must be at least one phase in the last metaphase.

Automatic and manual transitions

There are two types of transitions:

  • Manual. A manual transition occurs when a user updates the system with a change of phase.

  • Automatic. An automatic transition is controlled by a condition. If the condition is satisfied, the workflow advances to the next phase. If it is not satisfied, the workflow is aborted.

If you define two transitions from a phase, one automatic and one manual, leading to different phases, they work concurrently. If the condition of the automatic transition is satisfied first, the process advances automatically to the next phase in that branch. If the condition has not been satisfied, you can manually advance the process to the next phase in that branch.

If you define two automatic transitions from the same phase, they are evaluated in the order they were created. The first one to be satisfied advances the process along that branch.

For more information about adding transitions to a process, see How to add a transition in a process.

Process Properties

To access the properties of a process, select the process in the tree on the left (the second level of the tree) or by clicking the breadcrumbs above the tree in the Processes and Rules tab. For example, in Change Management, you can select the Emergency process:

Select the Properties tab on the right. The following properties are editable:

  • Display name. Click the ellipsis button to edit the display name of the process in the available languages.

  • Is default. Select the check box to define this process as the default process for the record.

  • Apply to <record> type. For records that support multiple processes, you can select the record subtype to which the current process applies. For example, in Change Management, the Emergency process applies to changes of type Emergency.

    Note Each record subtype can be selected for only one process.

Metaphase Properties

To access the properties of a metaphase, select the metaphase in the workflow map or in the tree on the left or by clicking the breadcrumbs above the tree in the Processes and Rules tab.

In the Properties tab on the right, you can edit the display name. Click the ellipsis button to edit the display name of the metaphase in the available languages.

Phase Properties

To access the properties of a phase, select the phase in the workflow map or in the tree on the left or by clicking the breadcrumbs above the tree in the Processes and Rules tab.

Select the Properties tab on the right. The following properties are editable:

  • Display name. Click the ellipsis button to edit the display name of the phase in the available languages.

  • Metaphase. Select a metaphase from the drop-down list to move the phase to that metaphase.

  • Instructions. For records that support multiple processes, you can select the record subtype to which the current process applies. For example, in Change Management, the Emergency process applies to changes of type Emergency.

  • Start phase. Select the check box to define this phase as the start phase of the process.
  • Approval definition. For phases that contain approvals, select the approval definition from the drop-down list. For more information on approvals, see How to build a task/approval plan.

Workflow Performance

Workflow customizations, such as added transitions or business rules, may result in an infinite loop if not defined properly. This could impact the workflow performance. If an infinite loop occurs, the workflow automatically stops after 100 transactions.

For example, it is possible to define automatic transitions between two phases of a workflow such that the workflow automatically transitions from one phase to the other, and back to the first phase. Alternatively, a business rule can be defined to update a field on a related record. When the workflow runs for a record, it may result in a new transaction to update a field on a second record. The new transaction will then update the field on the first record. In these situations, the infinite loop that is generated can result in significant workflow performance degradation.

Related topics