How can i "force" a lifecycle event to a next activity set for demo proposes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2022 12:41 AM
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 ! 🙂
- Labels:
-
Case and Knowledge Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2022 04:24 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2022 07:29 AM
Ok thank you ! Do you know the name of the scheduled job ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 12:02 AM
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:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2022 05:42 AM
Hi
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