Modeling the Process

First, you will model the process that we'll later automate. In this section, you will also learn how to add a role - and therefore a user - to the workflow. This user will be the person who gets the assigned tasks later in the workflow. 

Select the PROCESS designer and create a new model by clicking New Model in the top ribbon menu Main. A new model is created.

modeling-the-process-2017-10-25

In the left notation element repository, collapse the section Advanced, expand the sections Miscellaneous and WebService and drag & drop these elements on the canvas in the following order:

  • Start
  • Assign value (Miscellaneous)
  • BING distance (WebService)
  • Task
  • Condition
  • Assign value (left path of condition) (Miscellaneous)
  • Assign value (right path of condition) (Miscellaneous)
  • Assign value (Miscellaneous)
  • End

modeling-the-process-2017-10-25-9

Open Actions and click Connect all from the top ribbon menu Main or click the Connect all button above the notation element repository.

modeling-the-process-2017-10-25-8

All proposed lines become solid. Lines between conditions and succeeding elements have to be drawn manually.
Click and hold a condition exit tie point (orange/true and white with flash/false) and drag a line to the corresponding entry tie point (green) on the succeeding elements.

modeling-the-process-2017-10-25-7

Here, both paths have been connected to the succeeding elements.

modeling-the-process-2017-10-25-6

Now double-click each element and name them accordingly:

modeling-the-process-2017-10-25-5


Workflow variables are used to store calculation results or decisions temporarily.
Click Edit Workflow Variables in the top ribbon menu Main.

modeling-the-process-2017-10-25-10

Add three fields by clicking the Add field button.

Field name – Field type

  • Distance – Text
  • Time – Text
  • Decision – Boolean

Name them and change the type of the field Decision from text to Boolean.

modeling-the-process-2017-10-25-11

Click OK to close.

In the top ribbon menu Main, click Save.

modeling-the-process-2017-10-25-12

Select a scope from the navigation, give the process model a name and click Save.

modeling-the-process-2017-10-25-13-1