Skip to main content

Task 3: Workflows with signals

Signals are triggers that listen to an action that happens in the client. For example: if you add a new data set for a person, a signal could trigger a Workflow. This can be archieved by adding these signals to your Workflow.

Step 1: Creating the Workflow

Create a new Workflow through the ADITO client like in the first task. Name it as you like.

Step 2: Adding a Signal

Click anywhere in the canvas, where no task or so is selected. You can see the properties of the Workflow. Go to "Signal definitions" and open the dialog via clicking on it. Now add a Signal with the "+"-Symbol and enter a name. The ID will be shown in the client.

Step 3: Adding a new Start Event

Delete the standard Start Event, because this only allows us to start the Workflow with clicking on "Start Workflow" in the ADITO client. Open the folder for "Start Events" on the left side und drag a "Start signal event" in your canvas.

Step 4: Connect a Task

For a quick example we want an User Task to be displayed when this workflow gets triggered. So insert an User Task in your canvas and set the Sequence Flow from the Signal Start Event to the task.

Now you can just end this Workflow by adding a normal End Event and connect the Sequence Flow towards it.

Step 5: Deploy and configure the Workflow

Deploy this Workflow and switch back to the ADITO client and open the Workflow. Now open tab "Signal" and add a new data set. A preview will open and you can select the defined Signal. The trigger ("Auslöser") is the setting, when the Workflow will be executed. The Context is the context where the trigger must be triggered.

Step 6: Test

After you filled your fields, simply press safe and try it out.