Skip to content

Migrate DMNs to API-first calls via event handlers#2467

Draft
ed14537 wants to merge 34 commits intomasterfrom
task_mgmt_api
Draft

Migrate DMNs to API-first calls via event handlers#2467
ed14537 wants to merge 34 commits intomasterfrom
task_mgmt_api

Conversation

@ed14537
Copy link
Contributor

@ed14537 ed14537 commented Feb 20, 2026

Change description

Enter a description.

JIRA link

https://tools.hmcts.net/jira/browse/DTSSTCI-

Before merging a pull request make sure that:

  • tests have been updated / new tests has been added (if needed)
  • README and other documentation has been updated / added (if needed)
  • enable-e2e-tests label can be used to run the e2e tests before QA handover and before release (required)

If this ticket will have any visible impact on users and is not behind a feature toggle, make sure that:

  • this ticket has been reviewed by QA
  • the user story has been signed off by the PO

Note that bug fixes, dependency updates and technical tasks do not directly impact the user experience and can be merged without QA and PO review.

If this user story cannot be immediately merged find a way to put it behind a feature toggle and get it merged.

@ed14537 ed14537 added pr-values:wa Enable WA on preview enable_keep_helm labels Feb 20, 2026
@github-actions

This comment was marked as off-topic.

@github-actions

This comment was marked as off-topic.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

}

