In my script I create a set of user groups. Additionally, on the AME instance, there is a set of groups that may or may not already exist (IMS groups). This is why I often use --IF EXIST closure, for example:
CREATE-GROUP "group-a" BEGIN
ADD-CHILDREN "ims-group-a" --IF-EXISTS
END
Now, I wish that it was possible to compose CHECK-INCLUDES command that validates that this relationship indeed exists on a AEM environment, knowing that 'ims-group-a' may or may not actually exist. Something that performs the check only if both groups exist.
In my script I create a set of user groups. Additionally, on the AME instance, there is a set of groups that may or may not already exist (IMS groups). This is why I often use
--IF EXIST
closure, for example:Now, I wish that it was possible to compose CHECK-INCLUDES command that validates that this relationship indeed exists on a AEM environment, knowing that 'ims-group-a' may or may not actually exist. Something that performs the check only if both groups exist.
Would that be possible in APM?