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

AccntEnt Import - Removing characters during account import

shreyascn
New Contributor III
New Contributor III

Hello All, 

Have a response like below where the accounts are in a array, currently the account names are getting imported with [ ], please share example on how to import without [ ] in the name

shreyascn_0-1690364272922.png
Response

 

 {
            "Values": [
                "Derek.Brown@XXX.com"
            ]
        },
        {
            "Values": [
                "devendra-radhakrishna.panda@XXX.com"
            ]
        },
        {
            "Values": [
                "dhara.mehta@XXX.com"
            ]
        },

 

JSON

 

"keyField": "accountID",
				"colsToPropsMap": {
					"accountID": "Values~#~char",
					"name": "Values~#~char"
				}

 

 

2 REPLIES 2

naveenss
All-Star
All-Star

Hi @shreyascn Please refer to the below forum post. Hope this helps!

Solved: REST - String Functions - Saviynt Forums - 9161

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Vedanth_BK
Saviynt Employee
Saviynt Employee

Hi @shreyascn 

Please try the below :

 

	"accountID": "#CONST#${response.Values.size() > 0  ? response.Values[0].replace('[','').replace(']','') : null}~#~char",

 

Thank you
Vedanth B.K