Sure thing,
{
“id”: “13a9ba68-3ee6-4ece-ae69-4704d1759c40”,
“name”: “Notify Manager of Non Employee End Date”,
“description”: “”,
“created”: “2025-08-11T19:22:59.368147099Z”,
“modified”: “2025-08-13T15:04:49.957669419Z”,
“modifiedBy”: {
“type”: “IDENTITY”,
“id”: “1e7b01ebe4a441558d14addda5a1f60c”,
“name”: “”
},
“definition”: {
“start”: “Get List of Identities”,
“steps”: {
“End Step - Success 1”: {
“actionId”: “sp:operator-success”,
“displayName”: “”,
“type”: “success”
},
“Get List of Identities”: {
“actionId”: “sp:get-identities”,
“attributes”: {
“inputQuery.$”: “$.getIdentity1.attributes.endDate:[now TO now+15d]”,
“inputSavedSearch”: “6848b8ac-e33f-4376-bc7b-1e5d15ff52e0”,
“searchBy”: “savedSearch”
},
“displayName”: “”,
“nextStep”: “Loop”,
“type”: “action”,
“versionNumber”: 2
},
“Loop”: {
“actionId”: “sp
iterator”,
“attributes”: {
“context.$”: “$.loop.context.manager”,
“input.$”: “$.getListOfIdentities.identities”,
“start”: “Get Identity”,
“steps”: {
“Compare Timestamps 1”: {
“actionId”: “sp:compare-timestamps”,
“choiceList”: [
{
“comparator”: “TimestampEquals”,
“nextStep”: “Send Email 1”,
“variableA.$”: “$.defineVariable.varToday”,
“variableB.$”: “$.defineVariable.var8Days”
}
],
“defaultStep”: “Compare Timestamps 2”,
“displayName”: “8 Days to End Date”,
“type”: “choice”
},
“Compare Timestamps 2”: {
“actionId”: “sp:compare-timestamps”,
“choiceList”: [
{
“comparator”: “TimestampEquals”,
“nextStep”: “Send Email 2”,
“variableA.$”: “$.defineVariable.varToday”,
“variableB.$”: “$.defineVariable.var1Days”
}
],
“defaultStep”: “End Step - Success”,
“displayName”: “1 Day to End Date”,
“type”: “choice”
},
“Define Variable”: {
“actionId”: “sp:define-variable”,
“attributes”: {
“id”: “sp:define-variable”,
“variables”: [
{
“description”: “”,
“name”: “var8Days”,
“transforms”: [
{
“id”: “sp:transform:subtractTime:time”,
“input”: {
“length”: 8,
“unit”: “days”
}
}
],
“variableA.$”: “$.getIdentity.attributes.endDate”
},
{
“description”: “”,
“name”: “var1Days”,
“transforms”: [
{
“id”: “sp:transform:subtractTime:time”,
“input”: {
“length”: 1,
“unit”: “days”
}
}
],
“variableA.$”: “$.getIdentity.attributes.endDate”
},
{
“description”: “”,
“name”: “varToday”,
“transforms”: [
{
“id”: “sp:transform:subtractTime:time”,
“input”: {
“length”: 0,
“unit”: “days”
}
}
],
“variableA.$”: “$.getIdentity.attributes.endDate”
}
]
},
“displayName”: “”,
“nextStep”: “Compare Timestamps 1”,
“type”: “Mutation”
},
“End Step - Success”: {
“actionId”: “sp:operator-success”,
“displayName”: “”,
“type”: “success”
},
“Get Identity”: {
“actionId”: “sp:get-identity”,
“attributes”: {
“id.$”: “$.loop.loopInput”
},
“displayName”: “”,
“nextStep”: “Define Variable”,
“type”: “action”,
“versionNumber”: 2
},
“Send Email 1”: {
“actionId”: “sp:send-email”,
“attributes”: {
“body”: "
“context”: {},
“from”: “no-reply@sailpoint.com”,
“recipientEmailList.$”: “$.getIdentity.attributes.email”,
“replyTo”: “Test@Dummycu.org”,
“subject”: “Notification: Non-Employee End Date in 10 days”
},
“displayName”: “”,
“nextStep”: “End Step - Success”,
“type”: “action”,
“versionNumber”: 2
},
“Send Email 2”: {
“actionId”: “sp:send-email”,
“attributes”: {
“body”: "
“from”: “no-reply@sailpoint.com”,
“recipientEmailList.$”: “$.getIdentity.attributes.email”,
“replyTo”: “TEst@Dummycu.org”,
“subject”: “Notification: Non-Employee End Date in 5 days”
},
“displayName”: “”,
“nextStep”: “End Step - Success”,
“type”: “action”,
“versionNumber”: 2
}
}
},
“description”: null,
“displayName”: “”,
“nextStep”: “End Step - Success 1”,
“type”: “action”,
“versionNumber”: 1
}
}
},
“enabled”: false,
“executionCount”: 0,
“failureCount”: 0,
“creator”: {
“type”: “IDENTITY”,
“id”: “e3e3d148b64a42daa11549fe47033183”,
“name”: “12264”
},
“owner”: {
“type”: “IDENTITY”,
“id”: “e3e3d148b64a42daa11549fe47033183”,
“name”: “12264”
},
“trigger”: {
“type”: “SCHEDULED”,
“attributes”: {
“cronString”: “0 7 * * *”,
“dailyTimes”: [
“1969-12-31T12:00:00.000Z”
],
“frequency”: “daily”,
“id”: “idn:cron-schedule”,
“timeZone”: “America/New_York”
}
}
}