Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Dynamic Attribute with Date and Time

GeSaviynt
New Contributor II
New Contributor II

Hi Teams,

Use Case :  User can select date and time for dynamic attribute. For example I created dynamic attribute(databaseupdateaccessfrom)with date data type, but is there any option we can show time to choose also. So that in JSON it will pass like  date and time:

Dynamic attribute

 "databaseupdateaccessfrom""12-11-2012 10:00:000",

 

geeta_0-1672860181148.png

Thanks

Geeta

 

2 REPLIES 2

KirtiAjrot
Saviynt Employee
Saviynt Employee

As of now , there is no support for the timestamp. 

Alternately - if you are trying to capture the date of request with timestamp - you could use the binding available directly in the JSON 

{new java.text.SimpleDateFormat('yyyy-MM-dd\\\\'T\\\\'HH:mm:ss.SSS\\\\'Z\\\\'').format(arsTasks?.requestKey?.requestdate)}

KA

rushikeshvartak
All-Star
All-Star

You can create another dynamic attribute to select hh mm 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.