CYP SE - duplicate SE jobs added
This workflow is included in the Local Government Essentials - Service Enquiries package.
Description
This workflow has no description.
Properties
This workflow has the following properties.
| Property | Value |
|---|---|
| Name | CYP SE - duplicate SE jobs added |
| Code | workflows_cYPSEDuplicateJobsAdded_8c0f8348172dee60f26987fe |
| Type | Workflow |
| Context | Package |
| Enabled | Yes |
| Tags | Causeway, Causeway Service Enquiries |
| Log retention | 60 days |
Trigger
The system triggers this workflow when items of the design below are edited. Where attributes are listed, an edit to anything else is ignored.
| Property | Value |
|---|---|
| Workflow type | Event workflow |
| Applies to | Service enquiry jobs |
| Events | Edit |
| Collections | Live |
| Attributes listened for | attributes_serviceEnquiryJobsSelectParentJobifDuplicate_8ead0dcedecdd8b9597b6ca6 (Select parent job (if duplicate)) |
| Output mode | ManyItems (Runs once for all items) |
| Can be triggered by other workflows | Yes (indirectly, via item changes) |
Actions
This workflow runs 8 actions, in the order shown in this simplified diagram. Every action's full settings are in the configuration below.
Configuration
The full configuration of this workflow, including every action's parameters.
Show configuration (221 lines)
{
"trigger": {
"dodiCode": "designInterfaces_serviceEnquiryJobs_839a072ae1cfa274038ab3ab",
"collections": [
"Live"
],
"events": [
"Edit"
],
"attributesListeningFor": [
"attributes_serviceEnquiryJobsSelectParentJobifDuplicate_8ead0dcedecdd8b9597b6ca6"
],
"outputMode": "ManyItems",
"canBeTriggeredByWorkflows": true
},
"actions": [
{
"actionId": "82beff732db8c5efdd3e6f17",
"designCode": "designs_workflowFilterAction",
"description": "Is set duplicate",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowFilterActionsAqsQuery",
"value": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_itemsSubtitle"
],
"collectionCode": "Live",
"dodiCode": "designInterfaces_serviceEnquiryJobs_839a072ae1cfa274038ab3ab"
},
"children": [
{
"type": "Exists",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_serviceEnquiryJobsSelectParentJobifDuplicate_8ead0dcedecdd8b9597b6ca6"
}
}
]
}
]
},
"attributeType": "Aqs"
}
}
],
"variables": [],
"actions": [
{
"actionId": "83ff80d4ff9c065301d4a90d",
"designCode": "designs_workflowRelationAction",
"description": "Go to parent job",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_serviceEnquiryJobsSelectParentJobifDuplicate_8ead0dcedecdd8b9597b6ca6",
"attributeType": "Link"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8328ccef40ea0f497f013c2c",
"designCode": "designs_workflowRelationAction",
"description": "Go to parent service enquiry",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root^attributes_defectsRaisingJobsRaisedJobs<designs_serviceEnquiries_882914a8a671eb6a4bfe3893>",
"attributeType": "Link"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8f2f1d01d5b2ecbdb336fcdd",
"designCode": "designs_workflowRelationAction",
"description": "Go to child inspections",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root.attributes_defectsWithInspectionsDefectInspection",
"attributeType": "Link"
}
}
],
"variables": [],
"actions": []
}
]
}
]
},
{
"actionId": "87d675a86f7deb4152d858e3",
"designCode": "designs_workflowRelationAction",
"description": "",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowRelationActionsAqsPath",
"value": "root^attributes_defectsRaisingJobsRaisedJobs<designs_serviceEnquiries_882914a8a671eb6a4bfe3893>",
"attributeType": "Link"
}
}
],
"variables": [],
"actions": [
{
"actionId": "8c3cff7db0039ec85f3cdcba",
"designCode": "designs_workflowAddLinks",
"description": "",
"parameters": [
{
"attributeCode": "attributes_workflowActionAddLinksItemsCode",
"attributeType": "Link",
"value": {
"outputAction": "83ff80d4ff9c065301d4a90d",
"itemValue": {
"property": "ItemId"
},
"outputMode": "Input"
}
},
{
"attribute": {
"attributeCode": "attributes_workflowActionPatchLinkAttributeCode",
"value": "attributes_defectsRaisingJobsRaisedJobs",
"attributeType": "String"
}
}
],
"variables": [],
"actions": []
},
{
"actionId": "8cdfa35ced45369fa4ff7546",
"designCode": "designs_workflowAddLinks",
"description": "",
"parameters": [
{
"attributeCode": "attributes_workflowActionAddLinksItemsCode",
"attributeType": "Link",
"value": {
"outputAction": "8f2f1d01d5b2ecbdb336fcdd",
"itemValue": {
"property": "ItemId"
},
"outputMode": "Input"
}
},
{
"attribute": {
"attributeCode": "attributes_workflowActionPatchLinkAttributeCode",
"value": "attributes_defectsWithInspectionsDefectInspection",
"attributeType": "String"
}
}
],
"variables": [],
"actions": []
},
{
"actionId": "892ca47e99f02d358d6b988d",
"designCode": "designs_workflowEditItemAction",
"description": "",
"parameters": [
{
"attributeCode": "attributes_defectsRemediedDate",
"attributeType": "DateTime",
"value": {
"outputAction": "8328ccef40ea0f497f013c2c",
"itemValue": {
"attributeCode": "attributes_defectsRemediedDate"
},
"outputMode": "Input"
}
},
{
"attributeCode": "attributes_defectsStatus",
"attributeType": "Link",
"value": {
"outputAction": "8328ccef40ea0f497f013c2c",
"itemValue": {
"attributeCode": "attributes_defectsStatus"
},
"outputMode": "Input"
}
},
{
"attributeCode": "attributes_serviceEnquiriesOutcome_82027e365107da7e4df0db7f",
"attributeType": "Link",
"value": {
"outputAction": "8328ccef40ea0f497f013c2c",
"itemValue": {
"attributeCode": "attributes_serviceEnquiriesOutcome_82027e365107da7e4df0db7f"
},
"outputMode": "Input"
}
}
],
"variables": [],
"actions": []
}
]
}
]
}
]
}