Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/26/2024 08:50 AM
I was wondering if its possible to set account status in saviynt based on a date field coming from downstream system? For example, if the date is in the past, the account object gets marked as inactive, if its today's date or in the future it gets marked as active. This would be via a rest connector.
08/26/2024 09:04 AM
Yes its possible you can use CONST to manipulate status
08/26/2024 09:20 AM
Not sure I follow. Is CONST used in JSON configs to leverage code or something?
08/26/2024 09:30 AM
Sample
"customproperty1": "#CONST#${String accountDate = response.attributes.dateField; def currentDate = new Date().format('yyyy-MM-dd'); def status = (accountDate < currentDate) ? '2' : '1'; return status;}~#~char",