Hello,
I am writing a transform to set the value true or false based on the Termination date and Termination category account attribute from workday.
I am getting an exception while calculating the value for this identity attribute.
Exception:
There was an exception while calculating the value for this attribute. Error during transformation for attribute: workdayemailterm (Transform ID: Termination Trigger based on category workday test) Cause: Text ‘’ could not be parsed at index 0
Transform:
{
"id": "45ce75f5-ec6a-432d-a7e3-407d1eb6b633",
"name": "Termination Trigger based on category workday test",
"type": "static",
"attributes": {
"terminationCategory": {
"attributes": {
"sourceName": "Workday Sandbox",
"attributeName": "TERMINATION_CATEGORY__c"
},
"type": "accountAttribute"
},
"dateCompare": {
"attributes": {
"firstDate": {
"attributes": {
"addition": {
"attributes": {
"sourceName": "Workday Sandbox",
"attributeName": "TERMINATION_DATE"
},
"type": "accountAttribute"
},
"inputFormat": "MM/dd/yyyy",
"outputFormat": "ISO8601"
},
"type": "dateFormat"
},
"secondDate": "now",
"operator": "lte",
"positiveCondition": "true",
"negativeCondition": "false"
},
"type": "dateCompare"
},
"value": "#if($dateCompare == 'true' && $terminationCategory == 'Voluntary')true#{else}false #end"
},
"internal": false
}
I am not entirely sure why it is failing. Is it not able to fetch the account attribute from workday sandbox source?
