Skip to Content
0

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

Feb 08 at 12:52 PM

54

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Christian Happel
Feb 15 at 09:14 PM
0

Can you try the following?

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

Share
10 |10000 characters needed characters left characters exceeded