I want to create a scheduled workflow to run daily to do an action on tickets older than 60 days. Ticket age is not an option in Condition. Any ideas on how I can accomplish this?
Solved
Scheduled Workflow with Ticket Age
Best answer by eeha0120
Hi Michael.
Yes, that’s not available.
You need to use an Expression for that.
You may use (please, ensure to adapt to your time zone):
diffInDays("{{ticket.created_at_iso}}", today('America/Bogota'))
And then compare with that result.
You should end with a workflow similar to the following (adapting to your need, of course):

Here are the last two nodes you need:


That way, you’d be able to compare a ticket date creation against today, and perform any desired action when that value is greater to 60.
Hope this helps.
Regards,
Reply
Join the Community
Already have an account? Login.
Sign in to the Community
No account yet? Create an account.
Social Login
Login with LinkedInor use your username
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.