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

Rest Connector: concatenate two attribute to pass disable account json

saurabhpad
New Contributor II
New Contributor II

Hi,

We want to concatenate two attribute and pass as single value in disable account json in rest connector.

\"customproperty37\":\"${if(user.enddate==null){'abc'}else{new java.text.SimpleDateFormat('yyyy-MM-dd').format(user.enddate)} {user.customproperty15}}\"

we are getting error while using this syntax is there any way to concatenate two attribute in rest connector json

2 REPLIES 2

Saathvik
All-Star
All-Star

Try below

"customproperty37": "${if(user.enddate==null){'abc'}else{new java.text.SimpleDateFormat('yyyy-MM-dd').format(user.enddate)+user.customproperty15}"

Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

rushikeshvartak
All-Star
All-Star

"customproperty37": "${if(user?.enddate==null){'abc'}else{Calendar.getInstance().getTime().format('yyyy-MM-dd').format(user.enddate)+user.customproperty15}"


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