{ "name": "Sample Notification", "description": "The purpose of this workflow is to check out the Send Notification action.", "modified": "2022-11-30T20:23:31.487167127Z", "definition": { "start": "Get Identity", "steps": { "Get Identity": { "actionId": "sp:get-identity", "attributes": { "id.$": "$.trigger.identity.id" }, "nextStep": "Send Email", "type": "action", "versionNumber": 2 }, "Send Email": { "actionId": "sp:send-email", "attributes": { "body": "Hello ${var1}!", "context": "{\"var1.$\":\"$.getIdentity.attributes.displayName\"}", "recipientEmailList.$": "$.getIdentity.attributes.email", "subject": "Test Email Notification" }, "nextStep": "success", "type": "action", "versionNumber": 2 }, "success": { "type": "success" } } }, "creator": { "type": "IDENTITY", "id": "2c9180857c7f5714017c803c84300002", "name": "blaise.bostelmann" }, "trigger": { "type": "EVENT", "attributes": { "filter.$": "$.changes[?(@.attribute == \"cloudLifecycleState\" && @.newValue == \"active\" && (@.oldValue == \"preActive\" || @.oldValue == \"terminated\" || @.oldValue == \"deleted\"))]", "id": "idn:identity-attributes-changed" } } }