Skip to main content
Question

Scheduled Workflows against Closed Tickets

  • April 11, 2024
  • 4 replies
  • 126 views

SteelFrost
Top Contributor
Forum|alt.badge.img+2

The Ask: Since it appears there is a software limitation, in that FreshService scheduled workflows do not run against closed tickets, how do I accomplish this goal?

The Scenario: We’ve implemented a service request and workflow to manage the request and approval process for security policy exemptions.  These exemptions are time limited, which is a dropdown field the requestor can choose, up to 365 days.  

The Goal: On approved security policy exemptions, we need to have the ability to automatically create a new policy exemption request, 14 days before the current one expires.  I created a workflow for this, and in testing against open tickets, it is successful, in terms of the calculations and creating the new ticket...but since we are closing the tickets (so they aren’t open up to a year), they aren’t triggering.

 

I’m sure I can implement a new ticket status for these and just leave them in that state so my workflow will run, but I’d like to have a solution that doesn’t require the ticket to remain in an open status. 

 

Any ideas?

Did this topic help you find an answer to your question?

4 replies

zachary.king
Skilled Expert
Forum|alt.badge.img+16
  • Skilled Expert
  • 951 replies
  • April 11, 2024

Hello @SteelFrost I would reach out to freshservice support at support@freshservice.com regarding this issue. Not sure why they wouldn’t allow this to run against closed tickets when I can select closed as a condition for what tickets to filter on.

Maybe it is a bug. Interested to see what they say.

Take care!


Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14
SteelFrost wrote:

The Ask: Since it appears there is a software limitation, in that FreshService scheduled workflows do not run against closed tickets, how do I accomplish this goal?

The Scenario: We’ve implemented a service request and workflow to manage the request and approval process for security policy exemptions.  These exemptions are time limited, which is a dropdown field the requestor can choose, up to 365 days.  

The Goal: On approved security policy exemptions, we need to have the ability to automatically create a new policy exemption request, 14 days before the current one expires.  I created a workflow for this, and in testing against open tickets, it is successful, in terms of the calculations and creating the new ticket...but since we are closing the tickets (so they aren’t open up to a year), they aren’t triggering.

 

I’m sure I can implement a new ticket status for these and just leave them in that state so my workflow will run, but I’d like to have a solution that doesn’t require the ticket to remain in an open status. 

 

Any ideas?

My understanding is that it would take to much resources to run a check on all tickets. 

Think if you have >100k tickets if needs to check each time you want it to run. 
As of today it has a limit on 10k ticket as well. So if you have more then that open/resolved it will not run on any more. Far as I know, I can be wrong. 

Set the ticket to resolved and a tag or custom field value and in your Supervisor Rules you exempt them from closing.  Or a custom status as you say. 


SteelFrost
Top Contributor
Forum|alt.badge.img+2
  • Author
  • Top Contributor
  • 5 replies
  • April 16, 2024
zachary.king wrote:

Hello @SteelFrost I would reach out to freshservice support at support@freshservice.com regarding this issue. Not sure why they wouldn’t allow this to run against closed tickets when I can select closed as a condition for what tickets to filter on.

Maybe it is a bug. Interested to see what they say.

Take care!

I have and they confirmed it is not a supported feature.  Despite the fact that yes, you can choose the Closed status in conditions which is how I set it up.  Thanks for the suggestion though.


SteelFrost
Top Contributor
Forum|alt.badge.img+2
  • Author
  • Top Contributor
  • 5 replies
  • April 16, 2024
Daniel Söderlund wrote:
SteelFrost wrote:

The Ask: Since it appears there is a software limitation, in that FreshService scheduled workflows do not run against closed tickets, how do I accomplish this goal?

The Scenario: We’ve implemented a service request and workflow to manage the request and approval process for security policy exemptions.  These exemptions are time limited, which is a dropdown field the requestor can choose, up to 365 days.  

The Goal: On approved security policy exemptions, we need to have the ability to automatically create a new policy exemption request, 14 days before the current one expires.  I created a workflow for this, and in testing against open tickets, it is successful, in terms of the calculations and creating the new ticket...but since we are closing the tickets (so they aren’t open up to a year), they aren’t triggering.

 

I’m sure I can implement a new ticket status for these and just leave them in that state so my workflow will run, but I’d like to have a solution that doesn’t require the ticket to remain in an open status. 

 

Any ideas?

My understanding is that it would take to much resources to run a check on all tickets. 

Think if you have >100k tickets if needs to check each time you want it to run. 
As of today it has a limit on 10k ticket as well. So if you have more then that open/resolved it will not run on any more. Far as I know, I can be wrong. 

Set the ticket to resolved and a tag or custom field value and in your Supervisor Rules you exempt them from closing.  Or a custom status as you say. 

Great point on the resources required…  Interesting idea with leaving those in a resolved state vs auto-closing them, which we do today… I’m curious what that might impact other reports… Great suggestion, thank you.  May give it a shot.