Process Example - Test Process
  • 16 Apr 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Process Example - Test Process

  • Dark
    Light

Article summary

Process Example - Test Process

In Comflow Core there is a Process Example called TestProcess. It contains most common features for a process. In the Portal it is found under the Developer/Work List and Processes menu and in the Studio as /net.comactivity.AsynchWorkflow/Processes/TestProcess.awf.

It can be used both to verfify the Comflow setup for Processes, as well as a design example to understand how to design a new Process.

The scenario is that you start a process from a portlet with a set of options to control the Process. The process contains the roles Assigner, Tester, Tester2 and Verifier. The flow is:

  1. A work item is sent to Assigner to manually assign the roles Tester, Tester2 and Verifier.
  2. Two work items are sent to Tester and Tester2 for parallel work. A Notification Work Item is sent to Verifier to notify via email that there will be verification work in the future. The work item is then automatically closed.
  3. When the testing is done, the Verifier gets a Work Item and possibly a sub process is started.
  4. When the Verification and the possible sub process is finished, the Process ends.

Technically it is the same workflow that is used all the time for user interaction and most of the time the same portlet that is used, where layout is controlled by layout control in the Process.

The scenario contain the following features:

  • Starting a process via a workflow action
  • Starting a process via a service call


  • A work item for manually assigning all roles
  • Rules for assigning Assignor role or Assignor as well as Organization Unit


  • Creation and control of parallel work items
  • Layout control on Work Item Reference


  • Wait for single workflow actions as event
  • Wait for service call as event
  • Wait for multiple events
  • Automatic close of work item based on timer


  • Start of sub process
  • Wait for subprocess end






Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.