bcgov / digital-journeys

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

Cold/Flu: Workflow setup (Edit in submission state) #1024

Closed bhumin-fw closed 1 year ago

bhumin-fw commented 1 year ago

When the form submit, It should have workflow that attach some actions.

On Form submit:

On Form resubmit:

Note: This ticket only build to setup workflow. Add/update data is part of other ticket #1007 and #1000

Acceptance Criteria:

EduardoRamirezBC commented 1 year ago

Needs estimate

EduardoRamirezBC commented 1 year ago

Stella / Caleb will provide feedback to Bhumin.

ca-liu commented 1 year ago

Hi @bhumin-fw ,

Thank you for summarizing the workflow. Please see comments below in red bullet;:

On Form submit (NEW form):

On Form resubmit (EDIT form):

Acceptance Criteria:

MeghanStothers commented 1 year ago

@bhumin-fw Hi Bhumin - can you give an update on this ticket?

bhumin-fw commented 1 year ago

Workflow with name "Influenza Worksite Registration" has been setup on DEV. Right now ODS APIs attached to this workflow fails with 500 error, Due to that it's not been attached it with "2023 influenza worksite registration" form.

bhumin-fw commented 1 year ago

@chriscaldwell-psa Please do let me know if you have any query on workflow. You can test data with Mike Shi on PSA side to review data inserted successfully or not.

chriscaldwell-psa commented 1 year ago

@bhumin-fw Thanks Bhumin, I was away on holidays all last week (catching up now) and will connect with you tomorrow when you return re this. Chris

EduardoRamirezBC commented 1 year ago

Iman / Bhumin will review this ticket . (In progress?)

MeghanStothers commented 1 year ago

@iman-jamali-fw @bhumin-fw Is this a ticket Iman could pick up? Any blockers on this work?

bhumin-fw commented 1 year ago

@MeghanStothers Workflow has been setup. I'll work on this today afternoon. Let me move it back to in-progress for better visibility. I'll work on change workflow based on new update on #1000.

chriscaldwell-psa commented 1 year ago

Tested the data today and it was successful. I did not encounter and any error messages this time.

Stella-Archer commented 1 year ago

@chriscaldwell-psa How would I test this is it just noting that my test submissions end up on Dons reports?

bhumin-fw commented 1 year ago

@Stella-Archer Your submission will ended up in Don's report. We are pushing data to dataware house only. To check is your data submitted successfully in dataware house. please follow below steps.

click on new form,

  1. if you have submitted registration in an existing worksite. select the ministry that you have selected for your previous registration. and the worksite. you will see your contact appear in table with ministry name, primary contact name, type of clinic and number of employee.

  2. If you have created worksite and registration both. Select ministry, you will see your worksite details in next dropdown (worksite dropdown). if you click on that worksite you can see your registration detail in the table below.

Or you can check with Don or Mike :)

Stella-Archer commented 1 year ago

Yes that worked great thanks @bhumin-fw ! PO approved and Closing ticket