@itentialopensource/servicenow-schedule-automation-using-change-request
Version:
Allows you to dynamically schedule an Automation Catalog item to start an Automation at the scheduled Start Date of a ServiceNow Change Request.
1,462 lines • 87.7 kB
JSON
{
"metadata": {
"name": "@itentialopensource/servicenow-schedule-automation-using-change-request",
"version": "0.2.5-2021.2.2",
"description": "Allows you to dynamically schedule an Automation Catalog item to start an Automation at the scheduled Start Date of a ServiceNow Change Request.",
"license": "Apache-2.0",
"repository": {
"type": "gitlab",
"hostname": "gitlab.com",
"path": "itentialopensource/pre-built-automations"
},
"keywords": [
"Itential",
"IAP",
"App-Artifacts",
"artifacts",
"ServiceNow",
"Automation Catalog",
"Change Request",
"Scheduling",
"Schedule",
"Change Window"
],
"author": "Itential Artifacts",
"IAPDependencies": {
"@itential/app-automation_catalog": "2.4.2",
"@itential/app-operations_manager": "",
"@itential/app-json_forms": "1.13.0",
"@itential/app-workflow_engine": "6.7.10",
"@itential/app-template_builder": "2.3.6",
"@itentialopensource/adapter-servicenow": "2.2.0"
},
"gitlabId": 18440776
},
"manifest": {
"bundleName": "ServiceNow Schedule Automation Using Change Request",
"fingerprint": "5ea6f925778a7c0c373bd1c8",
"createdEpoch": "1588001061957",
"artifacts": [
{
"id": "ServiceNow Schedule Automation Catalog Item At Start Date",
"name": "ServiceNow Schedule Automation Catalog Item At Start Date",
"type": "automation",
"location": "/bundles/automations/ServiceNow Schedule Automation Catalog Item At Start Date.json",
"properties": {
"entryPoint": false
}
},
{
"id": "ServiceNow Schedule Automation Catalog Item At Start Date - Automation Catalog",
"name": "ServiceNow Schedule Automation Catalog Item At Start Date - Automation Catalog",
"type": "workflow",
"location": "/bundles/workflows/ServiceNow Schedule Automation Catalog Item At Start Date - Automation Catalog.json",
"properties": {
"entryPoint": false
}
},
{
"id": "ServiceNow Schedule Automation Catalog Item At Start Date",
"name": "ServiceNow Schedule Automation Catalog Item At Start Date",
"type": "workflow",
"location": "/bundles/workflows/ServiceNow Schedule Automation Catalog Item At Start Date.json",
"properties": {
"entryPoint": false
}
},
{
"id": "ServiceNow Schedule Automation Catalog Item At Start Date - Schedule Automation Catalog Item",
"name": "ServiceNow Schedule Automation Catalog Item At Start Date - Schedule Automation Catalog Item",
"type": "workflow",
"location": "/bundles/workflows/ServiceNow Schedule Automation Catalog Item At Start Date - Schedule Automation Catalog Item.json",
"properties": {
"entryPoint": false
}
},
{
"id": "ServiceNow Schedule Automation Catalog Item At Start Date form",
"name": "ServiceNow Schedule Automation Catalog Item At Start Date form",
"type": "json-forms",
"location": "/bundles/json_forms/ServiceNow Schedule Automation Catalog Item At Start Date form.json",
"properties": {
"entryPoint": false
}
},
{
"id": "ServiceNow Schedule Automation - Workflow Error Email",
"name": "ServiceNow Schedule Automation - Workflow Error Email",
"type": "template",
"location": "/bundles/templates/ServiceNow Schedule Automation - Workflow Error Email.json",
"properties": {
"entryPoint": false
}
}
]
},
"bundles": [
{
"type": "automation",
"data": {
"_id": "61b25a613c220d01ae7f125c",
"name": "ServiceNow Schedule Automation Catalog Item At Start Date",
"description": "",
"componentName": "ServiceNow Schedule Automation Catalog Item At Start Date - Automation Catalog",
"componentType": "workflows",
"gbac": {
"write": [],
"read": []
},
"created": "2021-12-09T19:34:57.288Z",
"createdBy": "clarisa.colton@itential.com",
"lastUpdated": "2021-12-09T19:35:05.633Z",
"lastUpdatedBy": "clarisa.colton@itential.com",
"triggers": [
{
"_id": "61b25a613c220d01ae7f125d",
"created": "2021-12-09T19:34:57.616Z",
"createdBy": "clarisa.colton@itential.com",
"lastUpdated": "2021-12-09T19:34:57.616Z",
"lastUpdatedBy": "clarisa.colton@itential.com",
"name": "Manual Trigger (migrated from ServiceNow Schedule Automation Catalog Item At Start Date)",
"type": "manual",
"enabled": true,
"actionType": "automations",
"actionId": "61b25a613c220d01ae7f125c",
"formId": "ServiceNow Schedule Automation Catalog Item At Start Date form",
"formData": {
"changeNumber": "CHG0000001",
"workflowId": "c8dcc6cb-1148-4d8d-95ca-fe84f384b435",
"formId": "5e99211a646ef3396401b2b5"
},
"migrationVersion": 1
}
]
}
},
{
"type": "workflow",
"data": {
"name": "ServiceNow Schedule Automation Catalog Item At Start Date - Automation Catalog",
"tasks": {
"4728": {
"name": "query",
"canvasName": "query",
"summary": "Query formId",
"description": "Query formId",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "formId",
"obj": "$var.job.formData"
},
"outgoing": {
"return_data": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>query</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
}
],
"groups": [],
"x": 0.41364421416234887,
"y": 0.5006180469715699,
"scheduled": false
},
"workflow_start": {
"name": "workflow_start",
"groups": [],
"x": 0.18911917098445596,
"y": 0.580964153275649
},
"workflow_end": {
"name": "workflow_end",
"groups": [],
"x": 1.3013816925734025,
"y": 0.5859085290482077
},
"8de8": {
"name": "childJob",
"summary": "Create Scheduled Automation Catalog Item",
"description": "Create Scheduled Automation Catalog Item",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"task": "",
"workflow": "ServiceNow Schedule Automation Catalog Item At Start Date",
"variables": {
"changeNumber": {
"variable": "",
"task": "467b",
"value": "return_data"
},
"workflowId": {
"variable": "",
"task": "cc18",
"value": "return_data"
},
"formId": {
"variable": "",
"task": "4728",
"value": "return_data"
},
"initiator": {
"variable": "",
"task": "job",
"value": "initiator"
},
"_id": {
"variable": "",
"task": "job",
"value": "_id"
}
}
},
"outgoing": {
"job_details": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>child</span>Job"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Child</span> Job"
},
{
"key": "description",
"highlightString": "Run a <span class='highlight-string'>child</span> Job inside a Workflow"
}
],
"groups": [],
"actor": "job",
"x": 0.6200345423143351,
"y": 0.5859085290482077
},
"f362": {
"name": "query",
"canvasName": "query",
"summary": "Query taskError from childJob and assign it to the job variable taskError",
"description": "Query taskError from childJob and assign it to the job variable taskError",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "taskError",
"obj": "$var.8de8.job_details"
},
"outgoing": {
"return_data": "$var.job.taskError"
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>query</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
}
],
"groups": [],
"x": 0.8894645941278065,
"y": 0.7700865265760197,
"scheduled": false
},
"9db0": {
"name": "evaluation",
"canvasName": "evaluation",
"summary": "Check if taskError is empty",
"description": "Check if taskError is empty",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": "taskError",
"operand_1": {
"variable": "job_details",
"task": "8de8"
},
"operator": "==",
"operand_2": {
"variable": "",
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>eval</span>uation"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Eval</span>uation Task"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>eval</span>uation"
}
],
"groups": [],
"x": 0.8169257340241797,
"y": 0.5784919653893696
},
"613a": {
"name": "renderJinjaTemplate",
"canvasName": "renderJinjaTemplate",
"summary": "Render Jinja Template for \"ServiceNow Schedule Automation - Workflow Error Email\"",
"description": "Render Jinja Template for \"ServiceNow Schedule Automation - Workflow Error Email\"",
"location": "Application",
"locationType": null,
"app": "TemplateBuilder",
"displayName": "TemplateBuilder",
"type": "automatic",
"variables": {
"incoming": {
"name": "ServiceNow Schedule Automation - Workflow Error Email",
"context": "$var.fe6a.merged_object"
},
"outgoing": {
"renderedTemplate": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>render</span>JinjaTemplate"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Render</span> Jinja Template"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Render</span>s jinja template output."
}
],
"groups": [],
"actor": "Pronghorn",
"x": 1.3082901554404145,
"y": 1.061804697156984,
"scheduled": false
},
"9da6": {
"name": "query",
"canvasName": "query",
"summary": "Query renderedTemplate",
"description": "Query renderedTemplate",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "renderedTemplate",
"obj": "$var.613a.renderedTemplate"
},
"outgoing": {
"return_data": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>query</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
}
],
"groups": [],
"x": 1.3013816925734025,
"y": 0.9134734239802225,
"scheduled": false
},
"fe6a": {
"name": "merge",
"canvasName": "merge",
"summary": "Context for render jinja template task",
"description": "Context for render jinja template task",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"data_to_merge": [
{
"key": "taskError",
"value": {
"task": "job",
"variable": "taskError"
}
},
{
"key": "id",
"value": {
"task": "job",
"variable": "_id",
"editable": false
}
},
{
"key": "inputData",
"value": {
"task": "job",
"variable": "formData"
}
}
]
},
"outgoing": {
"merged_object": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>merge</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Merge</span> Data"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Merge</span> data into a single object"
}
],
"groups": [],
"x": 1.1614853195164077,
"y": 1.0704573547589618
},
"a5db": {
"name": "newVariable",
"canvasName": "newVariable",
"summary": "Create a Job Variable",
"description": "Create a new Job variable by Job ID and assign it a value.",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"name": "taskError",
"value": ""
},
"outgoing": {
"value": null
}
},
"deprecated": false,
"matched": [],
"groups": [],
"x": 0.30483592400690845,
"y": 0.588380716934487
},
"e702": {
"name": "stub",
"canvasName": "stub",
"summary": "Failure message placeholder, this can be an email task",
"description": "Failure message placeholder, this can be an email task",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"type": "success",
"delay": "",
"response": "$var.9da6.return_data"
},
"outgoing": {
"response": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>stub</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Stub</span>"
},
{
"key": "description",
"highlightString": "Create a <span class='highlight-string'>stub</span> for an automated task"
}
],
"groups": [],
"actor": "Pronghorn",
"x": 1.2996545768566494,
"y": 0.761433868974042,
"scheduled": false
},
"467b": {
"name": "query",
"canvasName": "query",
"summary": "Query changeNumber",
"description": "Query changeNumber",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "changeNumber",
"obj": "$var.job.formData"
},
"outgoing": {
"return_data": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>query</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
}
],
"groups": [],
"x": 0.4075993091537133,
"y": 0.6996291718170581,
"scheduled": false
},
"cc18": {
"name": "query",
"canvasName": "query",
"summary": "Query workflowId",
"description": "Query workflowId",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "workflowId",
"obj": "$var.job.formData"
},
"outgoing": {
"return_data": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>query</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
}
],
"groups": [],
"x": 0.40932642487046633,
"y": 0.6019777503090235,
"scheduled": false
}
},
"transitions": {
"4728": {
"8de8": {
"type": "standard",
"state": "success"
}
},
"5513": {},
"workflow_start": {
"a5db": {
"type": "standard",
"state": "success"
}
},
"workflow_end": {},
"8de8": {
"9db0": {
"type": "standard",
"state": "success"
}
},
"f362": {
"fe6a": {
"type": "standard",
"state": "success"
}
},
"9db0": {
"f362": {
"type": "standard",
"state": "failure"
},
"workflow_end": {
"type": "standard",
"state": "success"
}
},
"613a": {
"9da6": {
"type": "standard",
"state": "success"
}
},
"9da6": {
"e702": {
"type": "standard",
"state": "success"
}
},
"fe6a": {
"613a": {
"type": "standard",
"state": "success"
}
},
"a5db": {
"4728": {
"type": "standard",
"state": "success"
},
"cc18": {
"type": "standard",
"state": "success"
},
"467b": {
"type": "standard",
"state": "success"
}
},
"e702": {
"workflow_end": {
"type": "standard",
"state": "success"
}
},
"467b": {
"8de8": {
"type": "standard",
"state": "success"
}
},
"cc18": {
"8de8": {
"type": "standard",
"state": "success"
}
}
},
"font_size": 12,
"created": "2020-04-10T20:01:23.598Z",
"created_by": {
"provenance": "Local AAA",
"username": "admin@pronghorn",
"firstname": "admin",
"inactive": false,
"email": "",
"groups": [
"admin",
"pronghorn_admin"
]
},
"createdVersion": "5.5.9-2019.3.14.0",
"groups": [],
"last_updated": "2020-04-17T03:20:30.729Z",
"last_updated_by": {
"provenance": "Local AAA",
"username": "admin@pronghorn",
"firstname": "admin",
"inactive": false,
"email": "",
"groups": [
"admin",
"pronghorn_admin"
]
},
"lastUpdatedVersion": "5.5.9-2019.3.14.0",
"type": "automation",
"description": null,
"tags": []
}
},
{
"type": "workflow",
"data": {
"name": "ServiceNow Schedule Automation Catalog Item At Start Date",
"tasks": {
"5614": {
"name": "stub",
"canvasName": "stub",
"summary": "Could not get start_date from response.",
"description": "Could not get start_date from response.",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"type": "error",
"delay": "",
"response": "Could not get start_date from response."
},
"outgoing": {
"response": null
},
"error": "$var.job.taskError"
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>stub</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Stub</span>"
},
{
"key": "description",
"highlightString": "Create a <span class='highlight-string'>stub</span> for an automated task"
}
],
"groups": [],
"actor": "Pronghorn",
"x": 1.3989637305699483,
"y": 0.7466007416563659,
"scheduled": false
},
"9509": {
"name": "makeData",
"canvasName": "makeData",
"summary": "Format Automation Catalog Name",
"description": "Format Automation Catalog Name",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"input": "Automatically Scheduled Change #<!number!>",
"outputType": "string",
"variables": "$var.42d6.return_data"
},
"outgoing": {
"output": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>make</span>Data"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Make</span> Data"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Make</span> Data"
}
],
"groups": [],
"actor": "Pronghorn",
"x": 1.5500863557858378,
"y": 0.546353522867738,
"scheduled": false
},
"workflow_start": {
"name": "workflow_start",
"groups": [],
"x": 0.44559585492227977,
"y": 0.546353522867738
},
"workflow_end": {
"name": "workflow_end",
"groups": [],
"x": 1.4291882556131261,
"y": 1.0865265760197775
},
"e6a6": {
"name": "newVariable",
"canvasName": "newVariable",
"summary": "Create a Job Variable",
"description": "Create a new Job variable by Job ID and assign it a value.",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"name": "taskError",
"value": ""
},
"outgoing": {
"value": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "new<span class='highlight-string'>Varia</span>ble"
},
{
"key": "summary",
"highlightString": "Create a Job <span class='highlight-string'>Varia</span>ble"
},
{
"key": "description",
"highlightString": "Create a new Job <span class='highlight-string'>varia</span>ble by Job ID and assign it a value."
}
],
"groups": [],
"x": 0.5509499136442142,
"y": 0.5401730531520396
},
"f4c1": {
"name": "query",
"canvasName": "query",
"summary": "Query change number from response",
"description": "Query change number from response",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "number",
"obj": "$var.42d6.return_data"
},
"outgoing": {
"return_data": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>quer</span>y"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Quer</span>y Data Using 'json-query' Format"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Quer</span>y data using a dot/bracket notation string and a matching key/value pair."
}
],
"groups": [],
"x": 1.197754749568221,
"y": 0.5426452410383189,
"scheduled": false
},
"8d9a": {
"name": "stub",
"canvasName": "stub",
"summary": "Could not query change number from response.",
"description": "Could not query change number from response.",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"type": "error",
"delay": "",
"response": "Could not query change number from response."
},
"outgoing": {
"response": null
},
"error": "$var.job.taskError"
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>stub</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Stub</span>"
},
{
"key": "description",
"highlightString": "Create a <span class='highlight-string'>stub</span> for an automated task"
}
],
"groups": [],
"actor": "Pronghorn",
"x": 1.2037996545768566,
"y": 0.7466007416563659,
"scheduled": false
},
"31e5": {
"name": "merge",
"canvasName": "merge",
"summary": "Merge error data",
"description": "Merge error data",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"data_to_merge": [
{
"key": "taskError",
"value": {
"task": "job",
"variable": "taskError"
}
},
{
"key": "id",
"value": {
"task": "job",
"variable": "_id"
}
}
]
},
"outgoing": {
"merged_object": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>merge</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Merge</span> Data"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Merge</span> data into a single object"
}
],
"groups": [],
"x": 1.0587219343696028,
"y": 1.0889987639060568
},
"888c": {
"name": "merge",
"canvasName": "merge",
"summary": "Filter for querying change",
"description": "Filter for querying change",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"data_to_merge": [
{
"key": "number",
"value": {
"task": "job",
"variable": "changeNumber",
"editable": true
}
}
]
},
"outgoing": {
"merged_object": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>merge</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Merge</span> Data"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Merge</span> data into a single object"
}
],
"groups": [],
"x": 0.655440414507772,
"y": 0.5451174289245982
},
"d1e0": {
"name": "query",
"canvasName": "query",
"summary": "Query start date from response",
"description": "Query start date from response",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "start_date",
"obj": "$var.42d6.return_data"
},
"outgoing": {
"return_data": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>quer</span>y"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Quer</span>y Data Using 'json-query' Format"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Quer</span>y data using a dot/bracket notation string and a matching key/value pair."
}
],
"groups": [],
"x": 1.3946459412780656,
"y": 0.5426452410383189,
"scheduled": false
},
"42d6": {
"name": "query",
"canvasName": "query",
"summary": "Query first item from response",
"description": "Query first item from response",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "response[0]",
"obj": "$var.a624.result"
},
"outgoing": {
"return_data": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>quer</span>y"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Quer</span>y Data Using 'json-query' Format"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Quer</span>y data using a dot/bracket notation string and a matching key/value pair."
}
],
"groups": [],
"x": 1.0112262521588946,
"y": 0.5426452410383189,
"scheduled": false
},
"5cf9": {
"name": "stub",
"canvasName": "stub",
"summary": "Could not get change information from response.",
"description": "Could not get change information from response.",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"type": "error",
"delay": "",
"response": "Could not get change information from response."
},
"outgoing": {
"response": null
},
"error": "$var.job.taskError"
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>stub</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Stub</span>"
},
{
"key": "description",
"highlightString": "Create a <span class='highlight-string'>stub</span> for an automated task"
}
],
"groups": [],
"actor": "Pronghorn",
"x": 1.0094991364421417,
"y": 0.7404202719406675,
"scheduled": false
},
"fc42": {
"name": "childJob",
"canvasName": "childJob",
"summary": "Run Child Job",
"description": "Run a child Job inside a Workflow",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"task": "",
"workflow": "ServiceNow Schedule Automation Catalog Item At Start Date - Schedule Automation Catalog Item",
"variables": {
"nextRunAt": {
"variable": "",
"task": "d1e0",
"value": "return_data"
},
"automationCatalogName": {
"variable": "",
"task": "9509",
"value": "output"
},
"description": {
"variable": "",
"task": "9509",
"value": "output"
},
"formData": {
"variable": "",
"task": "6e19",
"value": "merged_object"
},
"workflowId": {
"variable": "",
"task": "job",
"value": "workflowId",
"editable": true
},
"formId": {
"variable": "",
"task": "job",
"editable": true,
"value": "formId"
},
"initiator": {
"variable": "",
"task": "job",
"value": "initiator"
},
"_id": {
"variable": "",
"task": "job",
"value": "_id"
}
}
},
"outgoing": {
"job_details": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>child</span>Job"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Child</span> Job"
},
{
"key": "description",
"highlightString": "Run a <span class='highlight-string'>child</span> Job inside a Workflow"
}
],
"groups": [],
"actor": "job",
"x": 2.1407599309153715,
"y": 0.5574783683559951
},
"8a5a": {
"name": "evaluation",
"canvasName": "evaluation",
"summary": "Check if taskError is empty",
"description": "Check if taskError is empty",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": "taskError",
"operand_1": {
"variable": "job_details",
"task": "fc42"
},
"operator": "==",
"operand_2": {
"variable": "",
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>eval</span>uation"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Eval</span>uation Task"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>eval</span>uation"
}
],
"groups": [],
"x": 2.139896373056995,
"y": 0.9085290482076638
},
"a3a4": {
"name": "query",
"canvasName": "query",
"summary": "Query taskError",
"description": "Query taskError",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "taskError",
"obj": "$var.fc42.job_details"
},
"outgoing": {
"return_data": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>query</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
}
],
"groups": [],
"x": 1.436096718480138,
"y": 0.9357231149567367,
"scheduled": false
},
"b8da": {
"name": "stub",
"canvasName": "stub",
"summary": "Could not schedule job",
"description": "Could not schedule job",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"type": "error",
"delay": "",
"response": "$var.a3a4.return_data"
},
"outgoing": {
"response": null
},
"error": "$var.job.taskError"
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>stub</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Stub</span>"
},
{
"key": "description",
"highlightString": "Create a <span class='highlight-string'>stub</span> for an automated task"
}
],
"groups": [],
"actor": "Pronghorn",
"x": 1.3316062176165804,
"y": 0.9320148331273177,
"scheduled": false
},
"6e19": {
"name": "merge",
"canvasName": "merge",
"summary": "Scheduled Form Data",
"description": "Scheduled Form Data",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"data_to_merge": [
{
"key": "cmdbCi",
"value": {
"task": "bbc8",
"variable": "return_data"
}
}
]
},
"outgoing": {
"merged_object": null
}
},
"deprecated": false,
"ma