Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/04/2024 05:34 AM
Hello team,
We are working on an integration (REST API).
As a part of create account operation, we need to pass the system date as hireDate attribute.
Application team is requesting to pass the system date as this attribute.
The expected format is YYYY-MM-DD.
Can someone share the sample for same .
Also how will it behave in case the request submitted is today and post all approvals the task got created after 2 days?
10/04/2024 07:28 AM
@Manu269 try like below based on key pass value
ex:
\"ABC\":\"${new Date().format('yyyy-MM-dd')}\"
10/04/2024 08:42 AM
\"hireDate\":\"${task?.requestKey?.requestDate?.format('yyyy-MM-dd')}\"