cancel
Showing results for 
Search instead for 
Did you mean: 

How to escape character (.) in target path in mapper

npise
New Contributor II

creating request body
{“urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow”: {
“workflowName”: “LCM Provisioning”
}

how to escape ‘.’ in urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow
since this is added in “target path”

image

should be
image

3 REPLIES 3

bojanvelevski
Valued Contributor

This is some kind of partial flattening of the data, which can be achieved with a Script. If this is the only part that needs to be modified, than it can also be transformed with an expression, but if the data contains more objects that are needed to be flattened out, than I suggest you to use Script.

npise
New Contributor II

Thank you for the feedback

bojanvelevski
Valued Contributor

The pipeline below contains a script to flatten the data completely by iterating through every level of the JSON structure. You’ll probably need to include a counter to stop (or start) at certain point to adapt the solution according to your issue.

Python flatten data_2022_06_06 (1).slp (7.1 KB)