Interactive workflows (examples)

Example 1 (Sleeping states)


Our first example is very simple. The point is to show how this kind of state behaves.

When this workflow is started, the job gets stuck in the start state because no automatic transition check is set there.

Select the created job and choose entry Find and execute next transition automatically in the context menu. The workflow job then changes to the next state.

If you repeat this step, the workflow job ends up in the end state and terminates.

So you have to externally step through the transitions from state to state. You can find another example of this in section Profiles as Workflow Master.


Import: (instructions)

Workflow_WF_interactive_1.obj


images/download/attachments/137309025/WF_interactive_1-version-1-modificationdate-1688706582523-api-v2.png

Example 2 (Forms without input)


Now we put a form into each state of the first example.

When this workflow is started, it initially remains in the start state.

Select the created job and choose option Fill form in the context menu.

The form only displays a text. Click Apply. The next form is opened immediately. Click Apply again. After that, the workflow job ends.


Import: (follow the instructions!)

Workflow_WF_interactive_2.obj


images/download/attachments/137309025/WF_interactive_2-version-1-modificationdate-1688706582520-api-v2.png

Example 3 (Forms with input)


This example is like example 2, but we now allow the selection of a number (stored in a workflow variable) in each of the forms. In the transitions afterwards, we then check if the number is greater than 0.5.

When this workflow is started, it initially remains in the start state.

Select the created job and choose option Fill form in the context menu.

Select a number and click Apply.

If you have selected a number greater than 0.5 in the first form, the next form opens. If it was smaller, the form closes and you have to open it again. After you have selected a number greater than 0.5 in both forms, the workflow job ends.


Import: (follow the instructions!)

Workflow_WF_interactive_3.obj


images/download/attachments/137309025/WF_interactive_3-version-1-modificationdate-1688706582518-api-v2.png

Work dispatching

We would like to explicitly discuss the authorised users of forms again here.

Even if it is a bit silly here (only to show the principle), you can give the two forms different authorised users.

The effect, especially in the DataCockpit add-on module, is that the respective users are then assigned only this one work step and do not see or know anything about the other work steps. So you can already define the work distribution of the individual steps of the overall work process in the design of your workflow. Your integrated and automated dispatcher.