@ukhomeoffice/cop-react-form-renderer 6.15.12-alpha → 6.15.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/components/FormRenderer/FormRenderer.js +36 -15
  2. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/cop-reassign-task-to-rcc.json +1 -0
  3. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-chained-component-show-whens-containerised.json +1 -0
  4. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-chained-component-show-whens-dependent-component-nested-block.json +1 -0
  5. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-chained-component-show-whens-dependent-component-nested.json +1 -0
  6. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-chained-component-show-whens-refdata.json +1 -0
  7. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-chained-component-show-whens-target-component-nested.json +1 -0
  8. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-chained-component-show-whens.json +1 -0
  9. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-chained-show-whens-page-hidden.json +1 -0
  10. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-cop-airpax.json +1 -0
  11. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-cop-mandec.json +1 -0
  12. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-collection-component-dependent-on-external-data.json +1 -0
  13. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-collection-component.json +1 -0
  14. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-component-referring-to-collection.json +1 -0
  15. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-component-referring-to-hidden-collection.json +1 -0
  16. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-component-show-when-in-component-and-page.json +1 -0
  17. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-component-with-nested-questions.json +1 -0
  18. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-component.json +1 -0
  19. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-containerised-component.json +1 -0
  20. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-embedded-collection-component.json +1 -0
  21. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-embedded-component.json +1 -0
  22. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-entire-collection.json +114 -0
  23. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-multilevel-containerised-component-leaf-hidden.json +1 -0
  24. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-multilevel-containerised-component.json +1 -0
  25. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-options.json +1 -0
  26. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-page-collection.json +1 -0
  27. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-page-component-used-elsewhere.json +1 -0
  28. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-page-same-component-reused.json +1 -0
  29. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-hidden-page.json +1 -0
  30. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-nested-answers-hidden-by-option.json +1 -0
  31. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-page-nested-radio-component.json +201 -0
  32. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-page-same-component-reused-one-shown.json +1 -0
  33. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/forms/form-variance-breach.json +4272 -0
  34. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/input/cop-variance-breach-with-upload-files.json +1264 -0
  35. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/input/data-hidden-entire-collection.json +20 -0
  36. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/input/data-page-nested-radio-component.json +45 -0
  37. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/output/data-hidden-entire-collection-removed.json +3 -0
  38. package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/output/data-page-nested-radio-component-removed.json +45 -0
  39. package/dist/components/FormRenderer/helpers/clearOutUncompletedRoutes.js +15 -3
  40. package/dist/components/FormRenderer/helpers/clearOutUncompletedRoutes.test.js +65 -33
  41. package/dist/components/FormRenderer/helpers/getUpdatedSectionStates.js +6 -0
  42. package/dist/components/FormRenderer/helpers/getUpdatedSectionStates.test.js +20 -0
  43. package/dist/components/FormRenderer/onCYAAction.js +3 -3
  44. package/dist/components/FormRenderer/onCYAAction.test.js +2 -1
  45. package/dist/components/FormRenderer/onPageAction.js +2 -2
  46. package/dist/components/FormRenderer/onPageAction.test.js +2 -1
  47. package/dist/utils/CollectionPage/mergeCollectionPages.js +8 -2
  48. package/package.json +2 -1
