PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners Click HERE | EMEA/APJ Click HERE

REST connector ImportUserJSON - string manipulation

trace001
New Contributor II
New Contributor II

Hi Team,

In REST connector's ImportUserJSON , under colsToPropsMap - does Saviynt support replace or other similar function to manipulate data received from API's.  

For example: if Email is 'John.Smith@test.xxx.com' could this be set as 'john.smith@xxx.com' using a replace function or something similar. Does Saviynt support this? 

Can date format be changed to a different timezone? 

Thanks,

 

 

2 REPLIES 2

Raghu
All-Star
All-Star

use it like below

mail = John.Smith@test.xxx.com

user?.mail.toLowerCase()

or if it const try like below

"Email": "#CONST#${String mail = response.call1.message.responseMessage; mail = mail.toLowerCase(); return mail}~#~char",


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

rushikeshvartak
All-Star
All-Star

You can use preprocessor to manipulate data 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.