We have a desire to post an internal comment to a request at the end of an automation that would include information like Automation Name and who triggered the automation.
Has anyone come across a solution for this?
Thanks,
Devin
Hi @Devin Ponda - I would advise against this since you can just look at rule executions to see what has executed against a given issue. However, if you want to go this route, it's pretty simple. You could do something like this in an add comment action:
*Rule:* {{rule.name}}
*Triggered by:* {{initiator.displayName}}
As Rules and Workflows get more complex/opaque, I could see value in putting this in a Comment for clarity, as I suspect most users would not know to look under Automations for this kind of history.
Also Rule Executions does not include who triggered a rule:
On the other hand, if people are somewhat aware of how Rules are implemented, maybe it would be enough to change the Rule Actor to "User who triggered the event":
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It worked perfectly. I use the Automation audit logs all the time, but it adds unnecessary troubleshooting time when tracking down issues with misused automations. I can't search the automation audit log for for the Key so I have to dig around based on time.
If I want review the activity of a request due to customer complaint or other ask, then going to the request is the quickest way to do so.
We already are using the User who triggered the event. Unfortunately, the History just shows each step as though an agent did each individually and not that an automation was fired.
What you've provided is exactly what I'm looking for and provides the solution for this use case.
We'll continue to use the Audit Logs for troubleshooting automations, which is what they are designed for...not tracking who ran them.
Thank you both for your quick responses!!!
Devin
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.