@@ -0,0 +1,1264 @@
1
+ {
2
+ "environmentContext": {
3
+ "attachmentServiceUrl": "/files",
4
+ "privateUiUrl": "https://www.dev.cop.homeoffice.gov.uk",
5
+ "referenceDataUrl": "/refdata",
6
+ "workflowUrl": "/camunda",
7
+ "tmsDataServiceUrl": "/cop-tms-data-service/v1/dao-service"
8
+ },
9
+ "extendedStaffDetailsContext": {
10
+ "email": "philip.harvey@digital.homeoffice.gov.uk",
11
+ "linemanagerEmail": "thomas.cheong@digital.homeoffice.gov.uk",
12
+ "name": "Phil Harvey",
13
+ "linemanagerApprovalStatus": "pending",
14
+ "pendingLinemanagerEmail": "thomas.choeng@digital.homeoffice.gov.uk"
15
+ },
16
+ "keycloakContext": {
17
+ "accessToken": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJfQXJ5M2M5VU9saEJLaWRhR29oMkV3R2ZnaDJYQUNSVU1jTnpiOUhNRzl3In0.eyJleHAiOjE3NDM3ODg1NzksImlhdCI6MTc0Mzc4NzY3OSwiYXV0aF90aW1lIjoxNzQzNzg2OTIyLCJqdGkiOiIxY2U2YjlhMS1mZWY0LTQ5OTAtYmRiNS0wM2ZjZWEzN2FlOTUiLCJpc3MiOiJodHRwczovL2FjcC1zc28ubm90cHJvZC5hY3AuaG9tZW9mZmljZS5nb3YudWsvcmVhbG1zL2NvcC1kZXYiLCJhdWQiOlsicHJpdmF0ZS1wb2xpY3ktc2VydmljZSIsImNhbXVuZGEtcmVzdC1hcGkiLCJyZWZkYXRhLWFwaSIsIm9wZXJhdGlvbmFsLWRhdGEtYXBpIiwicmVhbG0tbWFuYWdlbWVudCIsImFjY291bnQiXSwic3ViIjoiM2ZlMzRmMzMtODFkNy00MDE3LTg3N2UtOTIzNzUxOGVjZWQyIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiY29wIiwibm9uY2UiOiJjODM1MzUzNS1iYzhkLTRhMjUtYWQ3YS1kNzMwNmIwMWRmMjEiLCJzZXNzaW9uX3N0YXRlIjoiZWJiYjg5OGYtNmFhNC00ZjU2LTk4MzMtYzM0NTM1MDUxZTUzIiwiYWxsb3dlZC1vcmlnaW5zIjpbIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRlZmF1bHQtcm9sZXMtY29wLWRldiIsImZyb250bGluZV9wbnJfYWNjZXNzIiwiSnVzdGlmaWNhdGlvbl9SZWFkIiwiQ2VyYmVydXNfUE5SIiwib2ZmbGluZV9hY2Nlc3MiLCJwbnJfYWNjZXNzIiwidGFyZ2V0X3JlYWQiLCJ1bWFfYXV0aG9yaXphdGlvbiIsInRhcmdldF91cGRhdGUiLCJKdXN0aWZpY2F0aW9uX0FjdGlvbiIsImZvcm0tYXBpLXNlcnZlci1hZG1pbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsidmlldy1pZGVudGl0eS1wcm92aWRlcnMiLCJ2aWV3LXJlYWxtIiwiY3JlYXRlLWNsaWVudCIsIm1hbmFnZS11c2VycyIsInZpZXctYXV0aG9yaXphdGlvbiIsInF1ZXJ5LWNsaWVudHMiLCJxdWVyeS11c2VycyIsIm1hbmFnZS1ldmVudHMiLCJ2aWV3LWV2ZW50cyIsInZpZXctdXNlcnMiLCJ2aWV3LWNsaWVudHMiLCJtYW5hZ2UtY2xpZW50cyIsInF1ZXJ5LWdyb3VwcyJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgY2FtdW5kYS1yZXN0LWFwaSBwcm9maWxlIGVtYWlsIiwic2lkIjoiZWJiYjg5OGYtNmFhNC00ZjU2LTk4MzMtYzM0NTM1MDUxZTUzIiwiY2l2aWxfc2VydmFudCI6Im5vLWNvbnRyYWN0b3IiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImxpbmVfbWFuYWdlcl9hcHByb3ZhbF9zdGF0dXMiOiJwZW5kaW5nIiwibGluZV9tYW5hZ2VyX2VtYWlsIjoidGhvbWFzLmNoZW9uZ0BkaWdpdGFsLmhvbWVvZmZpY2UuZ292LnVrIiwiZ3JvdXBzIjpbIi9BQkVSREVBSSIsIi9DUkNDVSIsIi9iZi1tYW5kZWMiLCIvYmYtbmNjLW9mZmljZXIiLCIvYmYtcmNjdS1vZmZpY2VyIiwiL2Jmcm9sZSIsIi9jb3BnZSJdLCJhY3RpdmUiOiJ5ZXMiLCJ0ZWFtX2lkIjoiY2Y1NzZmNjEtMjZjZC00ODYyLTkyZTEtMmQ1Y2ZjMDUwYzJkIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZWRkYWd0c282bmFmcmlpY2J4cWo0YW0teGk3ZHowYzc2bjQyM3hqdGxlcyIsImRicm9sZSI6InJlYWRvbmx5IiwiZ2l2ZW5fbmFtZSI6IlBoaWwiLCJyZWZkYnJvbGUiOiJyZWZyZWFkb25seSIsImxvY2F0aW9uX2lkIjoxMDIsInBlbmRpbmdfbGluZV9tYW5hZ2VyX2VtYWlsIjoidGhvbWFzLmNob2VuZ0BkaWdpdGFsLmhvbWVvZmZpY2UuZ292LnVrIiwiZ3JhZGVfaWQiOiIwNzNiOTJmOC03MjA4LTQwMjYtYTA5MC05MDZjMjc2MDc5ZjEiLCJuYW1lIjoiUGhpbCBIYXJ2ZXkiLCJmYW1pbHlfbmFtZSI6IkhhcnZleSIsImVtYWlsIjoicGhpbGlwLmhhcnZleUBkaWdpdGFsLmhvbWVvZmZpY2UuZ292LnVrIiwicG9saWN5c2VydmljZSI6InBvbGljeXNlcnZpY2UifQ.eStvoRoRz0Vy3cdM0ggAhMiU0pTnYxhwmlC6IlBDnc_-tHVJXJSTZfZ02k50bxa8D8JIGtiE5GgbA23S8jnybQC1-U_i8fYfSE0xlNzdEQKcubFUoMl4lV4vQs_8aO9bsuGoIskx6RrWQ7i6o_OwcxLlmJYr9PgKvtPFoFzkFyyk9cezgUjBQjqVMnhdCIPLwnKEjD1zQIW8BWl5kJwOodJhiD_QV0-bRGcxxhIK_vuQOHeV1medoMMZVci3sZiCHcl7Tua2uA1nvfQi7LkZZVDqyh-SmO8CwpbcoZDJtjlyZdAwFwqgb-JcAMYK9Ad2IrrY6Wuk_gCJnJ_9zvQn7w",
18
+ "email": "philip.harvey@digital.homeoffice.gov.uk",
19
+ "familyName": "Harvey",
20
+ "givenName": "Phil",
21
+ "gradeId": "073b92f8-7208-4026-a090-906c276079f1",
22
+ "groups": [
23
+ "/ABERDEAI",
24
+ "/CRCCU",
25
+ "/bf-mandec",
26
+ "/bf-ncc-officer",
27
+ "/bf-rccu-officer",
28
+ "/bfrole",
29
+ "/copge"
30
+ ],
31
+ "locationId": 102,
32
+ "realm": "cop-dev",
33
+ "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJhNGU2MmU2YS1kZGQ1LTQzMDAtOGEzZC1mZmYzYmZiMTdiY2MifQ.eyJleHAiOjE3NDM3ODk0NzgsImlhdCI6MTc0Mzc4NzY3OSwianRpIjoiYzgzN2I1NWEtOGQwOC00Njc3LWIxMDctODAyODQzMTI0YTNlIiwiaXNzIjoiaHR0cHM6Ly9hY3Atc3NvLm5vdHByb2QuYWNwLmhvbWVvZmZpY2UuZ292LnVrL3JlYWxtcy9jb3AtZGV2IiwiYXVkIjoiaHR0cHM6Ly9hY3Atc3NvLm5vdHByb2QuYWNwLmhvbWVvZmZpY2UuZ292LnVrL3JlYWxtcy9jb3AtZGV2Iiwic3ViIjoiM2ZlMzRmMzMtODFkNy00MDE3LTg3N2UtOTIzNzUxOGVjZWQyIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImNvcCIsIm5vbmNlIjoiYzgzNTM1MzUtYmM4ZC00YTI1LWFkN2EtZDczMDZiMDFkZjIxIiwic2Vzc2lvbl9zdGF0ZSI6ImViYmI4OThmLTZhYTQtNGY1Ni05ODMzLWMzNDUzNTA1MWU1MyIsInNjb3BlIjoib3BlbmlkIGNhbXVuZGEtcmVzdC1hcGkgcHJvZmlsZSBlbWFpbCIsInNpZCI6ImViYmI4OThmLTZhYTQtNGY1Ni05ODMzLWMzNDUzNTA1MWU1MyJ9.metrKWV211ov1WAK1_9kkXz8be0LNlWI321L1YIbAm0",
34
+ "roles": [
35
+ "default-roles-cop-dev",
36
+ "frontline_pnr_access",
37
+ "Justification_Read",
38
+ "Cerberus_PNR",
39
+ "offline_access",
40
+ "pnr_access",
41
+ "target_read",
42
+ "uma_authorization",
43
+ "target_update",
44
+ "Justification_Action",
45
+ "form-api-server-admin"
46
+ ],
47
+ "sessionId": "ebbb898f-6aa4-4f56-9833-c34535051e53",
48
+ "subject": "3fe34f33-81d7-4017-877e-9237518eced2",
49
+ "url": "https://acp-sso.notprod.acp.homeoffice.gov.uk"
50
+ },
51
+ "shiftDetailsContext": {
52
+ "email": "philip.harvey@digital.homeoffice.gov.uk",
53
+ "location": {
54
+ "id": 102,
55
+ "name": "“Enterprise House, Stansted”",
56
+ "description": null,
57
+ "unlocodeid": "d68b39b1-459d-4101-8f9d-1f8786490e52",
58
+ "addressid": "dd2fe22b-c86b-4f82-8afa-d963521bbc79",
59
+ "geolat": "51.88815",
60
+ "geolong": "0.258417",
61
+ "icaoid": null,
62
+ "bflocationtypeid": "73c2f30a-0e7d-4e90-af5c-de42dca9dfb0",
63
+ "code": "ENTSTAN",
64
+ "countryoflegalsystem": "England",
65
+ "ukcountry": "England",
66
+ "validfrom": "2019-01-01T00:01:00.000Z",
67
+ "validto": null,
68
+ "updatedby": null
69
+ },
70
+ "locationid": 102,
71
+ "roles": [
72
+ "default-roles-cop-dev",
73
+ "frontline_pnr_access",
74
+ "Justification_Read",
75
+ "Cerberus_PNR",
76
+ "offline_access",
77
+ "pnr_access",
78
+ "target_read",
79
+ "uma_authorization",
80
+ "target_update",
81
+ "Justification_Action",
82
+ "form-api-server-admin"
83
+ ],
84
+ "team": {
85
+ "id": "50231de0-8cb4-48a0-ae0b-cab9dc6cbaa6",
86
+ "displayname": "Aberdeen Management Team",
87
+ "code": "ABERDEAI",
88
+ "grouptypeid": 1,
89
+ "branchid": 22,
90
+ "keycloakgrouppath": "/ABERDEAI",
91
+ "locationid": 15,
92
+ "name": "ABERDEAI",
93
+ "selfmanaged": false,
94
+ "teamid": "cf576f61-26cd-4862-92e1-2d5cfc050c2d"
95
+ },
96
+ "teamid": "cf576f61-26cd-4862-92e1-2d5cfc050c2d",
97
+ "currentGroup": {
98
+ "id": "50231de0-8cb4-48a0-ae0b-cab9dc6cbaa6",
99
+ "displayname": "Aberdeen Management Team",
100
+ "code": "ABERDEAI",
101
+ "grouptypeid": 1,
102
+ "branchid": 22,
103
+ "keycloakgrouppath": "/ABERDEAI",
104
+ "locationid": 15,
105
+ "name": "ABERDEAI",
106
+ "selfmanaged": false,
107
+ "teamid": "cf576f61-26cd-4862-92e1-2d5cfc050c2d"
108
+ },
109
+ "groups": [
110
+ "/ABERDEAI",
111
+ "/CRCCU",
112
+ "/bf-mandec",
113
+ "/bf-ncc-officer",
114
+ "/bf-rccu-officer",
115
+ "/bfrole",
116
+ "/copge"
117
+ ]
118
+ },
119
+ "staffDetailsDataContext": {
120
+ "defaultlocation": {
121
+ "id": 102,
122
+ "name": "“Enterprise House, Stansted”",
123
+ "description": null,
124
+ "unlocodeid": "d68b39b1-459d-4101-8f9d-1f8786490e52",
125
+ "addressid": "dd2fe22b-c86b-4f82-8afa-d963521bbc79",
126
+ "geolat": "51.88815",
127
+ "geolong": "0.258417",
128
+ "icaoid": null,
129
+ "bflocationtypeid": "73c2f30a-0e7d-4e90-af5c-de42dca9dfb0",
130
+ "code": "ENTSTAN",
131
+ "countryoflegalsystem": "England",
132
+ "ukcountry": "England",
133
+ "validfrom": "2019-01-01T00:01:00.000Z",
134
+ "validto": null,
135
+ "updatedby": null
136
+ },
137
+ "defaultlocationid": 102,
138
+ "defaultteam": {
139
+ "id": "cf576f61-26cd-4862-92e1-2d5cfc050c2d",
140
+ "name": "Aberdeen Management Team",
141
+ "code": "ABERDEAI",
142
+ "description": null,
143
+ "costcentrecode": "ABERDEAI",
144
+ "parentteamid": "d8240301-bc30-4c58-9826-d88b85d598f5",
145
+ "regionalintel": false,
146
+ "bffunctiontypeid": "63d59d5c-e1d0-4f16-9607-7aa2613cc695",
147
+ "ministryid": "1",
148
+ "departmentid": "1",
149
+ "directorateid": "2",
150
+ "branchid": "22",
151
+ "divisionid": "11",
152
+ "commandid": "38",
153
+ "validfrom": "2019-01-01T00:01:00.000Z",
154
+ "validto": null,
155
+ "updatedby": null
156
+ },
157
+ "defaultteamid": "cf576f61-26cd-4862-92e1-2d5cfc050c2d",
158
+ "email": "philip.harvey@digital.homeoffice.gov.uk",
159
+ "firstname": "Phil",
160
+ "gradeid": "073b92f8-7208-4026-a090-906c276079f1",
161
+ "locationid": 102,
162
+ "surname": "Harvey",
163
+ "teamid": "cf576f61-26cd-4862-92e1-2d5cfc050c2d",
164
+ "areYouACivilServant": "no-contractor"
165
+ },
166
+ "processContext": {
167
+ "displayRules": "{\"use_type_for_tv_classification\":false,\"use_type_for_tv_page_title\":true,\"hide_tv_classification\":false,\"hide_type_in_sp_table_row\":false}",
168
+ "type": "Variance",
169
+ "editTaskTeam": "ANY",
170
+ "initiatedBy": "",
171
+ "formKey": "cop-variance-breach-v2",
172
+ "closeTaskForm": "cop-close-task-variance",
173
+ "autoCloseAvailable": "True",
174
+ "regionalCommandCentre": {
175
+ "id": 23,
176
+ "name": "Central",
177
+ "directorateid": 2,
178
+ "code": "BFCENT",
179
+ "validfrom": "2019-01-01T00:01:00.000Z",
180
+ "validto": null,
181
+ "updatedby": null,
182
+ "value": "23",
183
+ "label": "Central",
184
+ "hint": ""
185
+ },
186
+ "reassignTaskToRccForm": "cop-reassign-task-to-rcc",
187
+ "active": "True",
188
+ "copVarianceBreachV2": {
189
+ "id": "a50485e6-1178-11f0-b2da-32578bcf891c",
190
+ "businessKey": "DEV-20250404-1301",
191
+ "undefined": null,
192
+ "formStatus": {
193
+ "page": "reportVarianceStart"
194
+ },
195
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
196
+ "links": [
197
+ {
198
+ "method": "GET",
199
+ "href": "https://www.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/a50485e6-1178-11f0-b2da-32578bcf891c",
200
+ "rel": "self"
201
+ }
202
+ ],
203
+ "definitionId": "cop-variance-breach-v2:16:785014b8-0597-11f0-91c1-0e7b49677690",
204
+ "caseInstanceId": null,
205
+ "ended": false,
206
+ "suspended": false,
207
+ "tenantId": null,
208
+ "eventTypeRadio": "Variance",
209
+ "varianceReason": "Technology",
210
+ "regionalCommandCentre": {
211
+ "id": 23,
212
+ "name": "Central",
213
+ "directorateid": 2,
214
+ "code": "BFCENT",
215
+ "validfrom": "2019-01-01T00:01:00.000Z",
216
+ "validto": null,
217
+ "updatedby": null,
218
+ "value": "23",
219
+ "label": "Central",
220
+ "hint": ""
221
+ },
222
+ "port": {
223
+ "id": 19,
224
+ "countryid": 234,
225
+ "commandid": 38,
226
+ "locationid": null,
227
+ "name": "Aberdeen Airport",
228
+ "addressid": null,
229
+ "subdivision": "ABE",
230
+ "municipality": "Aberdeen",
231
+ "geolong": "-2.20646",
232
+ "geolat": "57.200291",
233
+ "air": true,
234
+ "land": false,
235
+ "sea": false,
236
+ "rail": false,
237
+ "iata": "ABZ",
238
+ "icao": "EGPD",
239
+ "localcode": null,
240
+ "unlocode": "ABD",
241
+ "helipad": false,
242
+ "fixedpcp": null,
243
+ "portablepcp": null,
244
+ "egates": null,
245
+ "nonoperational": false,
246
+ "portsizeid": 1,
247
+ "juxtaposed": false,
248
+ "freightparcelposthub": false,
249
+ "validfrom": "2023-04-18T00:00:01.000Z",
250
+ "validto": null,
251
+ "updatedby": "Mohammed Abdul Odud",
252
+ "value": "19",
253
+ "label": "Aberdeen Airport",
254
+ "hint": ""
255
+ },
256
+ "dateOfEvent": "12-12-2023",
257
+ "timeOfEvent": "12:12",
258
+ "technologyOutage": "asd asd asd asd a",
259
+ "uploadFiles": [
260
+ {
261
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
262
+ "extension": "png",
263
+ "type": "image/png",
264
+ "file": {},
265
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d"
266
+ }
267
+ ],
268
+ "meta": {
269
+ "documents": [
270
+ {
271
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
272
+ "extension": "png",
273
+ "type": "image/png",
274
+ "file": {},
275
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d",
276
+ "indexInField": 0,
277
+ "field": "uploadFiles",
278
+ "size": 94437
279
+ }
280
+ ]
281
+ },
282
+ "hasApprovedVariance": "Yes",
283
+ "whoApprovedOfficierEmail": {
284
+ "email": "abdul.aziz@digital.homeoffice.gov.uk",
285
+ "value": "abdul.aziz@digital.homeoffice.gov.uk",
286
+ "label": "abdul.aziz@digital.homeoffice.gov.uk",
287
+ "hint": ""
288
+ },
289
+ "whoApprovedDateTime": {
290
+ "whoApprovedDate": "12-12-2023",
291
+ "whoApprovedTime": "12:12"
292
+ },
293
+ "form": {
294
+ "formVersionId": "version-1.4.81",
295
+ "title": "Report a variance or breach",
296
+ "name": "cop-variance-breach-v2",
297
+ "submissionDate": "2025-04-04T17:18:12.915Z",
298
+ "submittedBy": "philip.harvey@digital.homeoffice.gov.uk",
299
+ "submittingUsersName": "Phil",
300
+ "submissionStartDate": "2025-04-04T17:17:10.353Z",
301
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
302
+ "submissionTeam": "cf576f61-26cd-4862-92e1-2d5cfc050c2d"
303
+ },
304
+ "eventOverview": "asd asd asd asd a",
305
+ "classification": "Technology",
306
+ "criticalSet": "Needs review",
307
+ "regionSet": "RCC",
308
+ "autoClose": "13 December 2023"
309
+ },
310
+ "priority": "Needs review",
311
+ "classification": "Technology",
312
+ "eventDateForNotification": "12 December 2023",
313
+ "incidentDateFormatted": "2023-12-12T12:12:00.000Z",
314
+ "assignedTeam": "RCC",
315
+ "reassignTaskFromRccForm": "cop-reassign-task",
316
+ "port": {
317
+ "id": 19,
318
+ "countryid": 234,
319
+ "commandid": 38,
320
+ "locationid": null,
321
+ "name": "Aberdeen Airport",
322
+ "addressid": null,
323
+ "subdivision": "ABE",
324
+ "municipality": "Aberdeen",
325
+ "geolong": "-2.20646",
326
+ "geolat": "57.200291",
327
+ "air": true,
328
+ "land": false,
329
+ "sea": false,
330
+ "rail": false,
331
+ "iata": "ABZ",
332
+ "icao": "EGPD",
333
+ "localcode": null,
334
+ "unlocode": "ABD",
335
+ "helipad": false,
336
+ "fixedpcp": null,
337
+ "portablepcp": null,
338
+ "egates": null,
339
+ "nonoperational": false,
340
+ "portsizeid": 1,
341
+ "juxtaposed": false,
342
+ "freightparcelposthub": false,
343
+ "validfrom": "2023-04-18T00:00:01.000Z",
344
+ "validto": null,
345
+ "updatedby": "Mohammed Abdul Odud",
346
+ "value": "19",
347
+ "label": "Aberdeen Airport",
348
+ "hint": ""
349
+ },
350
+ "submissions": 1,
351
+ "closeTaskTeam": "NCC",
352
+ "cop-variance-breach-v2": {
353
+ "id": "a50485e6-1178-11f0-b2da-32578bcf891c",
354
+ "businessKey": "DEV-20250404-1301",
355
+ "undefined": null,
356
+ "formStatus": {
357
+ "page": "reportVarianceStart"
358
+ },
359
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
360
+ "links": [
361
+ {
362
+ "method": "GET",
363
+ "href": "https://www.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/a50485e6-1178-11f0-b2da-32578bcf891c",
364
+ "rel": "self"
365
+ }
366
+ ],
367
+ "definitionId": "cop-variance-breach-v2:16:785014b8-0597-11f0-91c1-0e7b49677690",
368
+ "caseInstanceId": null,
369
+ "ended": false,
370
+ "suspended": false,
371
+ "tenantId": null,
372
+ "eventTypeRadio": "Variance",
373
+ "varianceReason": "Technology",
374
+ "regionalCommandCentre": {
375
+ "id": 23,
376
+ "name": "Central",
377
+ "directorateid": 2,
378
+ "code": "BFCENT",
379
+ "validfrom": "2019-01-01T00:01:00.000Z",
380
+ "validto": null,
381
+ "updatedby": null,
382
+ "value": "23",
383
+ "label": "Central",
384
+ "hint": ""
385
+ },
386
+ "port": {
387
+ "id": 19,
388
+ "countryid": 234,
389
+ "commandid": 38,
390
+ "locationid": null,
391
+ "name": "Aberdeen Airport",
392
+ "addressid": null,
393
+ "subdivision": "ABE",
394
+ "municipality": "Aberdeen",
395
+ "geolong": "-2.20646",
396
+ "geolat": "57.200291",
397
+ "air": true,
398
+ "land": false,
399
+ "sea": false,
400
+ "rail": false,
401
+ "iata": "ABZ",
402
+ "icao": "EGPD",
403
+ "localcode": null,
404
+ "unlocode": "ABD",
405
+ "helipad": false,
406
+ "fixedpcp": null,
407
+ "portablepcp": null,
408
+ "egates": null,
409
+ "nonoperational": false,
410
+ "portsizeid": 1,
411
+ "juxtaposed": false,
412
+ "freightparcelposthub": false,
413
+ "validfrom": "2023-04-18T00:00:01.000Z",
414
+ "validto": null,
415
+ "updatedby": "Mohammed Abdul Odud",
416
+ "value": "19",
417
+ "label": "Aberdeen Airport",
418
+ "hint": ""
419
+ },
420
+ "dateOfEvent": "12-12-2023",
421
+ "timeOfEvent": "12:12",
422
+ "technologyOutage": "asd asd asd asd a",
423
+ "uploadFiles": [
424
+ {
425
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
426
+ "extension": "png",
427
+ "type": "image/png",
428
+ "file": {},
429
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d"
430
+ }
431
+ ],
432
+ "meta": {
433
+ "documents": [
434
+ {
435
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
436
+ "extension": "png",
437
+ "type": "image/png",
438
+ "file": {},
439
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d",
440
+ "indexInField": 0,
441
+ "field": "uploadFiles",
442
+ "size": 94437
443
+ }
444
+ ]
445
+ },
446
+ "hasApprovedVariance": "Yes",
447
+ "whoApprovedOfficierEmail": {
448
+ "email": "abdul.aziz@digital.homeoffice.gov.uk",
449
+ "value": "abdul.aziz@digital.homeoffice.gov.uk",
450
+ "label": "abdul.aziz@digital.homeoffice.gov.uk",
451
+ "hint": ""
452
+ },
453
+ "whoApprovedDateTime": {
454
+ "whoApprovedDate": "12-12-2023",
455
+ "whoApprovedTime": "12:12"
456
+ },
457
+ "form": {
458
+ "formVersionId": "version-1.4.81",
459
+ "title": "Report a variance or breach",
460
+ "name": "cop-variance-breach-v2",
461
+ "submissionDate": "2025-04-04T17:18:12.915Z",
462
+ "submittedBy": "philip.harvey@digital.homeoffice.gov.uk",
463
+ "submittingUsersName": "Phil",
464
+ "submissionStartDate": "2025-04-04T17:17:10.353Z",
465
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
466
+ "submissionTeam": "cf576f61-26cd-4862-92e1-2d5cfc050c2d"
467
+ },
468
+ "eventOverview": "asd asd asd asd a",
469
+ "classification": "Technology",
470
+ "criticalSet": "Needs review",
471
+ "regionSet": "RCC",
472
+ "autoClose": "13 December 2023"
473
+ },
474
+ "rccId": 23,
475
+ "taskTitle": "TMS task",
476
+ "eventTimeForNotification": "12:12",
477
+ "status": "SUBMITTED",
478
+ "statusCode": 201,
479
+ "variables": {
480
+ "displayRules": "{\"use_type_for_tv_classification\":false,\"use_type_for_tv_page_title\":true,\"hide_tv_classification\":false,\"hide_type_in_sp_table_row\":false}",
481
+ "type": "Variance",
482
+ "editTaskTeam": "ANY",
483
+ "initiatedBy": "",
484
+ "formKey": "cop-variance-breach-v2",
485
+ "closeTaskForm": "cop-close-task-variance",
486
+ "autoCloseAvailable": "True",
487
+ "regionalCommandCentre": {
488
+ "id": 23,
489
+ "name": "Central",
490
+ "directorateid": 2,
491
+ "code": "BFCENT",
492
+ "validfrom": "2019-01-01T00:01:00.000Z",
493
+ "validto": null,
494
+ "updatedby": null,
495
+ "value": "23",
496
+ "label": "Central",
497
+ "hint": ""
498
+ },
499
+ "reassignTaskToRccForm": "cop-reassign-task-to-rcc",
500
+ "active": "True",
501
+ "copVarianceBreachV2": {
502
+ "id": "a50485e6-1178-11f0-b2da-32578bcf891c",
503
+ "businessKey": "DEV-20250404-1301",
504
+ "undefined": null,
505
+ "formStatus": {
506
+ "page": "reportVarianceStart"
507
+ },
508
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
509
+ "links": [
510
+ {
511
+ "method": "GET",
512
+ "href": "https://www.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/a50485e6-1178-11f0-b2da-32578bcf891c",
513
+ "rel": "self"
514
+ }
515
+ ],
516
+ "definitionId": "cop-variance-breach-v2:16:785014b8-0597-11f0-91c1-0e7b49677690",
517
+ "caseInstanceId": null,
518
+ "ended": false,
519
+ "suspended": false,
520
+ "tenantId": null,
521
+ "eventTypeRadio": "Variance",
522
+ "varianceReason": "Technology",
523
+ "regionalCommandCentre": {
524
+ "id": 23,
525
+ "name": "Central",
526
+ "directorateid": 2,
527
+ "code": "BFCENT",
528
+ "validfrom": "2019-01-01T00:01:00.000Z",
529
+ "validto": null,
530
+ "updatedby": null,
531
+ "value": "23",
532
+ "label": "Central",
533
+ "hint": ""
534
+ },
535
+ "port": {
536
+ "id": 19,
537
+ "countryid": 234,
538
+ "commandid": 38,
539
+ "locationid": null,
540
+ "name": "Aberdeen Airport",
541
+ "addressid": null,
542
+ "subdivision": "ABE",
543
+ "municipality": "Aberdeen",
544
+ "geolong": "-2.20646",
545
+ "geolat": "57.200291",
546
+ "air": true,
547
+ "land": false,
548
+ "sea": false,
549
+ "rail": false,
550
+ "iata": "ABZ",
551
+ "icao": "EGPD",
552
+ "localcode": null,
553
+ "unlocode": "ABD",
554
+ "helipad": false,
555
+ "fixedpcp": null,
556
+ "portablepcp": null,
557
+ "egates": null,
558
+ "nonoperational": false,
559
+ "portsizeid": 1,
560
+ "juxtaposed": false,
561
+ "freightparcelposthub": false,
562
+ "validfrom": "2023-04-18T00:00:01.000Z",
563
+ "validto": null,
564
+ "updatedby": "Mohammed Abdul Odud",
565
+ "value": "19",
566
+ "label": "Aberdeen Airport",
567
+ "hint": ""
568
+ },
569
+ "dateOfEvent": "12-12-2023",
570
+ "timeOfEvent": "12:12",
571
+ "technologyOutage": "asd asd asd asd a",
572
+ "uploadFiles": [
573
+ {
574
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
575
+ "extension": "png",
576
+ "type": "image/png",
577
+ "file": {},
578
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d"
579
+ }
580
+ ],
581
+ "meta": {
582
+ "documents": [
583
+ {
584
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
585
+ "extension": "png",
586
+ "type": "image/png",
587
+ "file": {},
588
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d",
589
+ "indexInField": 0,
590
+ "field": "uploadFiles",
591
+ "size": 94437
592
+ }
593
+ ]
594
+ },
595
+ "hasApprovedVariance": "Yes",
596
+ "whoApprovedOfficierEmail": {
597
+ "email": "abdul.aziz@digital.homeoffice.gov.uk",
598
+ "value": "abdul.aziz@digital.homeoffice.gov.uk",
599
+ "label": "abdul.aziz@digital.homeoffice.gov.uk",
600
+ "hint": ""
601
+ },
602
+ "whoApprovedDateTime": {
603
+ "whoApprovedDate": "12-12-2023",
604
+ "whoApprovedTime": "12:12"
605
+ },
606
+ "form": {
607
+ "formVersionId": "version-1.4.81",
608
+ "title": "Report a variance or breach",
609
+ "name": "cop-variance-breach-v2",
610
+ "submissionDate": "2025-04-04T17:18:12.915Z",
611
+ "submittedBy": "philip.harvey@digital.homeoffice.gov.uk",
612
+ "submittingUsersName": "Phil",
613
+ "submissionStartDate": "2025-04-04T17:17:10.353Z",
614
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
615
+ "submissionTeam": "cf576f61-26cd-4862-92e1-2d5cfc050c2d"
616
+ },
617
+ "eventOverview": "asd asd asd asd a",
618
+ "classification": "Technology",
619
+ "criticalSet": "Needs review",
620
+ "regionSet": "RCC",
621
+ "autoClose": "13 December 2023"
622
+ },
623
+ "priority": "Needs review",
624
+ "classification": "Technology",
625
+ "eventDateForNotification": "12 December 2023",
626
+ "incidentDateFormatted": "2023-12-12T12:12:00.000Z",
627
+ "assignedTeam": "RCC",
628
+ "reassignTaskFromRccForm": "cop-reassign-task",
629
+ "port": {
630
+ "id": 19,
631
+ "countryid": 234,
632
+ "commandid": 38,
633
+ "locationid": null,
634
+ "name": "Aberdeen Airport",
635
+ "addressid": null,
636
+ "subdivision": "ABE",
637
+ "municipality": "Aberdeen",
638
+ "geolong": "-2.20646",
639
+ "geolat": "57.200291",
640
+ "air": true,
641
+ "land": false,
642
+ "sea": false,
643
+ "rail": false,
644
+ "iata": "ABZ",
645
+ "icao": "EGPD",
646
+ "localcode": null,
647
+ "unlocode": "ABD",
648
+ "helipad": false,
649
+ "fixedpcp": null,
650
+ "portablepcp": null,
651
+ "egates": null,
652
+ "nonoperational": false,
653
+ "portsizeid": 1,
654
+ "juxtaposed": false,
655
+ "freightparcelposthub": false,
656
+ "validfrom": "2023-04-18T00:00:01.000Z",
657
+ "validto": null,
658
+ "updatedby": "Mohammed Abdul Odud",
659
+ "value": "19",
660
+ "label": "Aberdeen Airport",
661
+ "hint": ""
662
+ },
663
+ "submissions": 1,
664
+ "closeTaskTeam": "NCC",
665
+ "cop-variance-breach-v2": {
666
+ "id": "a50485e6-1178-11f0-b2da-32578bcf891c",
667
+ "businessKey": "DEV-20250404-1301",
668
+ "undefined": null,
669
+ "formStatus": {
670
+ "page": "reportVarianceStart"
671
+ },
672
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
673
+ "links": [
674
+ {
675
+ "method": "GET",
676
+ "href": "https://www.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/a50485e6-1178-11f0-b2da-32578bcf891c",
677
+ "rel": "self"
678
+ }
679
+ ],
680
+ "definitionId": "cop-variance-breach-v2:16:785014b8-0597-11f0-91c1-0e7b49677690",
681
+ "caseInstanceId": null,
682
+ "ended": false,
683
+ "suspended": false,
684
+ "tenantId": null,
685
+ "eventTypeRadio": "Variance",
686
+ "varianceReason": "Technology",
687
+ "regionalCommandCentre": {
688
+ "id": 23,
689
+ "name": "Central",
690
+ "directorateid": 2,
691
+ "code": "BFCENT",
692
+ "validfrom": "2019-01-01T00:01:00.000Z",
693
+ "validto": null,
694
+ "updatedby": null,
695
+ "value": "23",
696
+ "label": "Central",
697
+ "hint": ""
698
+ },
699
+ "port": {
700
+ "id": 19,
701
+ "countryid": 234,
702
+ "commandid": 38,
703
+ "locationid": null,
704
+ "name": "Aberdeen Airport",
705
+ "addressid": null,
706
+ "subdivision": "ABE",
707
+ "municipality": "Aberdeen",
708
+ "geolong": "-2.20646",
709
+ "geolat": "57.200291",
710
+ "air": true,
711
+ "land": false,
712
+ "sea": false,
713
+ "rail": false,
714
+ "iata": "ABZ",
715
+ "icao": "EGPD",
716
+ "localcode": null,
717
+ "unlocode": "ABD",
718
+ "helipad": false,
719
+ "fixedpcp": null,
720
+ "portablepcp": null,
721
+ "egates": null,
722
+ "nonoperational": false,
723
+ "portsizeid": 1,
724
+ "juxtaposed": false,
725
+ "freightparcelposthub": false,
726
+ "validfrom": "2023-04-18T00:00:01.000Z",
727
+ "validto": null,
728
+ "updatedby": "Mohammed Abdul Odud",
729
+ "value": "19",
730
+ "label": "Aberdeen Airport",
731
+ "hint": ""
732
+ },
733
+ "dateOfEvent": "12-12-2023",
734
+ "timeOfEvent": "12:12",
735
+ "technologyOutage": "asd asd asd asd a",
736
+ "uploadFiles": [
737
+ {
738
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
739
+ "extension": "png",
740
+ "type": "image/png",
741
+ "file": {},
742
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d"
743
+ }
744
+ ],
745
+ "meta": {
746
+ "documents": [
747
+ {
748
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
749
+ "extension": "png",
750
+ "type": "image/png",
751
+ "file": {},
752
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d",
753
+ "indexInField": 0,
754
+ "field": "uploadFiles",
755
+ "size": 94437
756
+ }
757
+ ]
758
+ },
759
+ "hasApprovedVariance": "Yes",
760
+ "whoApprovedOfficierEmail": {
761
+ "email": "abdul.aziz@digital.homeoffice.gov.uk",
762
+ "value": "abdul.aziz@digital.homeoffice.gov.uk",
763
+ "label": "abdul.aziz@digital.homeoffice.gov.uk",
764
+ "hint": ""
765
+ },
766
+ "whoApprovedDateTime": {
767
+ "whoApprovedDate": "12-12-2023",
768
+ "whoApprovedTime": "12:12"
769
+ },
770
+ "form": {
771
+ "formVersionId": "version-1.4.81",
772
+ "title": "Report a variance or breach",
773
+ "name": "cop-variance-breach-v2",
774
+ "submissionDate": "2025-04-04T17:18:12.915Z",
775
+ "submittedBy": "philip.harvey@digital.homeoffice.gov.uk",
776
+ "submittingUsersName": "Phil",
777
+ "submissionStartDate": "2025-04-04T17:17:10.353Z",
778
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
779
+ "submissionTeam": "cf576f61-26cd-4862-92e1-2d5cfc050c2d"
780
+ },
781
+ "eventOverview": "asd asd asd asd a",
782
+ "classification": "Technology",
783
+ "criticalSet": "Needs review",
784
+ "regionSet": "RCC",
785
+ "autoClose": "13 December 2023"
786
+ },
787
+ "rccId": 23,
788
+ "taskTitle": "TMS task",
789
+ "eventTimeForNotification": "12:12",
790
+ "status": "SUBMITTED",
791
+ "statusCode": 201
792
+ },
793
+ "instance": {
794
+ "businessKey": "DEV-20250404-1301",
795
+ "ended": false,
796
+ "links": [],
797
+ "id": "a50485e6-1178-11f0-b2da-32578bcf891c",
798
+ "suspended": false,
799
+ "definitionId": "cop-variance-breach-v2:16:785014b8-0597-11f0-91c1-0e7b49677690"
800
+ },
801
+ "definition": {
802
+ "resource": "cop-variance-breach-v2.bpmn",
803
+ "deploymentId": "78436a7f-0597-11f0-91c1-0e7b49677690",
804
+ "startableInTasklist": true,
805
+ "name": "Request or report a variance, breach or eGate near miss",
806
+ "description": "Use this form to request approval for a variance, or report a variance or breach of the operating mandate, including eGates near misses",
807
+ "historyTimeToLive": 36500,
808
+ "id": "cop-variance-breach-v2:16:785014b8-0597-11f0-91c1-0e7b49677690",
809
+ "category": "http://bpmn.io/schema/bpmn",
810
+ "version": 16,
811
+ "suspended": false,
812
+ "key": "cop-variance-breach-v2"
813
+ }
814
+ },
815
+ "taskContext": {
816
+ "processDefinitionId": "cop-variance-breach-v2:16:785014b8-0597-11f0-91c1-0e7b49677690",
817
+ "processInstanceId": "a50485e6-1178-11f0-b2da-32578bcf891c",
818
+ "variables": {
819
+ "displayRules": "{\"use_type_for_tv_classification\":false,\"use_type_for_tv_page_title\":true,\"hide_tv_classification\":false,\"hide_type_in_sp_table_row\":false}",
820
+ "type": "Variance",
821
+ "editTaskTeam": "ANY",
822
+ "initiatedBy": "",
823
+ "formKey": "cop-variance-breach-v2",
824
+ "closeTaskForm": "cop-close-task-variance",
825
+ "autoCloseAvailable": "True",
826
+ "regionalCommandCentre": {
827
+ "id": 23,
828
+ "name": "Central",
829
+ "directorateid": 2,
830
+ "code": "BFCENT",
831
+ "validfrom": "2019-01-01T00:01:00.000Z",
832
+ "validto": null,
833
+ "updatedby": null,
834
+ "value": "23",
835
+ "label": "Central",
836
+ "hint": ""
837
+ },
838
+ "reassignTaskToRccForm": "cop-reassign-task-to-rcc",
839
+ "active": "True",
840
+ "copVarianceBreachV2": {
841
+ "id": "a50485e6-1178-11f0-b2da-32578bcf891c",
842
+ "businessKey": "DEV-20250404-1301",
843
+ "undefined": null,
844
+ "formStatus": {
845
+ "page": "reportVarianceStart"
846
+ },
847
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
848
+ "links": [
849
+ {
850
+ "method": "GET",
851
+ "href": "https://www.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/a50485e6-1178-11f0-b2da-32578bcf891c",
852
+ "rel": "self"
853
+ }
854
+ ],
855
+ "definitionId": "cop-variance-breach-v2:16:785014b8-0597-11f0-91c1-0e7b49677690",
856
+ "caseInstanceId": null,
857
+ "ended": false,
858
+ "suspended": false,
859
+ "tenantId": null,
860
+ "eventTypeRadio": "Variance",
861
+ "varianceReason": "Technology",
862
+ "regionalCommandCentre": {
863
+ "id": 23,
864
+ "name": "Central",
865
+ "directorateid": 2,
866
+ "code": "BFCENT",
867
+ "validfrom": "2019-01-01T00:01:00.000Z",
868
+ "validto": null,
869
+ "updatedby": null,
870
+ "value": "23",
871
+ "label": "Central",
872
+ "hint": ""
873
+ },
874
+ "port": {
875
+ "id": 19,
876
+ "countryid": 234,
877
+ "commandid": 38,
878
+ "locationid": null,
879
+ "name": "Aberdeen Airport",
880
+ "addressid": null,
881
+ "subdivision": "ABE",
882
+ "municipality": "Aberdeen",
883
+ "geolong": "-2.20646",
884
+ "geolat": "57.200291",
885
+ "air": true,
886
+ "land": false,
887
+ "sea": false,
888
+ "rail": false,
889
+ "iata": "ABZ",
890
+ "icao": "EGPD",
891
+ "localcode": null,
892
+ "unlocode": "ABD",
893
+ "helipad": false,
894
+ "fixedpcp": null,
895
+ "portablepcp": null,
896
+ "egates": null,
897
+ "nonoperational": false,
898
+ "portsizeid": 1,
899
+ "juxtaposed": false,
900
+ "freightparcelposthub": false,
901
+ "validfrom": "2023-04-18T00:00:01.000Z",
902
+ "validto": null,
903
+ "updatedby": "Mohammed Abdul Odud",
904
+ "value": "19",
905
+ "label": "Aberdeen Airport",
906
+ "hint": ""
907
+ },
908
+ "dateOfEvent": "12-12-2023",
909
+ "timeOfEvent": "12:12",
910
+ "technologyOutage": "asd asd asd asd a",
911
+ "uploadFiles": [
912
+ {
913
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
914
+ "extension": "png",
915
+ "type": "image/png",
916
+ "file": {},
917
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d"
918
+ }
919
+ ],
920
+ "meta": {
921
+ "documents": [
922
+ {
923
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
924
+ "extension": "png",
925
+ "type": "image/png",
926
+ "file": {},
927
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d",
928
+ "indexInField": 0,
929
+ "field": "uploadFiles",
930
+ "size": 94437
931
+ }
932
+ ]
933
+ },
934
+ "hasApprovedVariance": "Yes",
935
+ "whoApprovedOfficierEmail": {
936
+ "email": "abdul.aziz@digital.homeoffice.gov.uk",
937
+ "value": "abdul.aziz@digital.homeoffice.gov.uk",
938
+ "label": "abdul.aziz@digital.homeoffice.gov.uk",
939
+ "hint": ""
940
+ },
941
+ "whoApprovedDateTime": {
942
+ "whoApprovedDate": "12-12-2023",
943
+ "whoApprovedTime": "12:12"
944
+ },
945
+ "form": {
946
+ "formVersionId": "version-1.4.81",
947
+ "title": "Report a variance or breach",
948
+ "name": "cop-variance-breach-v2",
949
+ "submissionDate": "2025-04-04T17:18:12.915Z",
950
+ "submittedBy": "philip.harvey@digital.homeoffice.gov.uk",
951
+ "submittingUsersName": "Phil",
952
+ "submissionStartDate": "2025-04-04T17:17:10.353Z",
953
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
954
+ "submissionTeam": "cf576f61-26cd-4862-92e1-2d5cfc050c2d"
955
+ },
956
+ "eventOverview": "asd asd asd asd a",
957
+ "classification": "Technology",
958
+ "criticalSet": "Needs review",
959
+ "regionSet": "RCC",
960
+ "autoClose": "13 December 2023"
961
+ },
962
+ "priority": "Needs review",
963
+ "classification": "Technology",
964
+ "eventDateForNotification": "12 December 2023",
965
+ "incidentDateFormatted": "2023-12-12T12:12:00.000Z",
966
+ "assignedTeam": "RCC",
967
+ "reassignTaskFromRccForm": "cop-reassign-task",
968
+ "port": {
969
+ "id": 19,
970
+ "countryid": 234,
971
+ "commandid": 38,
972
+ "locationid": null,
973
+ "name": "Aberdeen Airport",
974
+ "addressid": null,
975
+ "subdivision": "ABE",
976
+ "municipality": "Aberdeen",
977
+ "geolong": "-2.20646",
978
+ "geolat": "57.200291",
979
+ "air": true,
980
+ "land": false,
981
+ "sea": false,
982
+ "rail": false,
983
+ "iata": "ABZ",
984
+ "icao": "EGPD",
985
+ "localcode": null,
986
+ "unlocode": "ABD",
987
+ "helipad": false,
988
+ "fixedpcp": null,
989
+ "portablepcp": null,
990
+ "egates": null,
991
+ "nonoperational": false,
992
+ "portsizeid": 1,
993
+ "juxtaposed": false,
994
+ "freightparcelposthub": false,
995
+ "validfrom": "2023-04-18T00:00:01.000Z",
996
+ "validto": null,
997
+ "updatedby": "Mohammed Abdul Odud",
998
+ "value": "19",
999
+ "label": "Aberdeen Airport",
1000
+ "hint": ""
1001
+ },
1002
+ "submissions": 1,
1003
+ "closeTaskTeam": "NCC",
1004
+ "cop-variance-breach-v2": {
1005
+ "id": "a50485e6-1178-11f0-b2da-32578bcf891c",
1006
+ "businessKey": "DEV-20250404-1301",
1007
+ "undefined": null,
1008
+ "formStatus": {
1009
+ "page": "reportVarianceStart"
1010
+ },
1011
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
1012
+ "links": [
1013
+ {
1014
+ "method": "GET",
1015
+ "href": "https://www.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/a50485e6-1178-11f0-b2da-32578bcf891c",
1016
+ "rel": "self"
1017
+ }
1018
+ ],
1019
+ "definitionId": "cop-variance-breach-v2:16:785014b8-0597-11f0-91c1-0e7b49677690",
1020
+ "caseInstanceId": null,
1021
+ "ended": false,
1022
+ "suspended": false,
1023
+ "tenantId": null,
1024
+ "eventTypeRadio": "Variance",
1025
+ "varianceReason": "Technology",
1026
+ "regionalCommandCentre": {
1027
+ "id": 23,
1028
+ "name": "Central",
1029
+ "directorateid": 2,
1030
+ "code": "BFCENT",
1031
+ "validfrom": "2019-01-01T00:01:00.000Z",
1032
+ "validto": null,
1033
+ "updatedby": null,
1034
+ "value": "23",
1035
+ "label": "Central",
1036
+ "hint": ""
1037
+ },
1038
+ "port": {
1039
+ "id": 19,
1040
+ "countryid": 234,
1041
+ "commandid": 38,
1042
+ "locationid": null,
1043
+ "name": "Aberdeen Airport",
1044
+ "addressid": null,
1045
+ "subdivision": "ABE",
1046
+ "municipality": "Aberdeen",
1047
+ "geolong": "-2.20646",
1048
+ "geolat": "57.200291",
1049
+ "air": true,
1050
+ "land": false,
1051
+ "sea": false,
1052
+ "rail": false,
1053
+ "iata": "ABZ",
1054
+ "icao": "EGPD",
1055
+ "localcode": null,
1056
+ "unlocode": "ABD",
1057
+ "helipad": false,
1058
+ "fixedpcp": null,
1059
+ "portablepcp": null,
1060
+ "egates": null,
1061
+ "nonoperational": false,
1062
+ "portsizeid": 1,
1063
+ "juxtaposed": false,
1064
+ "freightparcelposthub": false,
1065
+ "validfrom": "2023-04-18T00:00:01.000Z",
1066
+ "validto": null,
1067
+ "updatedby": "Mohammed Abdul Odud",
1068
+ "value": "19",
1069
+ "label": "Aberdeen Airport",
1070
+ "hint": ""
1071
+ },
1072
+ "dateOfEvent": "12-12-2023",
1073
+ "timeOfEvent": "12:12",
1074
+ "technologyOutage": "asd asd asd asd a",
1075
+ "uploadFiles": [
1076
+ {
1077
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
1078
+ "extension": "png",
1079
+ "type": "image/png",
1080
+ "file": {},
1081
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d"
1082
+ }
1083
+ ],
1084
+ "meta": {
1085
+ "documents": [
1086
+ {
1087
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
1088
+ "extension": "png",
1089
+ "type": "image/png",
1090
+ "file": {},
1091
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d",
1092
+ "indexInField": 0,
1093
+ "field": "uploadFiles",
1094
+ "size": 94437
1095
+ }
1096
+ ]
1097
+ },
1098
+ "hasApprovedVariance": "Yes",
1099
+ "whoApprovedOfficierEmail": {
1100
+ "email": "abdul.aziz@digital.homeoffice.gov.uk",
1101
+ "value": "abdul.aziz@digital.homeoffice.gov.uk",
1102
+ "label": "abdul.aziz@digital.homeoffice.gov.uk",
1103
+ "hint": ""
1104
+ },
1105
+ "whoApprovedDateTime": {
1106
+ "whoApprovedDate": "12-12-2023",
1107
+ "whoApprovedTime": "12:12"
1108
+ },
1109
+ "form": {
1110
+ "formVersionId": "version-1.4.81",
1111
+ "title": "Report a variance or breach",
1112
+ "name": "cop-variance-breach-v2",
1113
+ "submissionDate": "2025-04-04T17:18:12.915Z",
1114
+ "submittedBy": "philip.harvey@digital.homeoffice.gov.uk",
1115
+ "submittingUsersName": "Phil",
1116
+ "submissionStartDate": "2025-04-04T17:17:10.353Z",
1117
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
1118
+ "submissionTeam": "cf576f61-26cd-4862-92e1-2d5cfc050c2d"
1119
+ },
1120
+ "eventOverview": "asd asd asd asd a",
1121
+ "classification": "Technology",
1122
+ "criticalSet": "Needs review",
1123
+ "regionSet": "RCC",
1124
+ "autoClose": "13 December 2023"
1125
+ },
1126
+ "rccId": 23,
1127
+ "taskTitle": "TMS task",
1128
+ "eventTimeForNotification": "12:12",
1129
+ "status": "SUBMITTED",
1130
+ "statusCode": 201
1131
+ },
1132
+ "formKey": "cop-variance-breach-v2",
1133
+ "created": "Fri Apr 04 17:18:14 GMT 2025",
1134
+ "priority": 50,
1135
+ "suspended": false,
1136
+ "executionId": "cad157ee-1178-11f0-b2da-32578bcf891c",
1137
+ "lastUpdated": "Fri Apr 04 17:19:14 GMT 2025",
1138
+ "taskDefinitionKey": "ActivityUserTask",
1139
+ "due": "Fri Apr 04 17:18:14 GMT 2025",
1140
+ "name": "TMS Variance Breach Form Submission",
1141
+ "assignee": "philip.harvey@digital.homeoffice.gov.uk",
1142
+ "id": "cad157f2-1178-11f0-b2da-32578bcf891c"
1143
+ },
1144
+ "id": "a50485e6-1178-11f0-b2da-32578bcf891c",
1145
+ "businessKey": "DEV-20250404-1301",
1146
+ "undefined": "DEV-20250404-1301",
1147
+ "formStatus": {
1148
+ "page": "reportVarianceStart"
1149
+ },
1150
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
1151
+ "links": [
1152
+ {
1153
+ "method": "GET",
1154
+ "href": "https://www.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/a50485e6-1178-11f0-b2da-32578bcf891c",
1155
+ "rel": "self"
1156
+ }
1157
+ ],
1158
+ "definitionId": "cop-variance-breach-v2:16:785014b8-0597-11f0-91c1-0e7b49677690",
1159
+ "caseInstanceId": null,
1160
+ "ended": false,
1161
+ "suspended": false,
1162
+ "tenantId": null,
1163
+ "eventTypeRadio": "Variance",
1164
+ "varianceReason": "Technology",
1165
+ "regionalCommandCentre": {
1166
+ "id": 23,
1167
+ "name": "Central",
1168
+ "directorateid": 2,
1169
+ "code": "BFCENT",
1170
+ "validfrom": "2019-01-01T00:01:00.000Z",
1171
+ "validto": null,
1172
+ "updatedby": null,
1173
+ "value": "23",
1174
+ "label": "Central",
1175
+ "hint": ""
1176
+ },
1177
+ "port": {
1178
+ "id": 19,
1179
+ "countryid": 234,
1180
+ "commandid": 38,
1181
+ "locationid": null,
1182
+ "name": "Aberdeen Airport",
1183
+ "addressid": null,
1184
+ "subdivision": "ABE",
1185
+ "municipality": "Aberdeen",
1186
+ "geolong": "-2.20646",
1187
+ "geolat": "57.200291",
1188
+ "air": true,
1189
+ "land": false,
1190
+ "sea": false,
1191
+ "rail": false,
1192
+ "iata": "ABZ",
1193
+ "icao": "EGPD",
1194
+ "localcode": null,
1195
+ "unlocode": "ABD",
1196
+ "helipad": false,
1197
+ "fixedpcp": null,
1198
+ "portablepcp": null,
1199
+ "egates": null,
1200
+ "nonoperational": false,
1201
+ "portsizeid": 1,
1202
+ "juxtaposed": false,
1203
+ "freightparcelposthub": false,
1204
+ "validfrom": "2023-04-18T00:00:01.000Z",
1205
+ "validto": null,
1206
+ "updatedby": "Mohammed Abdul Odud",
1207
+ "value": "19",
1208
+ "label": "Aberdeen Airport",
1209
+ "hint": ""
1210
+ },
1211
+ "dateOfEvent": "12-12-2023",
1212
+ "timeOfEvent": "12:12",
1213
+ "technologyOutage": "asd asd asd asd a",
1214
+ "uploadFiles": [
1215
+ {
1216
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
1217
+ "extension": "png",
1218
+ "type": "image/png",
1219
+ "file": {},
1220
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d"
1221
+ }
1222
+ ],
1223
+ "meta": {
1224
+ "documents": [
1225
+ {
1226
+ "name": "Screenshot 2025-03-16 at 21.45.03.png",
1227
+ "extension": "png",
1228
+ "type": "image/png",
1229
+ "file": {},
1230
+ "url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20250404-1301/clean/7966b004-022b-44cb-b01a-36cb42033a6d",
1231
+ "indexInField": 0,
1232
+ "field": "uploadFiles",
1233
+ "size": 94437
1234
+ }
1235
+ ]
1236
+ },
1237
+ "hasApprovedVariance": "Yes",
1238
+ "whoApprovedOfficierEmail": {
1239
+ "email": "abdul.aziz@digital.homeoffice.gov.uk",
1240
+ "value": "abdul.aziz@digital.homeoffice.gov.uk",
1241
+ "label": "abdul.aziz@digital.homeoffice.gov.uk",
1242
+ "hint": ""
1243
+ },
1244
+ "whoApprovedDateTime": {
1245
+ "whoApprovedDate": "12-12-2023",
1246
+ "whoApprovedTime": "12:12"
1247
+ },
1248
+ "form": {
1249
+ "formVersionId": "version-1.4.81",
1250
+ "title": "Report a variance or breach",
1251
+ "name": "cop-variance-breach-v2",
1252
+ "submissionDate": "2025-04-04T17:18:12.915Z",
1253
+ "submittedBy": "philip.harvey@digital.homeoffice.gov.uk",
1254
+ "submittingUsersName": "Phil",
1255
+ "submissionStartDate": "2025-04-04T17:17:10.353Z",
1256
+ "formInstanceId": "2ac89ad8-ef5e-4d56-872d-802945b7ac0b",
1257
+ "submissionTeam": "cf576f61-26cd-4862-92e1-2d5cfc050c2d"
1258
+ },
1259
+ "eventOverview": "asd asd asd asd a",
1260
+ "classification": "Technology",
1261
+ "criticalSet": "Needs review",
1262
+ "regionSet": "RCC",
1263
+ "autoClose": "13 December 2023"
1264
+ }