Skip to content

Conditional CHECK-INCLUDES command #400

@jakub-przybytek-wttech

Description

@jakub-przybytek-wttech

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.

Would that be possible in APM?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions