Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 15 at 09:14 PM

    Can you try the following?

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

    Add comment
    10|10000 characters needed characters exceeded