Here is something other things I have tried to get this to work. Every one came back erroring out around the secZettaManagerId variable.
"secZettaManagerID": {
"type": "rule",
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getReferenceIdentityAttribute",
"uidAttributeName": "manager_email",
"uidAttributeSource": "SecZetta",
"attributeName": "identificationNumber"
}
}
"secZettaManagerID": {
"type": "rule",
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getIdentityAttribute",
"identityName": {
"type": "rule",
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getIdentityName",
"attributeName": "manager_email",
"attributeSource": "SecZetta"
}
},
"attributeName": "identificationNumber"
}
}
"secZettaManagerID": {
"type": "rule",
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getIdentityProperty",
"identityName": {
"type": "rule",
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getIdentityName",
"attributeName": "manager_email",
"attributeSource": "SecZetta"
}
},
"propertyName": "identityName"
}
}
"secZettaManagerID": {
"type": "rule",
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getReferenceIdentityAttribute",
"uid": "$secZettaManager",
"attributeName": "identificationNumber"
}
}
"attributes": {
"workdayTerm": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "TERMINATED__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"secZettaManager": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "manager_email",
"sourceName": "SecZetta"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"secZettaManagerID": {
"type": "rule",
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getIdentityAttribute",
"identityName": "$secZettaManager",
"attributeName": "identificationNumber"
}
},
"workdayManager": {
"attributes": {
"ignoreErrors": "true",
"values": [
{
"attributes": {
"attributeName": "Manager UserID__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"value": "#if($workdayTerm.equals(\"1\"))$secZettaManagerID#{else}$workdayManager#end"
}
"attributes": {
"workdayTerm": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "TERMINATED__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"secZettaManager": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "manager_email",
"sourceName": "SecZetta"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"managerIdentityName": {
"type": "rule",
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getIdentityName",
"attributeName": "manager_email",
"attributeSource": "SecZetta"
}
},
"secZettaManagerID": {
"type": "rule",
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getIdentityAttribute",
"identityName": "$managerIdentityName",
"attributeName": "identificationNumber"
}
},
"workdayManager": {
"attributes": {
"ignoreErrors": "true",
"values": [
{
"attributes": {
"attributeName": "Manager UserID__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"value": "#if($workdayTerm.equals(\"1\"))$secZettaManagerID#{else}$workdayManager#end"
}
"attributes": {
"workdayTerm": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "TERMINATED__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"secZettaManager": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "manager_email",
"sourceName": "SecZetta"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"workdayManager": {
"attributes": {
"ignoreErrors": "true",
"values": [
{
"attributes": {
"attributeName": "Manager UserID__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"value": "#if($workdayTerm.equals(\"1\"))${identityAttributes.getIdentityAttribute(\"identificationNumber\", sailpoint.tools.Util.getIdentityName($secZettaManager, \"SecZetta\"))}#{else}$workdayManager#end"
}
"attributes": {
"workdayTerm": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "TERMINATED__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"secZettaManager": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "manager_email",
"sourceName": "SecZetta"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"workdayManager": {
"attributes": {
"ignoreErrors": "true",
"values": [
{
"attributes": {
"attributeName": "Manager UserID__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"value": "#if($workdayTerm.equals(\"1\"))#set($managerIdentity = $sailpoint.tools.Util.getIdentity($secZettaManager, \"SecZetta\"))#if($managerIdentity)${managerIdentity.getObjectValue(\"identificationNumber\")}#end#{else}$workdayManager#end"
}
"attributes": {
"workdayTerm": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "TERMINATED__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"secZettaManager": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "manager_email",
"sourceName": "SecZetta"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"workdayManager": {
"attributes": {
"ignoreErrors": "true",
"values": [
{
"attributes": {
"attributeName": "Manager UserID__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"value": "#if($workdayTerm.equals(\"1\"))#set($managerIdentityName = $sailpoint.tools.Util.getIdentityName($secZettaManager, \"SecZetta\"))#if($managerIdentityName)#set($managerIdentity = $sailpoint.context.getObjectByName(\"Identity\", $managerIdentityName))#if($managerIdentity)$managerIdentity.getAttribute(\"identificationNumber\").getValue()#end#end#{else}$workdayManager#end"
}
"attributes": {
"workdayTerm": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "TERMINATED__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"secZettaManager": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "manager_email",
"sourceName": "SecZetta"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"workdayManager": {
"attributes": {
"ignoreErrors": "true",
"values": [
{
"attributes": {
"attributeName": "Manager UserID__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"value": "#if($workdayTerm.equals(\"1\"))#set($managerIdentity = $identityById($secZettaManager))#if($managerIdentity)${managerIdentity.attributes.identificationNumber}#end#{else}$workdayManager#end"
}
"attributes": {
"workdayTerm": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "TERMINATED__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"secZettaManager": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "manager_email",
"sourceName": "SecZetta"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"workdayManager": {
"attributes": {
"ignoreErrors": "true",
"values": [
{
"attributes": {
"attributeName": "Manager UserID__c",
"sourceName": "Workday Production Sandbox"
},
"type": "accountAttribute"
},
"none"
]
},
"type": "firstValid"
},
"value": "#if($workdayTerm.equals(\"1\"))#set($managerIdentity = $sailpoint.tools.Util.getIdentityFromName($secZettaManager))#if($managerIdentity)${managerIdentity.attributes.identificationNumber}#end#{else}$workdayManager#end"
}