Hello. Appreciate all the incoming help!
I am creating a rule in JSM Automation for our approval workflow. I would like to automate a comment that a request has been approved after it has been approved, however in the automation tool I'm not seeing an option to specify that a request has been approved for an "If statement". The second "If" in the second photo being my wall.
Thanks!
Hello @Bassel_Kharwat
You need a second automation with the trigger Approval Completed. There you can then add a query with the JQL condition approvals = approved(). Then the action that the comment should be created
Trigger: Approval Completed
JQL Condition: approvals = approved()
Action: Add comment
Everything in one automation makes no sense as the ticket cannot be created and approved at the same time. Your first automation only ever starts when the issue is created. That's why you need a second automation that is triggered when the approval is finished.
Best regards
Jannick
Have you tested the Approval completed action?
More on that here:
Regards
Aaron
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Aaron Pavez _ServiceRocket_ , I have not. I have been looking for an Approval Completed action as an IF statement, rather than a new rule. Or can I create a second rule predicated on a first rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seems there isnt one. Only a new rule will have that When: Approval completed.
You could create a new field called approval and add something to it on the current automation.
Something like: custom field approval with values yes/no-> edit with the automation and set to YES and then add that to the IF statement.
Regards
Aaron
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.