{ "name": "Simple Mover - Certification Campaign", "description": "Workflow which is triggered when IDN detects when an identity has changed its Manager changes, Job change (position ID), Location change (Location ID), BU change (Business ID). It will create a manager certification campaing", "modified": "2022-09-12T10:27:05.204472091Z", "definition": { "start": "Get Identity", "steps": { "Activate Certification Campaign": { "actionId": "sp:activate-campaign", "attributes": { "id.$": "$.createCertificationCampaign.id" }, "nextStep": "success", "type": "action", "versionNumber": 1 }, "Activate Certification Campaign 1": { "actionId": "sp:activate-campaign", "attributes": { "id.$": "$.createCertificationCampaign1.id" }, "nextStep": "success", "type": "action", "versionNumber": 1 }, "Activate Certification Campaign 2": { "actionId": "sp:activate-campaign", "attributes": { "id.$": "$.createCertificationCampaign2.id" }, "nextStep": "success", "type": "action", "versionNumber": 1 }, "Activate Certification Campaign 3": { "actionId": "sp:activate-campaign", "attributes": { "id.$": "$.createCertificationCampaign2.id" }, "nextStep": "success", "type": "action", "versionNumber": 1 }, "Compare Strings": { "choiceList": [ { "comparator": "StringMatches", "nextStep": "Create Certification Campaign", "variableA.$": "$.trigger.changes[?(@.attribute == 'manager')].attribute", "variableB": "manager" } ], "defaultStep": "Compare Strings 1", "description": "Compare manager", "type": "choice" }, "Compare Strings 1": { "choiceList": [ { "comparator": "StringMatches", "nextStep": "Create Certification Campaign 1", "variableA.$": "$.trigger.changes[?(@.attribute == 'jobtitle')].attribute", "variableB": "jobtitle" } ], "defaultStep": "Compare Strings 2", "description": "Compare jobtitle", "type": "choice" }, "Compare Strings 2": { "choiceList": [ { "comparator": "StringMatches", "nextStep": "Create Certification Campaign 2", "variableA.$": "$.trigger.changes[?(@.attribute == 'location')].attribute", "variableB": "location" } ], "defaultStep": "Compare Strings 4", "description": "Compare location", "type": "choice" }, "Compare Strings 3": { "choiceList": [ { "comparator": "StringEquals", "nextStep": "Compare Strings", "variableA.$": "$.getIdentity.attributes.cloudAuthoritativeSource", "variableB": "Cornestone" } ], "defaultStep": "success", "type": "choice" }, "Compare Strings 4": { "choiceList": [ { "comparator": "StringEquals", "nextStep": "Create Certification Campaign 3", "variableA.$": "$.trigger.changes[?(@.attribute == 'businessUnit')].attribute", "variableB": "businessUnit" } ], "defaultStep": "success", "description": "Compare businessUnit", "type": "choice" }, "Create Certification Campaign": { "actionId": "sp:create-campaign", "attributes": { "autoRevokeAllowed": true, "description": "Campaing automatically generated by IdentityNow after detecting a mover event.", "duration": "4w", "emailNotificationEnabled": false, "identityId.$": "$.trigger.identity.id", "name": "Mover - Certification Campaing", "reviewerId.$": "$.getIdentity.manager.id", "status": "DISABLED", "type": "MANAGER" }, "description": "Campaing automatically generated by IdentityNow after detecting a mover event.", "nextStep": "Activate Certification Campaign", "type": "action", "versionNumber": 1 }, "Create Certification Campaign 1": { "actionId": "sp:create-campaign", "attributes": { "autoRevokeAllowed": true, "description": "Campaing automatically generated by IdentityNow after detecting a mover event.", "duration": "4w", "emailNotificationEnabled": false, "identityId.$": "$.trigger.identity.id", "name": "Mover - Certification Campaing", "reviewerId.$": "$.getIdentity.manager.id", "status": "DISABLED", "type": "MANAGER" }, "description": "Campaing automatically generated by IdentityNow after detecting a mover event.", "nextStep": "Activate Certification Campaign 1", "type": "action", "versionNumber": 1 }, "Create Certification Campaign 2": { "actionId": "sp:create-campaign", "attributes": { "autoRevokeAllowed": true, "description": "Campaing automatically generated by IdentityNow after detecting a mover event.", "duration": "4w", "emailNotificationEnabled": false, "identityId.$": "$.trigger.identity.id", "name": "Mover - Certification Campaing", "reviewerId.$": "$.getIdentity.manager.id", "status": "DISABLED", "type": "MANAGER" }, "description": "Campaing automatically generated by IdentityNow after detecting a mover event.", "nextStep": "Activate Certification Campaign 2", "type": "action", "versionNumber": 1 }, "Create Certification Campaign 3": { "actionId": "sp:create-campaign", "attributes": { "autoRevokeAllowed": true, "description": "Campaing automatically generated by IdentityNow after detecting a mover event.", "duration": "4w", "emailNotificationEnabled": false, "identityId.$": "$.trigger.identity.id", "name": "Mover - Certification Campaing", "reviewerId.$": "$.getIdentity.manager.id", "status": "DISABLED", "type": "MANAGER" }, "description": "Campaing automatically generated by IdentityNow after detecting a mover event.", "nextStep": "Activate Certification Campaign 3", "type": "action", "versionNumber": 1 }, "Get Identity": { "actionId": "sp:get-identity", "attributes": { "id.$": "$.trigger.identity.id" }, "nextStep": "Compare Strings 3", "type": "action", "versionNumber": 1 }, "success": { "type": "success" } } }, "creator": { "type": "IDENTITY", "id": "2c9180827e6ca688017e6e5eb24c640c", "name": "fran.rodriguez" }, "trigger": { "type": "EVENT", "attributes": { "id": "idn:identity-attributes-changed", "filter.$": "$.changes[?(@.attribute == \"manager\" || @.attribute == \"jobtitle\" || @.attribute == \"location\" || @.attribute == \"businessUnit\")]" } } }