cancel
Showing results for 
Search instead for 
Did you mean: 

IPS | Transformations | JSon Code for Condition on more than one value

0 Kudos

Hello,

I am using in the transformations on IPS the following JSon-Condition so that only Members of the IAS User Group "Jam" are provisioned to SAP Jam and the other users not:

{

"user": {

"condition": "$.groups[*].value contains 'Jam'",

Now my question is the following:

How have the JSON-Code need to look like when I want to add an additional user group to the condition e.g. all the Members of the IAS User Groups "Jam" AND "C4C" shall be provisioned to SAP Jam and the others not. How have the respective JSON-Code need to look like? I did not found anything in the SAP Documentation regarding this...

Thank you and best regards,
Betim

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member47640
Active Contributor
0 Kudos

Can you try the following?

"condition": "($.groups[*].value contains 'Jam') || ($.groups[*].value contains 'C4C')"