Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Can if else statement and concate be written in USER_IMPORT_MAPPING of Connection RAAS(Workday)

PriyankaJha
New Contributor III
New Contributor III

Hi,

I am working on Workday where connection type is Workday_RAAS(Workday). In USER_IMPORT_MAPPING, directing mapping are working but concate , if -else is not working

{
"ImportType": "RAAS",
"ResponsePath": "wd:Report_Data.wd:Report_Entry",
"ImportMapping": {
"USERNAME": "wd:userName~#~string",
"EMPLOYEETYPE": "wd:employeeType~#~string",
"EMPLOYEEID": "wd:employeeID~#~string",
"CUSTOMPROPERTY3": "wd:preferredCommLanguage~#~string",
"CUSTOMPROPERTY5": "${'CHW'+wd:employeeID}~#~string",
"CUSTOMPROPERTY4": "${String status= wd:employeeStatus;if(status!=null && status!='' && ('L'.equalsIgnoreCase(status) || 'P'.equalsIgnoreCase(status) || 'W'.equalsIgnoreCase(status) )){'Leave of Absence'} }~#~string"
}
}

CUSTOMPROPERTY5 and  CUSTOMPROPERTY4 are not working properly.

Please find the below screenshot.

PriyankaJha_0-1693395819897.png

 

can someone help, to figure out correct syntax for RAAS(Workday) USER_IMPORT_MAPPING for concate and if-else?

Thanks & Regards,

Priyanka Jha

1 REPLY 1