bcgov / digital-journeys

PSA Forms System
https://bcgov.github.io/digital-journeys/
Apache License 2.0
8 stars 7 forks source link

TOOL: DMN workflow simplification #1213

Closed Stella-Archer closed 1 year ago

Stella-Archer commented 1 year ago

User Story As a developer, I want to a way to simplify super complex BPMN diagrams ;like telework or Mat/Pat so that they will be much easier and efficient to main tian in the future

Camunda workflows offer two interesting features that can help improve our forms: DMN and custom forms.

DMN simplifies workflow and automation. For instance, a Telework workflow with many branches for various conditions can be challenging to maintain. Replacing some of these branches/conditions with DMN can enhance the workflow and make it more understandable and maintainable. Even more complex workflows like Mat/Pat can benefit from DMN.

Custom forms in a workflow also make it easier for reviewers to view only the relevant fields. This eliminates the need for a giant form like Mat/Pat, where reviewers would have to scroll or page to the section they want to review and sign.

templating reusable pieces of forms

AOT can help us in understanding DMN and how to apply it to particular forms simplify work flows

Tasks

Acceptance Criteria Understanding of DMN and Integration into new development

Andrew-Vargas-bcgov commented 1 year ago

@ayushdamani Ready to test: Create a telework on the Test environment. Approve/deny the request and check the e-mails are being sent with the different conditions (occasional, 3 or less, more than 3, approved, denied).

ayushdamani commented 1 year ago

Tested and confirmed working - received emails for all the different conditions.

Thank you for the instructions @Andrew-Vargas-bcgov

Stella-Archer commented 1 year ago

This works, has ben tested Andrew will build tix new workflows built. Amazing Job PO approved & Closing tix