How can i "force" a lifecycle event to a next activity set for demo proposes?

GeoVic Gkou
Tera Expert

How can i force the next activity set to run ?

I want for example to run an activity set that called "On Leave" that is triggered by "start leave date" field

This day is too far from today.

Thanks in advance ! 🙂

4 REPLIES 4

Øyvind Fosse
ServiceNow Employee
ServiceNow Employee

If it is for a demo then the easiest is to just change the trigger condition for the activity set you want to trigger. It’s probably set now to a specific date but if you set it to completion of a specific activity then it’ll trigger immediately. If it’s for testing then rather use the test feature in lifecycle event designer.

 

however if this is for a real case, say the leave start date has changed then you can give the agent access to edit that specific field on the case. Once updated to the actual leave date the lifecycle event will pick it up and refresh the process. There’s a scheduled job that runs to manage that refresh so it might not be immediate 

Ok thank you ! Do you know the name of the scheduled job ?

I had to look it up. there's a trigger script actually. you can read all about the process here:
https://docs.servicenow.com/bundle/sandiego-employee-service-management/page/product/human-resources/concept/le-evaluation-interval1.html

the default evaluation interval is set to 4 hours which should be sufficient for most cases. if needed you can change it but it's not recommended as it can impact performance this is done at the activity set configuration:

find_real_file.png

Community Alums
Not applicable

Hi @GeoVic Gkou ,

The best way while giving a demo is to complete the tasks or cases as part of the activity set by marking the state as "Close Complete".

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep