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

How to Hardcode current date in colsToPropsMap of an import JSON

VamsheeVazza
New Contributor II
New Contributor II

Hi are importing few entitlements that are non requestable but are populated as a dropdown values in an application form. we are not getting status for those entitlements from end system. now when app team deleted some of those in there application. even when we ran the collections we are still seeing the delete entitlements in the drop down.

not sure what is the solution for this. Please suggest if any ideas.

 

One solution i though is hardcode the current date in one of the update date columns of the entitlements and ad this date filter in the dropdown query only to show lates entitlements. Not sure if this works but want to try.

Tried the below in the import JSON but didnt get anything. Please suggest.

"UPDATEDATE":"#DATE#${date a = sysdate; return a}~#~char"

 

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

"customproperty30": "#CONST#${new Date(Calendar.getInstance().getTimeInMillis()).format('yyyy-MM-dd hh:mm:ss')}~#~char"


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

NM
Regular Contributor III
Regular Contributor III

Hi @VamsheeVazza , ideally if an entitlement is deleted on application end it should make entitlement inactive on saviynt as well, please share importaccountentjson

CR
Regular Contributor III
Regular Contributor III

you can use below also ;

"#CONST#${new Date().format('yyyy-MM-dd')}~#~char"


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.