Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional CHECK-INCLUDES command #400

Open
jakub-przybytek-wttech opened this issue Jul 31, 2023 · 0 comments
Open

Conditional CHECK-INCLUDES command #400

jakub-przybytek-wttech opened this issue Jul 31, 2023 · 0 comments

Comments

@jakub-przybytek-wttech
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant