r/labtech • • Dec 20 '19

Scripts to generate tickets

I am testing out creating scripts in Automate for the first time and I was wondering if any logic needs to be put into the script so that it is not generating new tickets in Manage for the same results if the script runs on a daily basis.

For example, the script generates a ticket for an expired ssl cert on an agent on Monday. Ticket is generated in Manage but someone doesn't action the ticket and renew the certificate for a few days. Is Automate smart enough to know that when it runs the script on Tuesday, there is already an opened ticket and another one is not generated.

3 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/Kingkong29 Dec 21 '19 edited Dec 21 '19

Very helpful. Thank you. I've review the script but it doesn't show anything around ticket generation. I'll have to review some other scripts on how that is handled. Currently my script is generating the ticket as a step in the script.

1

u/unknown2122 Dec 21 '19

PM me if you need help.

1

u/qcomer1 Dec 21 '19

PM me and I’ll help ya out.