Workflow builder creation interconnected with page status feature

Description

Add a GUI that allows users to create and manage custom workflows within the app.

These workflows should be integrated with the new page status feature, enabling automatic status transitions when approvals are finalized.

The workflow will be stored as JSON. Users should be able to create it either through the UI or by directly editing the JSON.

At this stage, we will only support the basic workflow, which includes the statuses “In Review,” “Approval,” and “Rejected.”

https://warsawdynamics.com/posts/build-a-smarter-workflow-with-approval-path-for-confluence/

The status names are represented by the Confluence page status, which is set by the automation step.

The above diagram will generate a definition that includes:

  • an automation step setting the status to In Review,

  • a success step setting the status to Approved,

  • a rejection step setting the status to Rejected.

Step names can be freely customized in the workflow, which will result in different status names being used on the definition form.

Within the workflow, apart from changing status names, it will also be possible to remove Edited transitions — these represent automatic re-approval after the page content is updated. If such a transition is removed for a given status, it will not be marked in the select box on the definition.


Accepted criteria

  • Users can create custom workflows within the app.

  • Workflows are interconnected with the page status feature.

  • Status transitions are triggered automatically upon finalizing approvals.

  • Approval completion seamlessly updates the associated page status.

  • A graphical user interface (GUI) is available for creating and managing workflows.

js libraries

https://reactflow.dev/

https://reaflow.dev/?path=/docs/docs-introduction--docs

https://flume.dev/