Skip to main content
New Idea

Increase options for Business Rules for Changes and Start/End Dates

Related products:Freshservice
  • February 6, 2024
  • 4 replies
  • 95 views

ammon.nelson
Skilled Expert
Forum|alt.badge.img+6

Currently for Business Rules for changes, to set a condition for start dates and end dates, the only option is to select a between range of actual dates. Could that be expanded to have a condition for relative dates? For example, set a condition for if the start date is after the current day.

Currently changes are able to have their status closed even if the current date is before the start date. It was requested that this be restricted or give a warning of some sort. I tried to create a business rule and couldn’t because I could only select the “between” option for start date and then only select absolute dates - for example between February 4 and February 8.

4 replies

Medic1334
Top Contributor ⭐
Forum|alt.badge.img+9
  • Top Contributor ⭐
  • May 21, 2024

Ran into this myself today. We are having issues where users submit a change for approval, but the date was left in the past instead of being updated (and not being a latent change). Would be great if we could block this at the business rule level. 

 

@ammon.nelson You could build in a check to an automator that returns a ticket with a planned start date before the current date/time back to the previous status, but this would be reactive instead of proactive. If you arent sure on the code I can show you an example via PM :)


Medic1334
Top Contributor ⭐
Forum|alt.badge.img+9
  • Top Contributor ⭐
  • May 23, 2024

I’d further add beyond the “Is at least X days away” etc a condition to do a length count on string fields to force minimum length.

Another nice thing would be the ability to only allow someone to select dates on a specific day of the week (Monday, tuesday, etc). This could be done via automator that checks day of week by number and does actions but being proactive is almost always better than being reactive.


Medic1334
Top Contributor ⭐
Forum|alt.badge.img+9
  • Top Contributor ⭐
  • June 7, 2024

Something else that would be good to add to business rules for changes:

We have a regulatory request to have agents validate if they have updated CMDB associations of an associated asset. This question would be required only if the asset associated is of a few specified types, but there is no ability to use the associated asset values as a condition in business rules so adding this as a field would be great.


Medic1334
Top Contributor ⭐
Forum|alt.badge.img+9
  • Top Contributor ⭐
  • August 11, 2024

Another option to add would be requiring an associated ticket.  For our emergency changes, by policy we require an incident to be associated. To ensure this is happening, it’d be nice to have an “associated assets” are not empty. I can do this via automator in parsing the ticket via API but since it’s an emergency change the goal is to be able to move quick to restore service and having the ticket revert to open after the agent sets the status to send approvals could lead to confusion.

If we could do it via toast (validate form on submission) that would be huge.