Skip to content

Commit

Permalink
CIV-7379 mediation unsuccessful (#2313)
Browse files Browse the repository at this point in the history
* Merge master

* Update: auth field for mediation unsuccessful

* Revert process definition

* Update: rename to reason

---------

Co-authored-by: CalderonF <[email protected]>
Co-authored-by: Raja Mani <[email protected]>
  • Loading branch information
3 people authored Mar 15, 2023
1 parent 67e3485 commit c3f7145
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,28 @@
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseEventID": "MEDIATION_UNSUCCESSFUL",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-systemupdate",
"caseworker-civil-admin",
"caseworker-civil"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"APP-SOL-SPEC-PROFILE",
"RES-SOL-ONE-SPEC-PROFILE",
"RES-SOL-TWO-SPEC-PROFILE"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseEventID": "NOTIFY_APPLICANT1_FOR_CLAIM_CONTINUING_ONLINE_SPEC",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1031,5 +1031,26 @@
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "unsuccessfulMediationReason",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil",
"caseworker-civil-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"APP-SOL-SPEC-PROFILE",
"RES-SOL-ONE-SPEC-PROFILE",
"RES-SOL-TWO-SPEC-PROFILE"
],
"CRUD": "R"
}
]
}
]
18 changes: 18 additions & 0 deletions ccd-definition/CaseEvent/User/UserEventsLRspec-CUI-nonprod.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,23 @@
"RetriesTimeoutURLAboutToSubmitEvent": 0,
"RetriesTimeoutURLSubmittedEvent": 0,
"Publish": "Y"
},
{
"CaseTypeID": "CIVIL",
"ID": "MEDIATION_UNSUCCESSFUL",
"Name": "Mediation unsuccessful",
"Description": "Mediation was unsuccessful",
"DisplayOrder": 9,
"PreConditionState(s)": "*",
"PostConditionState": "*",
"SecurityClassification": "Public",
"CallBackURLAboutToSubmitEvent": "${CCD_DEF_CASE_SERVICE_BASE_URL}/cases/callbacks/about-to-submit",
"ShowSummary": "Y",
"ShowEventNotes": "N",
"EndButtonLabel": "Submit",
"RetriesTimeoutAboutToStartEvent": 0,
"RetriesTimeoutURLAboutToSubmitEvent": 0,
"RetriesTimeoutURLSubmittedEvent": 0,
"Publish": "Y"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"CaseTypeID": "CIVIL",
"CaseEventID": "MEDIATION_UNSUCCESSFUL",
"CaseFieldID": "caseTitle",
"DisplayContext": "READONLY",
"PageID": "mediationUnsuccessful",
"PageDisplayOrder": 1,
"PageFieldDisplayOrder": 2,
"ShowSummaryChangeOption": "N"
},
{
"CaseTypeID": "CIVIL",
"CaseEventID": "MEDIATION_UNSUCCESSFUL",
"CaseFieldID": "defendantNameLabel",
"DisplayContext": "READONLY",
"PageID": "mediationUnsuccessful",
"PageDisplayOrder": 1,
"PageFieldDisplayOrder": 2,
"ShowSummaryChangeOption": "N"
},
{
"CaseTypeID": "CIVIL",
"CaseEventID": "MEDIATION_UNSUCCESSFUL",
"CaseFieldID": "defendantName",
"DisplayContext": "READONLY",
"PageID": "mediationUnsuccessful",
"PageDisplayOrder": 1,
"PageFieldDisplayOrder": 3,
"ShowSummaryChangeOption": "N"
},
{
"CaseTypeID": "CIVIL",
"CaseEventID": "MEDIATION_UNSUCCESSFUL",
"CaseFieldID": "unsuccessfulMediationReason",
"DisplayContext": "MANDATORY",
"PageID": "mediationUnsuccessful",
"PageDisplayOrder": 1,
"PageFieldDisplayOrder": 4,
"ShowSummaryChangeOption": "Y"
}
]
29 changes: 29 additions & 0 deletions ccd-definition/CaseField/CaseFieldLRspec-CUI-nonprod.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,35 @@
"FieldType": "Label",
"SecurityClassification": "Public"
},
{
"CaseTypeID": "CIVIL",
"ID": "caseTitle",
"Label": "### ${applicant1.partyName} Vs ${respondent1.partyName}",
"FieldType": "Label",
"SecurityClassification": "Public"
},
{
"CaseTypeID": "CIVIL",
"ID": "defendantNameLabel",
"Label": "### Defendant Name",
"FieldType": "Label",
"SecurityClassification": "Public"
},
{
"CaseTypeID": "CIVIL",
"ID": "defendantName",
"Label": "${respondent1.partyName}",
"FieldType": "Label",
"SecurityClassification": "Public"
},
{
"CaseTypeID": "CIVIL",
"ID": "unsuccessfulMediationReason",
"Label": "Mediation failed reason",
"FieldType": "FixedList",
"FieldTypeParameter": "MediationUnsuccessfulReasons",
"SecurityClassification": "Public"
},
{
"CaseTypeID": "CIVIL",
"ID": "applicant1RepaymentOptionForDefendantSpecLabel",
Expand Down
20 changes: 20 additions & 0 deletions ccd-definition/FixedLists/MediationUnsuccessfulReasons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"ID": "MediationUnsuccessfulReasons",
"ListElementCode": "PARTY_WITHDRAWS",
"ListElement": "Party withdraws from mediation",
"DisplayOrder": 1
},
{
"ID": "MediationUnsuccessfulReasons",
"ListElementCode": "APPOINTMENT_NO_AGREEMENT",
"ListElement": "Appointment no agreement reached",
"DisplayOrder": 2
},
{
"ID": "MediationUnsuccessfulReasons",
"ListElementCode": "APPOINTMENT_NOT_ASSIGNED",
"ListElement": "Appointment not assigned",
"DisplayOrder": 3
}
]

0 comments on commit c3f7145

Please sign in to comment.