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

Split a dynamic attribute value in creataccounJson for REST connector

piyushm
Regular Contributor II
Regular Contributor II

Hello,

I have a dynamic attribute whose value is in the format "LocationId-LocationName".

I need to extract "LocationId" and pass in the createAccountJson. 

I tried \"$Dynamicattr.substring_index{('-',1)}\". But it is not working even though there is no error.

Is this correct syntax or is there any other way to achieve this?

 

1 REPLY 1

SB
Saviynt Employee
Saviynt Employee

Can you confirm if the local Id is of same length value for all locations or does it vary.


Regards,
Sahil