pucardotorg / dristi

MIT License
2 stars 12 forks source link

Case Workflow for digital divide #2015

Open atulgupta2024 opened 1 month ago

atulgupta2024 commented 1 month ago

A case workflow has the following primary stages

  1. Fill data (draft)
  2. Ready for submission
  3. E-sign or Physical Sign
  4. Payment
  5. Submit
  6. Scrutiny
  7. Judge Review
  8. Register
  9. Admit/Reject

The case can be sent back for editing from Stage 6 or 7. During resubmission, no payment is required. This can be handled in various ways

  1. Conditional workflow - currently not supported in DIGIT Workflow service. will take time to make relevant code changes to support this feature. this is not possible in the current time planning
  2. Handle payment logic via code, where on payment, code will validate if payment is already done and if yes, will move workflow to next stage. this requires a 0 payment to be made and recorded, which is not really aligned with the flow expectations
  3. Break the workflow into 2 workflows. One that takes it on a happy path of forward flow and second that can be invoked in case of resubmit
  4. Add additional stages to the workflow to handle the resubmission as different set of stages and actions which do not have payment as a stage in between

It has been currently decided to go ahead with option 4. The modified Case workflow file is attached

case-workflowConfig.json

@suresh12 @subhashini-egov @Taherabharmal

suresh12 commented 1 month ago

Option 4 looks fine for now. Can we also add an issue in backlog for Option 2. It is always good to add this check before proceeding with payment.

bhuvanyuguru commented 1 month ago

Hi @Ramu-kandimalla @radheshjoshi1 This workflow is not present in QA right now.

bhuvanyuguru commented 3 weeks ago

All scenarios working as expected in QA @Ramu-kandimalla, @rajeshcherukumalli

bhuvanyuguru commented 3 weeks ago

All scenarios working as expected in UAT @Ramu-kandimalla, @rajeshcherukumalli