A guide on how to add the Workflow behaviour to your application, focusing on the steps which need to be completed on the Platform.
Since the Workflow behaviour has no user-facing functionality (except for an additional field when editing the entity), there will be no need to work within the User Interface or Security diagrams. Instead, all of the work lies within the Entity diagram.
This process is very simple, as a majority of the workflow configuration is done in your target application’s administration section. On the platform, there are only three steps:
- Choose the entity which you want the workflow to be associated with, and make sure it is selected.
- With the entity selected, click ‘Behaviour’ in the ‘Add items’ panel above the entity, and select ‘Workflow’.
- If done correctly, you will now see the behaviour listed in the entity.
- When you are ready, go ahead and click on the ‘Build application’ button.
That is all there is to it! From this point on, the workflow is configured inside the app itself.
If you want to apply the workflow against multiple entities, you need only add the behaviour to those entities as well, and they will become available for you to select in your app’s backend.
Last updated: 16 September 2020