Aborting and Joining Processes

In some cases you like to abort the current process and join it to another process. The Infinity Portal allows you to abort an existing active root process instance. When you abort an existing active root process instance, the data associated with it is merged in another active process instance according to join data copy semantics. The link is created between source root process instance and the target process instance. For details on the join data copy semantics, refer to section Data Copy Semantics of chapter Aborting and Joining Processes in the Concepts part. Data Copy Semantics of chapter Aborting and Joining Processes in the Concepts part.

Invoking Abort and Join

Starting the Abort and Join functionality is possible from the toolbar of activity execution views as well as from the Actions column in process and activity tables. For details on the Actions column in process and activity tables, refer to chapters Working with Process Tables and Working with Activity Tables respectively.

To abort and join a process from the activity execution toolbar, click the down-arrow icon in the toolbar and select Abort Process and Join option.

Abort Process and Join
Figure: Abort Process and Join Option

The Abort Process and Join dialog opens, which is described in the following section.

Using the Abort Process and Join Dialog

Note that the Abort Process Instances and the Abort and Join permissions are required to use the Abort Process and Join dialog. If these permissions are not granted to the logged-in user then the Abort and Join option is disabled. For more information, please refer to chapter Managing Authorization and section Authorization of chapter Working with Process Definitions in the Business Process Modeling Handbook.

  1. To abort an existing process instance and join another process, click the down-arrow icon displayed next to the Abort icon and choose Abort Process and Join option from the toolbar.

    Abort and Join Process
    Figure: Abort Process and Join

    All the active processes with all matching key descriptors of the in-scope process instance get displayed. Please refer to the chapter Related Process or Case Search for detail information. For more information on key descriptors, please refer to the Key Descriptors section of chapter Working with Data Paths in the Infinity Process Platform Documentation - Developer Handbook. Key Descriptors section of the Working with Data Paths chapter of the Developers Handbook.

    Note that the children of the process instance that is being aborted are not displayed.

  2. Click the target process name to which the process being aborted should join. Specify the reason for aborting the process in the Link Comment text box and click Abort & Join.

    Active Processes Matching Key Descriptors
    Figure: Active Processes Matching Key Descriptors

    Note that for the Abort and Join operation of a case, the list of active cases is displayed.

  3. Click Yes if you want to view the joined process.

    Abort Process and Join Confirmation
    Figure: Abort Process and Join Confirmation

If you click Yes the process details of the joined process get displayed.

Joined Process Details
Figure: Joined Process Details

When any process is aborted and joined:

The linked processes get displayed under the Linked Processes panel. Notice that the status is displayed as Active of the target process. The link type of the target process instance is displayed as Joined From. If you want to view the source process details then click on the process name displayed in the Process column of the target process.

Please note that the links are established between the root process of the source process instance and the target process instance, which also can be a sub-process.

Also note that in case the target process does not support attachments, the source process gets aborted but documents are not copied.

If you try to join to an already aborted process, a validation message is displayed and the operation cannot be continued.