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

JSON - pass the string with the space

piotrj
New Contributor III
New Contributor III

Hi All,

We are trying to create an account when the first name contain the space in it, something like 'Peter Paul' and the task fails because of that.

Our provisioning JSON pass the command to the target system and contains the following:

-- firstname=${user.firstname}

Obviously works fine when the name is standard, like 'Peter'. 

How we can pass this attribute as a string with space in it?

 

Thank you,

Piotr

4 REPLIES 4

nimitdave
Saviynt Employee
Saviynt Employee

Please can you try passing the hardcode value as "Peter Paul" and see if it works.

Also share the error you get because it should not fail if first name has a space from the saviynt end. May be target is restricting.

piotrj
New Contributor III
New Contributor III

Thank you Nimitdave,

It works with hardcoded 'Peter Paul'. This is not an issue with the SSM/EIC. It's target system which doesn't like it. The target system (Redhat IPA) can accept input as 'Peter Paul' or "Peter Paul" but fails when the string is not encompassed by quotes.

Kind regards,

Piotr

piotrj
New Contributor III
New Contributor III

Anyone?

piotrj
New Contributor III
New Contributor III

It was as simple as passing arguments as '${argument}'.