private void assertNoTaskOutboxAction(long caseId, String action) {
await().atMost(Duration.ofSeconds(20)).untilAsserted(() -> {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this await() approach correct here? The task outbox would have been empty at the start of the test, so if the adding of tasks to the DB is async then the assertion might be run before any (unexpected) task is added and pass the condition immediately. I suspect that for that scenario it would be better to have a sleep for N seconds before running the assertion, without using await()

Having said that, aren't the case creation and update events synchronous calls, and the addition of tasks to the outbox also synchronous?

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

# Conflicts:
#	src/main/java/uk/gov/hmcts/sptribs/caseworker/event/CaseworkerCreateAndSendOrder.java
#	src/main/java/uk/gov/hmcts/sptribs/caseworker/event/CaseworkerSendOrder.java
#	src/test/java/uk/gov/hmcts/sptribs/caseworker/event/CaseWorkerManageOrderDueDatesTest.java
#	src/test/java/uk/gov/hmcts/sptribs/caseworker/event/CaseworkerCreateAndSendOrderTest.java
#	src/test/java/uk/gov/hmcts/sptribs/caseworker/event/CaseworkerSendOrderTest.java
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@hmcts-jenkins-j-to-z hmcts-jenkins-j-to-z bot requested a deployment to preview March 13, 2026 08:12 Abandoned
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions
Copy link

CCD diff summary

👉 Full report: https://github.com/hmcts/sptribs-case-api/actions/runs/23044740169?check_suite_focus=true

CaseEvent/system-trigger-stitch-collate-hearing-bundle.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLAboutToSubmitEvent

N

N

-Y 
+N

AwaitingHearing

AwaitingHearing

Trigger stitch hearing bundle

system-trigger-stitch-collate-hearing-bundle

Save and continue

Trigger stitch hearing bundle

http://localhost:4013/callbacks/about-to-submit?eventId=system-trigger-stitch-collate-hearing-bundle

CaseEvent/system-trigger-complete-hearing-outcome.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLAboutToSubmitEvent

N

N

-Y 
+N

AwaitingHearing

AwaitingHearing

Trigger hearing outcome

system-trigger-complete-hearing-outcome

Save and continue

Trigger hearing outcome

http://localhost:4013/callbacks/about-to-submit?eventId=system-trigger-complete-hearing-outcome

CaseEvent/respondent-document-management.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEvent

Y

N

-Y 
+N

AwaitingHearing;AwaitingOutcome;CaseClosed;CaseManagement;CaseStayed;NewCaseReceived;ReadyToList;Rejected;Submitted;Withdrawn

Document management: Upload

respondent-document-management

Save and continue

Document management: Upload

http://localhost:4013/callbacks/submitted?eventId=respondent-document-management

http://localhost:4013/callbacks/about-to-submit?eventId=respondent-document-management

CaseEvent/refer-to-legal-officer.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

Y

-Y 
+N

AwaitingHearing;AwaitingOutcome;CaseClosed;CaseManagement;CaseStayed;ReadyToList

Refer case to legal officer

refer-to-legal-officer

Save and continue

Refer case to legal officer

http://localhost:4013/callbacks/submitted?eventId=refer-to-legal-officer

http://localhost:4013/callbacks/about-to-submit?eventId=refer-to-legal-officer

http://localhost:4013/callbacks/about-to-start?eventId=refer-to-legal-officer

CaseEvent/refer-to-judge.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

Y

-Y 
+N

AwaitingHearing;AwaitingOutcome;CaseClosed;CaseManagement;CaseStayed;ReadyToList

Refer case to judge

refer-to-judge

Save and continue

Refer case to judge

http://localhost:4013/callbacks/submitted?eventId=refer-to-judge

http://localhost:4013/callbacks/about-to-submit?eventId=refer-to-judge

http://localhost:4013/callbacks/about-to-start?eventId=refer-to-judge

CaseEvent/edit-case.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEvent

Y

N

-Y 
+N

AwaitingHearing;AwaitingOutcome;CaseManagement;DSS_Submitted;ReadyToList;Submitted

Case: Edit case

edit-case

Save and continue

Case: Edit case

http://localhost:4013/callbacks/submitted?eventId=edit-case

http://localhost:4013/callbacks/about-to-submit?eventId=edit-case

CaseEvent/createBundle.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLAboutToSubmitEvent

Y

N

-Y 
+N

AwaitingHearing;CaseClosed;CaseManagement;ReadyToList

Bundle: Create a bundle

createBundle

Save and continue

Bundle: Create a bundle

http://localhost:4013/callbacks/about-to-submit?eventId=createBundle

CaseEvent/create-hearing-summary.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingHearing

AwaitingHearing

Hearings: Create summary

create-hearing-summary

Save and continue

Hearings: Create summary

http://localhost:4013/callbacks/submitted?eventId=create-hearing-summary

http://localhost:4013/callbacks/about-to-submit?eventId=create-hearing-summary

http://localhost:4013/callbacks/about-to-start?eventId=create-hearing-summary

CaseEvent/create-draft-order.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEvent

Y

N

-Y 
+N

AwaitingHearing;CaseClosed;CaseManagement;CaseStayed;ReadyToList

Orders: Create draft

create-draft-order

Save and continue

Orders: Create draft

http://localhost:4013/callbacks/submitted?eventId=create-draft-order

http://localhost:4013/callbacks/about-to-submit?eventId=create-draft-order

CaseEvent/create-and-send-order.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingHearing;CaseClosed;CaseManagement;CaseStayed;ReadyToList

Orders: Create and send order

create-and-send-order

Save and continue

Orders: Create and send order

http://localhost:4013/callbacks/submitted?eventId=create-and-send-order

http://localhost:4013/callbacks/about-to-submit?eventId=create-and-send-order

http://localhost:4013/callbacks/about-to-start?eventId=create-and-send-order

CaseEvent/contact-parties.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingHearing;AwaitingOutcome;CaseClosed;CaseManagement;CaseStayed;Draft;NewCaseReceived;ReadyToList;Rejected;Submitted;Withdrawn

Case: Contact parties

contact-parties

Save and continue

Case: Contact parties

http://localhost:4013/callbacks/submitted?eventId=contact-parties

http://localhost:4013/callbacks/about-to-start?eventId=contact-parties

CaseEvent/citizen-cic-submit-dss-application.json

ShowSummaryShowEventNotesRetriesTimeoutURLSubmittedEventRetriesTimeoutURLAboutToSubmitEventPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEvent

N

N

120,120

120,120

-Y 
+N

DSS_Draft

DSS_Submitted

Submit case (cic)

citizen-cic-submit-dss-application

Save and continue

Application submit (cic)

http://localhost:4013/callbacks/submitted?eventId=citizen-cic-submit-dss-application

http://localhost:4013/callbacks/about-to-submit?eventId=citizen-cic-submit-dss-application

CaseEvent/citizen-cic-dss-update-case.json

ShowSummaryShowEventNotesRetriesTimeoutURLSubmittedEventRetriesTimeoutURLAboutToSubmitEventPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEvent

N

N

120,120

120,120

-Y 
+N

AwaitingHearing;AwaitingOutcome;CaseClosed;CaseManagement;CaseStayed;Completed;Concession;ConsentOrder;DSS_Submitted;DeathOfAppellant;NewCaseReceived;ReadyToList;Rejected;Rule27;Sent;StrikeOut;Submitted;Withdrawn

DSS Update Case Submission

citizen-cic-dss-update-case

Save and continue

DSS Update Case Submission

http://localhost:4013/callbacks/submitted?eventId=citizen-cic-dss-update-case

http://localhost:4013/callbacks/about-to-submit?eventId=citizen-cic-dss-update-case

CaseEvent/caseworker-update-anonymity.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLAboutToSubmitEvent

Y

N

-Y 
+N

Update Anonymity

caseworker-update-anonymity

Save and continue

Update Anonymity

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-update-anonymity

CaseEvent/caseworker-send-order.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingHearing;CaseClosed;CaseManagement;CaseStayed;ReadyToList

Orders: Send order

caseworker-send-order

Save and continue

Orders: Send order

http://localhost:4013/callbacks/submitted?eventId=caseworker-send-order

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-send-order

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-send-order

CaseEvent/caseworker-record-listing.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingOutcome;CaseManagement;ReadyToList

Hearings: Create listing

caseworker-record-listing

Save and continue

Hearings: Create listing

http://localhost:4013/callbacks/submitted?eventId=caseworker-record-listing

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-record-listing

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-record-listing

CaseEvent/caseworker-postpone-hearing.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingHearing

AwaitingHearing

Hearings: Postpone hearing

caseworker-postpone-hearing

Save and continue

Hearings: Postpone hearing

http://localhost:4013/callbacks/submitted?eventId=caseworker-postpone-hearing

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-postpone-hearing

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-postpone-hearing

CaseEvent/caseworker-issue-final-decision.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingOutcome

AwaitingOutcome

Decision: Issue final decision

caseworker-issue-final-decision

Save and continue

Decision: Issue final decision

http://localhost:4013/callbacks/submitted?eventId=caseworker-issue-final-decision

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-issue-final-decision

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-issue-final-decision

CaseEvent/caseworker-issue-decision.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingOutcome

AwaitingOutcome

Decision: Issue a decision

caseworker-issue-decision

Save and continue

Decision: Issue a decision

http://localhost:4013/callbacks/submitted?eventId=caseworker-issue-decision

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-issue-decision

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-issue-decision

CaseEvent/caseworker-issue-case.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

CaseManagement

CaseManagement

Case: Issue to respondent

caseworker-issue-case

Save and continue

Case: Issue to respondent

http://localhost:4013/callbacks/submitted?eventId=caseworker-issue-case

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-issue-case

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-issue-case

CaseEvent/caseworker-edit-record-listing.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingHearing

AwaitingHearing

Hearings: Edit listing

caseworker-edit-record-listing

Save and continue

Hearings: Edit listing

http://localhost:4013/callbacks/submitted?eventId=caseworker-edit-record-listing

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-edit-record-listing

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-edit-record-listing

CaseEvent/caseworker-edit-draft-order.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEvent

Y

N

-Y 
+N

AwaitingHearing;CaseClosed;CaseManagement;CaseStayed;ReadyToList

Orders: Edit draft

caseworker-edit-draft-order

Save and continue

Orders: Edit draft

http://localhost:4013/callbacks/submitted?eventId=caseworker-edit-draft-order

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-edit-draft-order

CaseEvent/caseworker-document-management.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEvent

Y

N

-Y 
+N

AwaitingHearing;AwaitingOutcome;CaseClosed;CaseManagement;CaseStayed;NewCaseReceived;ReadyToList;Rejected;Submitted;Withdrawn

Document management: Upload

caseworker-document-management

Save and continue

Document management: Upload

http://localhost:4013/callbacks/submitted?eventId=caseworker-document-management

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-document-management

CaseEvent/caseworker-close-the-case.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

CaseManagement;ReadyToList

Case: Close case

caseworker-close-the-case

Save and continue

Close the case

http://localhost:4013/callbacks/submitted?eventId=caseworker-close-the-case

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-close-the-case

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-close-the-case

CaseEvent/caseworker-case-built.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEvent

N

N

-Y 
+N

Submitted

CaseManagement

Case: Build case

caseworker-case-built

Save and continue

Case: Build case

http://localhost:4013/callbacks/submitted?eventId=caseworker-case-built

CaseEvent/caseworker-cancel-hearing.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingHearing

AwaitingHearing

Hearings: Cancel hearing

caseworker-cancel-hearing

Save and continue

Hearings: Cancel hearing

http://localhost:4013/callbacks/submitted?eventId=caseworker-cancel-hearing

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-cancel-hearing

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-cancel-hearing

CaseEvent/caseworker-amend-due-date.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingHearing;CaseClosed;CaseManagement;CaseStayed;ReadyToList

Orders: Manage due date

caseworker-amend-due-date

Save and continue

Orders: Manage due date

http://localhost:4013/callbacks/submitted?eventId=caseworker-amend-due-date

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-amend-due-date

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-amend-due-date

CaseEvent/caseworker-amend-document.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLSubmittedEventCallBackURLAboutToSubmitEventCallBackURLAboutToStartEvent

Y

N

-Y 
+N

AwaitingHearing;AwaitingOutcome;CaseClosed;CaseManagement;CaseStayed;NewCaseReceived;ReadyToList;Rejected;Submitted;Withdrawn

Document management: Amend

caseworker-amend-document

Save and continue

Document management: Amend

http://localhost:4013/callbacks/submitted?eventId=caseworker-amend-document

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-amend-document

http://localhost:4013/callbacks/about-to-start?eventId=caseworker-amend-document

CaseEvent/caseworker-add-note.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEndButtonLabelDescriptionCallBackURLAboutToSubmitEvent

N

N

-Y 
+N

Case: Add note

caseworker-add-note

Save and continue

Case: Add note

http://localhost:4013/callbacks/about-to-submit?eventId=caseworker-add-note

CaseEventToFields/respondent-document-management.json

ShowSummaryChangeOptionFieldShowConditionPublishPageLabelPageIDPageFieldDisplayOrderPageDisplayOrderPageColumnNumberDisplayContextCaseFieldIDCaseEventIDCallBackURLMidEvent
-Y 
+

Upload case documents

uploadCaseDocuments

1

1

1

READONLY

LabelUploadCaseDocuments

respondent-document-management

http://localhost:4013/callbacks/mid-event?page=uploadCaseDocuments&eventId=respondent-document-management

Y

newCaseworkerCICDocumentUpload="NEVER_SHOW"

-Y 
+

Upload case documents

uploadCaseDocuments

5

1

1

READONLY

allCaseworkerCICDocumentUpload

respondent-document-management

Y

-Y 
+

Upload case documents

uploadCaseDocuments

4

1

1

MANDATORY

newCaseworkerCICDocumentUpload

respondent-document-management

-Y 
+

Upload case documents

uploadCaseDocuments

3

1

1

READONLY

uploadCaseDocumentConditions

respondent-document-management

-Y 
+

Upload case documents

uploadCaseDocuments

2

1

1

READONLY

uploadCaseDocumentLabel

respondent-document-management

CaseEventToFields/refer-to-legal-officer.json

CallBackURLMidEventShowSummaryChangeOptionPublishPageLabelPageIDPageFieldDisplayOrderPageDisplayOrderPageColumnNumberFieldShowConditionDisplayContextCaseFieldIDCaseEventID

Y

-Y 
+

Additional information

referToLegalOfficerAdditionalInfo

2

2

1

referToLegalOfficerAdditionalInformation="NEVER_SHOW"

READONLY

cicCaseReferralTypeForWA

refer-to-legal-officer

Y

-Y 
+

Additional information

referToLegalOfficerAdditionalInfo

1

2

1

OPTIONAL

referToLegalOfficerAdditionalInformation

refer-to-legal-officer

Y

-Y 
+

Referral reasons

referToLegalOfficer

2

1

1

referToLegalOfficerReferralReason = "other"

MANDATORY

referToLegalOfficerReasonForReferral

refer-to-legal-officer

http://localhost:4013/callbacks/mid-event?page=referToLegalOfficer&eventId=refer-to-legal-officer

Y

-Y 
+

Referral reasons

referToLegalOfficer

1

1

1

MANDATORY

referToLegalOfficerReferralReason

refer-to-legal-officer

CaseEventToFields/refer-to-judge.json

CallBackURLMidEventShowSummaryChangeOptionPublishPageLabelPageIDPageFieldDisplayOrderPageDisplayOrderPageColumnNumberFieldShowConditionDisplayContextCaseFieldIDCaseEventID

Y

-Y 
+

Additional information

referToJudgeAdditionalInfo

2

2

1

referToJudgeAdditionalInformation="NEVER_SHOW"

READONLY

cicCaseReferralTypeForWA

refer-to-judge

Y

-Y 
+

Additional information

referToJudgeAdditionalInfo

1

2

1

OPTIONAL

referToJudgeAdditionalInformation

refer-to-judge

Y

-Y 
+

Referral reasons

referToJudgeReason

2

1

1

referToJudgeReferralReason = "other"

MANDATORY

referToJudgeReasonForReferral

refer-to-judge

http://localhost:4013/callbacks/mid-event?page=referToJudgeReason&eventId=refer-to-judge

Y

-Y 
+

Referral reasons

referToJudgeReason

1

1

1

MANDATORY

referToJudgeReferralReason

refer-to-judge

CaseEventToFields/edit-case.json

CaseEventFieldLabelCaseEventFieldHintFieldShowConditionShowSummaryChangeOptionPageShowConditionCallBackURLMidEventPublishPageLabelPageIDPageFieldDisplayOrderPageDisplayOrderPageColumnNumberDisplayContextCaseFieldIDCaseEventID
-Y 
+

Enter further details about this case

furtherDetailsObject

1

10

1

READONLY

LabelFurtherDetails

edit-case

http://localhost:4013/callbacks/mid-event?page=objectContacts&eventId=edit-case

-Y 
+

Who should receive information about the case?

objectContacts

1

9

1

READONLY

LabelObjectContacts

edit-case

http://localhost:4013/callbacks/mid-event?page=objectSubjects&eventId=edit-case

-Y 
+

Who are the parties in this case?

objectSubjects

1

5

1

READONLY

LabelObjectSubjects

edit-case

cicCasePartiesCICCONTAINS "RepresentativeCIC"

http://localhost:4013/callbacks/mid-event?page=representativeDetailsObjects&eventId=edit-case

-Y 
+

Who is the Representative for this case?

representativeDetailsObjects

1

8

1

READONLY

LabelRepresentative

edit-case

http://localhost:4013/callbacks/mid-event?page=subjectDetailsObject&eventId=edit-case

-Y 
+

Who is the subject of this case?

subjectDetailsObject

1

6

1

READONLY

LabelSubject

edit-case

cicCasePartiesCICCONTAINS "ApplicantCIC"

http://localhost:4013/callbacks/mid-event?page=applicantDetailsObjects&eventId=edit-case

-Y 
+

Who is the applicant in this case?

applicantDetailsObjects

1

7

1

READONLY

applicantDetailsLabel

edit-case

Y

-Y 
+

Who is the subject of this case?

subjectDetailsObject

5

6

1

MANDATORY

cicCaseAddress

edit-case

cicCaseApplicantContactDetailsPreference = "Post"

Y

-Y 
+

Who is the applicant in this case?

applicantDetailsObjects

6

7

1

MANDATORY

cicCaseApplicantAddress

edit-case

${cicCaseApplicantFullName}

cicCasePartiesCICCONTAINS "ApplicantCIC"

Y

-Y 
+

Who should receive information about the case?

objectContacts

3

9

1

OPTIONAL

cicCaseApplicantCIC

edit-case

Y

-Y 
+

Who is the applicant in this case?

applicantDetailsObjects

5

7

1

MANDATORY

cicCaseApplicantContactDetailsPreference

edit-case

Y

-Y 
+

Who is the applicant in this case?

applicantDetailsObjects

4

7

1

OPTIONAL

cicCaseApplicantDateOfBirth

edit-case

cicCaseApplicantContactDetailsPreference = "Email"

Y

-Y 
+

Who is the applicant in this case?

applicantDetailsObjects

7

7

1

MANDATORY

cicCaseApplicantEmailAddress

edit-case

Y

-Y 
+

Who is the applicant in this case?

applicantDetailsObjects

2

7

1

MANDATORY

cicCaseApplicantFullName

edit-case

Y

-Y 
+

Who is the applicant in this case?

applicantDetailsObjects

3

7

1

MANDATORY

cicCaseApplicantPhoneNumber

edit-case

Case category

Y

-Y 
+

Case categorisation

caseCategorisationDetails

1

1

1

MANDATORY

cicCaseCaseCategory

edit-case

Date of receipt

Y

-Y 
+

When was the case received?

dateObjects

1

4

1

MANDATORY

cicCaseCaseReceivedDate

edit-case

Case sub-category

Y

-Y 
+

Case categorisation

caseCategorisationDetails

2

1

1

MANDATORY

cicCaseCaseSubcategory

edit-case

cicCaseClaimLinkedToCic = "Yes"

Y

-Y 
+

Enter further details about this case

furtherDetailsObject

5

10

1

MANDATORY

cicCaseCicaReferenceNumber

edit-case

Y

-Y 
+

Enter further details about this case

furtherDetailsObject

4

10

1

MANDATORY

cicCaseClaimLinkedToCic

edit-case

Y

-Y 
+

Enter further details about this case

furtherDetailsObject

6

10

1

MANDATORY

cicCaseCompensationClaimLinkCIC

edit-case

Y

-Y 
+

Who is the subject of this case?

subjectDetailsObject

6

6

1

MANDATORY

cicCaseContactPreferenceType

edit-case

Y

-Y 
+

Who is the subject of this case?

subjectDetailsObject

4

6

1

MANDATORY

cicCaseDateOfBirth

edit-case

cicCaseContactPreferenceType = "Email"

Y

-Y 
+

Who is the subject of this case?

subjectDetailsObject

7

6

1

MANDATORY

cicCaseEmail

edit-case

Y

-Y 
+

Enter further details about this case

furtherDetailsObject

7

10

1

MANDATORY

cicCaseFormReceivedInTime

edit-case

Y

-Y 
+

Who is the subject of this case?

subjectDetailsObject

2

6

1

MANDATORY

cicCaseFullName

edit-case

Y

-Y 
+

Date of CICA initial review decision letter

initialDecisionDateObjects

1

3

1

MANDATORY

cicCaseInitialCicaDecisionDate

edit-case

Y

-Y 
+

Who is the Representative for this case?

representativeDetailsObjects

6

8

1

MANDATORY

cicCaseIsRepresentativeQualified

edit-case

cicCaseFormReceivedInTime = "No"

Y

-Y 
+

Enter further details about this case

furtherDetailsObject

8

10

1

MANDATORY

cicCaseMissedTheDeadLineCic

edit-case

Y

-Y 
+

Who are the parties in this case?

objectSubjects

2

5

1

MANDATORY

cicCasePartiesCIC

edit-case

Y

-Y 
+

Who is the subject of this case?

subjectDetailsObject

3

6

1

OPTIONAL

cicCasePhoneNumber

edit-case

Y

-Y 
+

Enter further details about this case

furtherDetailsObject

3

10

1

MANDATORY

cicCaseRegionCIC

edit-case

cicCaseRepresentativeContactDetailsPreference = "Post"

Y

-Y 
+

Who is the Representative for this case?

representativeDetailsObjects

9

8

1

MANDATORY

cicCaseRepresentativeAddress

edit-case

${cicCaseRepresentativeFullName}

cicCasePartiesCICCONTAINS "RepresentativeCIC"

Y

-Y 
+

Who should receive information about the case?

objectContacts

4

9

1

OPTIONAL

cicCaseRepresentativeCIC

edit-case

Y

-Y 
+

Who is the Representative for this case?

representativeDetailsObjects

7

8

1

MANDATORY

cicCaseRepresentativeContactDetailsPreference

edit-case

cicCaseRepresentativeContactDetailsPreference = "Email"

Y

-Y 
+

Who is the Representative for this case?

representativeDetailsObjects

8

8

1

MANDATORY

cicCaseRepresentativeEmailAddress

edit-case

Y

-Y 
+

Who is the Representative for this case?

representativeDetailsObjects

2

8

1

MANDATORY

cicCaseRepresentativeFullName

edit-case

Y

-Y 
+

Who is the Representative for this case?

representativeDetailsObjects

3

8

1

OPTIONAL

cicCaseRepresentativeOrgName

edit-case

Y

-Y 
+

Who is the Representative for this case?

representativeDetailsObjects

4

8

1

MANDATORY

cicCaseRepresentativePhoneNumber

edit-case

Y

-Y 
+

Who is the Representative for this case?

representativeDetailsObjects

5

8

1

OPTIONAL

cicCaseRepresentativeReference

edit-case

Scheme

Y

-Y 
+

Enter further details about this case

furtherDetailsObject

2

10

1

MANDATORY

cicCaseSchemeCic

edit-case

${cicCaseFullName}

cicCasePartiesCICCONTAINS "SubjectCIC"

Y

-Y 
+

Who should receive information about the case?

objectContacts

2

9

1

OPTIONAL

cicCaseSubjectCIC

edit-case

CaseEventToFields/create-hearing-summary.json

CaseEventFieldLabelShowSummaryChangeOptionFieldShowConditionCallBackURLMidEventPublishPageShowConditionPageLabelPageIDPageFieldDisplayOrderPageDisplayOrderPageColumnNumberDisplayContextCaseFieldIDCaseEventID
-Y 
+

currentEvent != "edit-hearing-summary" OR hearingSummaryExists = "YES"

Hearing attendees

hearingAttendees

1

4

1

READONLY

LabelHearingAttendees

create-hearing-summary

-Y 
+

currentEvent != "edit-hearing-summary" OR hearingSummaryExists = "YES"

Hearing attendees

hearingAttendeesRole

1

5

1

READONLY

LabelHearingAttendeesRole

create-hearing-summary

-Y 
+

currentEvent != "edit-hearing-summary" OR hearingSummaryExists = "YES"

Hearing outcome

hearingOutcome

1

6

1

READONLY

LabelHearingOutcome

create-hearing-summary

http://localhost:4013/callbacks/mid-event?page=hearingRecordingUploadPage&eventId=create-hearing-summary

-Y 
+

Upload hearing recording

hearingRecordingUploadPage

1

7

1

READONLY

LabelHearingRecordingUploadPage

create-hearing-summary

-Y 
+

Hearing type and format

HearingTypeAndFormat

1

2

1

READONLY

LabelHearingTypeAndFormat

create-hearing-summary

http://localhost:4013/callbacks/mid-event?page=listingDetails&eventId=create-hearing-summary

-Y 
+

currentEvent != "edit-hearing-summary" OR hearingSummaryExists = "YES"

Listing Details

listingDetails

1

3

1

READONLY

LabelListingDetails

create-hearing-summary

Y

numberOfDays = "Yes"

-Y 
+

Listing Details

listingDetails

15

3

1

MANDATORY

additionalHearingDate

create-hearing-summary

Y

currentEvent = "caseworker-record-listing" OR currentEvent = "caseworker-edit-record-listing"

-Y 
+

Listing Details

listingDetails

9

3

1

OPTIONAL

addlInstr

create-hearing-summary

Y

outcome= "Adjourned"

-Y 
+

Hearing outcome

hearingOutcome

3

6

1

MANDATORY

adjournmentReasons

create-hearing-summary

Choose a hearing

Y

http://localhost:4013/callbacks/mid-event?page=selectHearing&eventId=create-hearing-summary

-Y 
+

Select hearing

selectHearing

1

1

1

MANDATORY

cicCaseHearingList

create-hearing-summary

Y

venueNotListedOption="ALWAYS_HIDE"

-Y 
+

Listing Details

listingDetails

2

3

1

READONLY

currentEvent

create-hearing-summary

Y

-Y 
+

Listing Details

listingDetails

11

3

1

MANDATORY

date

create-hearing-summary

Y

-Y 
+

Hearing type and format

HearingTypeAndFormat

3

2

1

MANDATORY

hearingFormat

create-hearing-summary

Y

venueNotListedOption="ALWAYS_HIDE"

-Y 
+

Listing Details

listingDetails

17

3

1

READONLY

hearingStatus

create-hearing-summary

Y

venueNotListedOption="ALWAYS_HIDE"

-Y 
+

Hearing type and format

HearingTypeAndFormat

4

2

1

READONLY

hearingSummaryExists

create-hearing-summary

Y

-Y 
+

Listing Details

listingDetails

13

3

1

MANDATORY

hearingTime

create-hearing-summary

Y

-Y 
+

Hearing type and format

HearingTypeAndFormat

2

2

1

MANDATORY

hearingType

create-hearing-summary

Y

venueNotListedOption= "VenueNotListed"

-Y 
+

Listing Details

listingDetails

7

3

1

MANDATORY

hearingVenueNameAndAddress

create-hearing-summary

Y

venueNotListedOption!= "VenueNotListed" AND (currentEvent = "caseworker-record-listing" OR currentEvent = "caseworker-edit-record-listing")

-Y 
+

Listing Details

listingDetails

4

3

1

OPTIONAL

hearingVenues

create-hearing-summary

Y

-Y 
+

Listing Details

listingDetails

3

3

1

READONLY

hearingVenuesMessage

create-hearing-summary

Y

-Y 
+

Hearing attendees

hearingAttendees

4

4

1

MANDATORY

isFullPanel

create-hearing-summary

Y

-Y 
+

Hearing attendees

hearingAttendees

2

4

1

OPTIONAL

judge

create-hearing-summary

Y

venueNotListedOption="ALWAYS_HIDE"

-Y 
+

Hearing attendees

hearingAttendees

3

4

1

READONLY

judgeList

create-hearing-summary

Y

isFullPanel = "Yes"

-Y 
+

Hearing attendees

hearingAttendees

5

4

1

MANDATORY

memberList

create-hearing-summary

Y

-Y 
+

Listing Details

listingDetails

14

3

1

MANDATORY

numberOfDays

create-hearing-summary

Y

adjournmentReasons= "Other" AND outcome= "Adjourned"

-Y 
+

Hearing outcome

hearingOutcome

4

6

1

OPTIONAL

otherDetailsOfAdjournment

create-hearing-summary

Y

rolesCONTAINS "other"

-Y 
+

Hearing attendees

hearingAttendeesRole

3

5

1

MANDATORY

others

create-hearing-summary

Y

-Y 
+

Hearing outcome

hearingOutcome

2

6

1

MANDATORY

outcome

create-hearing-summary

Y

currentEvent = "create-hearing-summary" OR currentEvent = "edit-hearing-summary"

-Y 
+

Listing Details

listingDetails

5

3

1

READONLY

readOnlyHearingVenueName

create-hearing-summary

Y

-Y 
+

Upload hearing recording

hearingRecordingUploadPage

5

7

1

OPTIONAL

recDesc

create-hearing-summary

Upload file

Y

-Y 
+

Upload hearing recording

hearingRecordingUploadPage

3

7

1

OPTIONAL

recFileUpload

create-hearing-summary

Y

-Y 
+

Hearing attendees

hearingAttendeesRole

2

5

1

MANDATORY

roles

create-hearing-summary

Y

-Y 
+

Listing Details

listingDetails

8

3

1

OPTIONAL

roomAtVenue

create-hearing-summary

Y

-Y 
+

Listing Details

listingDetails

12

3

1

MANDATORY

session

create-hearing-summary

-Y 
+

Upload hearing recording

hearingRecordingUploadPage

4

7

1

READONLY

theHearingRecordDescription

create-hearing-summary

-Y 
+

Upload hearing recording

hearingRecordingUploadPage

2

7

1

READONLY

theHearingRecordingUpload

create-hearing-summary

-Y 
+

Listing Details

listingDetails

10

3

1

READONLY

theLabelListingDetails

create-hearing-summary

Y

-Y 
+

Listing Details

listingDetails

6

3

1

OPTIONAL

venueNotListedOption

create-hearing-summary

CaseEventToFields/create-draft-order.json

FieldShowConditionShowSummaryChangeOptionCallBackURLMidEventPublishPageLabelPageIDPageFieldDisplayOrderPageDisplayOrderPageColumnNumberDisplayContextCaseFieldIDCaseEventID
-Y 
+

Edit order

mainContent

1

2

1

READONLY

EditDraftOrderMainContent

create-draft-order

http://localhost:4013/callbacks/mid-event?page=createDraftOrder&eventId=create-draft-order

-Y 
+

Create order

createDraftOrder

1

1

1

READONLY

LabelCreateDraftOrder

create-draft-order

-Y 
+

Preview order

previewDraftOrderPage

1

4

1

READONLY

LabelPreviewOrdersDocuments

create-draft-order

-Y 
+

Preview order

previewDraftOrderPage

3

4

1

READONLY

cicCaseMake Changes

create-draft-order

Y

-Y 
+

Preview order

previewDraftOrderPage

2

4

1

READONLY

cicCaseOrderTemplateIssued

create-draft-order

orderContentOrderTemplate="NEVER_SHOW"

Y

-Y 
+

Create order

createDraftOrder

4

1

1

READONLY

cicCaseReferralTypeForWA

create-draft-order

-Y 
+

Create order

createDraftOrder

2

1

1

READONLY

createDraftOrder

create-draft-order

http://localhost:4013/callbacks/mid-event?page=createDraftOrderAddDocumentFooter&eventId=create-draft-order

-Y 
+

Document footer

createDraftOrderAddDocumentFooter

1

3

1

READONLY

draftOrderDocFooter

create-draft-order

-Y 
+

Edit order

mainContent

3

2

1

READONLY

footer

create-draft-order

Y

-Y 
+

Edit order

mainContent

2

2

1

MANDATORY

orderContentMainContent

create-draft-order

Y

-Y 
+

Document footer

createDraftOrderAddDocumentFooter

2

3

1

MANDATORY

orderContentOrderSignature

create-draft-order

Y

-Y 
+

Create order

createDraftOrder

3

1

1

MANDATORY

orderContentOrderTemplate

create-draft-order

CaseEventToFields/create-and-send-order.json

CaseEventFieldLabelCaseEventFieldHintFieldShowConditionShowSummaryChangeOptionCallBackURLMidEventPublishPageShowConditionPageLabelPageIDPageFieldDisplayOrderPageDisplayOrderPageColumnNumberDisplayContextCaseFieldIDCaseEventID
-Y 
+

cicCaseOrderIssuingType = "NewOrder"

Edit order

editNewOrderContent

1

4

1

READONLY

EditDraftOrderMainContent

create-and-send-order

http://localhost:4013/callbacks/mid-event?page=caseworkerApplyAnonymity&eventId=create-and-send-order

-Y 
+

cicCaseAnonymityAlreadyApplied!="Yes"

Anonymity

caseworkerApplyAnonymity

1

1

1

READONLY

LabelCaseworkerApplyAnonymity

create-and-send-order

http://localhost:4013/callbacks/mid-event?page=caseworkerSendOrderSelectOrderIssuingType&eventId=create-and-send-order

-Y 
+

Select order

caseworkerSendOrderSelectOrderIssuingType

1

2

1

READONLY

LabelCaseworkerSendOrderSelectOrderIssuingType

create-and-send-order

http://localhost:4013/callbacks/mid-event?page=createNewOrder&eventId=create-and-send-order

-Y 
+

cicCaseOrderIssuingType = "NewOrder"

Create order

createNewOrder

1

3

1

READONLY

LabelCreateNewOrder

create-and-send-order

http://localhost:4013/callbacks/mid-event?page=caseworkerSendUploadOrder&eventId=create-and-send-order

-Y 
+

cicCaseOrderIssuingType = "UploadOrder"

Upload an order

caseworkerSendUploadOrder

1

6

1

READONLY

LabelPageNameUploadOrder

create-

...(truncated)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants