Hi,
I have a technical question regarding Confluence Automation. For context, we’re currently using the Confluence Standard plan.
Here’s the scenario:
My question is:
Is it possible to apply a User Condition to the second rule to prevent it from triggering if the label is added manually, but continue if triggered by Smart Button?
The Smart Button is located on a restricted page, so only specific users can access and trigger it. Unfortunately, modifying the Smart Button’s automation isn’t an option in this case.
Any guidance on how to achieve this would be greatly appreciated.
Thank you!
I just did a quick test using the same Smart Button template and a second automation that is triggered when a label is set (that will trigger by other automations).
It is possible to apply a User Condition to the second rule, and have whatever happen that you want accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Short answer: Yes, it's possible.
Long answer: It depends. If the second rule is triggered by the first rule, then the rule actor of the first rule will be regarded as the person who triggered the second rule. So any user restriction you set in the second rule will always only check the actor of the first rule. If you're fine with excluding this rule actor from your use case, then this will work. But the rule would then also trigger, when the actor of the first rule adds the label manually.
To solve some of these problems, we set up an additional rule actor-account in our instance which offers some flexibility and could minimise erroneous rule triggers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your insightful response, the Rule Actor account never came to my mind. I will try how that works in my case!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.