@itentialopensource/email-notification
Version:
[Deprecated] Send Email Notifications
293 lines • 6.76 kB
JSON
{
"name": "Email Notification Wrapper",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"groups": [],
"x": -0.4453998280309544,
"y": 0.6692015209125475
},
"workflow_end": {
"name": "workflow_end",
"groups": [],
"x": 0.12088698140200287,
"y": 0.6772413793103448
},
"458e": {
"name": "transformation",
"canvasName": "transformation",
"summary": "Parse Form Data",
"description": "Parse Form Data",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"tr_id": "5fda8e5c255fc96a1dd6c4dc",
"variableMap": {
"formData": "$var.job.formData"
},
"options": {
"extractOutput": false,
"validateIncoming": false,
"revertToDefaultValue": false
}
},
"outgoing": {
"to": null,
"from": null,
"subject": null,
"messageBody": null,
"adapterId": null
},
"decorators": []
},
"deprecated": false,
"groups": [],
"x": -0.3379191745485813,
"y": 0.6679340937896071,
"retrySettings": null
},
"e4fa": {
"name": "childJob",
"canvasName": "childJob",
"summary": "Email Notification",
"description": "Email Notification",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"task": "",
"workflow": "Email Notification",
"variables": {
"from": {
"editable": true,
"task": "458e",
"value": "from"
},
"to": {
"editable": true,
"task": "458e",
"value": "to"
},
"subject": {
"editable": true,
"task": "458e",
"value": "subject"
},
"body": {
"editable": true,
"task": "458e",
"value": "messageBody"
},
"adapterId": {
"editable": true,
"task": "458e",
"value": "adapterId"
}
},
"data_array": "",
"transformation": "",
"loopType": ""
},
"outgoing": {
"job_details": null
}
},
"deprecated": false,
"groups": [],
"actor": "job",
"x": -0.19002579535683578,
"y": 0.6768060836501901
},
"33c0": {
"name": "query",
"canvasName": "query",
"summary": "Query result of Email Notification",
"description": "Query result of email notification",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "automationStatus",
"obj": "$var.e4fa.job_details"
},
"outgoing": {
"return_data": "$var.job.automationStatus"
},
"error": "",
"decorators": []
},
"deprecated": false,
"groups": [],
"x": -0.06362854686156492,
"y": 0.6717363751584284,
"scheduled": false
}
},
"transitions": {
"4971": {},
"workflow_start": {
"458e": {
"type": "standard",
"state": "success"
}
},
"workflow_end": {},
"d30a": {},
"458e": {
"e4fa": {
"type": "standard",
"state": "success"
}
},
"4bd0": {},
"e4fa": {
"33c0": {
"type": "standard",
"state": "success"
}
},
"33c0": {
"workflow_end": {
"type": "standard",
"state": "success"
}
}
},
"font_size": 12,
"created": "2023-07-14T15:01:56.926Z",
"created_by": {
"provenance": "local_aaa",
"username": "admin@pronghorn",
"firstname": "admin",
"inactive": false
},
"createdVersion": "5.44.64-2022.1.36.0",
"last_updated": "2023-07-14T18:58:01.750Z",
"last_updated_by": {
"provenance": "local_aaa",
"username": "admin@pronghorn",
"firstname": "admin",
"inactive": false
},
"lastUpdatedVersion": "4.15.0-2023.1.85.0",
"type": "automation",
"description": null,
"inputSchema": {
"type": "object",
"properties": {
"formData": {
"$id": "formData",
"type": "object",
"properties": {
"senderEmailAddress": {
"type": "string",
"examples": [
"we"
]
},
"receiverEmailAddress": {
"type": "string"
},
"subject": {
"type": "string",
"examples": [
"rewrr"
]
},
"message": {
"type": "string",
"examples": [
"erw"
]
},
"emailAdapter": {
"type": "string",
"examples": [
"erw"
]
}
},
"required": []
}
},
"required": [
"formData"
]
},
"outputSchema": {
"type": "object",
"properties": {
"formData": {
"$id": "formData",
"type": "object",
"properties": {
"senderEmailAddress": {
"type": "string",
"examples": [
"we"
]
},
"receiverEmailAddress": {
"type": "string"
},
"subject": {
"type": "string",
"examples": [
"rewrr"
]
},
"message": {
"type": "string",
"examples": [
"erw"
]
},
"emailAdapter": {
"type": "string",
"examples": [
"erw"
]
}
},
"required": []
},
"_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"initiator": {
"type": "string"
},
"automationStatus": {
"title": "return_data",
"type": [
"string",
"number",
"object",
"integer",
"array",
"boolean",
"null"
],
"examples": [
"value"
]
}
}
},
"migrationVersion": 2,
"canvasVersion": 1,
"tags": [],
"groups": []
}