---
sourceDocument: Zurich Employee Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/zurich/employee-service-management

 Release :

    - zurich

ft:locale :

    - en-US

ft:publication_title :

    - Zurich Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Lifecycle Events triggers and workflow reference

# Lifecycle Events triggers and workflow reference {#ariaid-title1}

Release version: Zurich  
Updated July 31, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Lifecycle Events triggers and workflow reference

This document explains how Lifecycle Events triggers and workflows operate within the ServiceNow Human Resources (HR) Lifecycle Events framework.
It focuses on how activity sets are launched and managed through different trigger mechanisms and workflows, enabling timely and condition-based HR process automation.
Show full answer Show less  

## HR Activity Launcher Flow

When a lifecycle event (LE) case status changes to **Ready**, all associated activity sets are processed via the HR Activity Launcher flow. However, activities within each set are only triggered if their specific trigger conditions are met. If not, the system waits for a predefined interval before re-evaluating the trigger conditions.

The default re-evaluation interval is set to four hours but can be customized by modifying the **evaluationinterval** field in the *snhrleactivityset* table. Reducing this interval can accelerate activity set launches but may increase the risk of event cancellations and system load, so changes should be made cautiously.

## Alternative Trigger Method: Condition with Event BR (Demo) Activity Set

As an alternative to relying solely on the evaluation interval, customers can use the **Condition with Event BR (Demo)** activity set, included in the demo data and accessible by activating the *Human Resources Scoped App: Lifecycle Events for Enterprise (com.snhrlifecycleent)* plugin.

* This method uses server-side code (e.g., business rules) to trigger the **checkactivitysettrigger** event, which prompts immediate evaluation of activity set triggers.
* The condition-based trigger activates when the primary lifecycle event case state changes to **Work in Progress**.
* It includes an email activity and a business rule that detects state changes and broadcasts an event to the HR Activity Set Trigger Check workflow.
* This approach is flexible and can be customized to fit specific business requirements.

## HR Activity Set Trigger Check Workflow

This workflow is integrated with the HR Activity Launcher and performs condition evaluations for activity sets that are independent of other sets. It does not trigger workflows directly but verifies if trigger conditions are met and respects the evaluation interval unless prompted otherwise.

## Check Activity Set Trigger Workflow Event

To minimize delays caused by periodic re-evaluation, ServiceNow provides the **checkactivitysettrigger** workflow event. This event can be fired from server-side scripts such as business rules or scheduled jobs to immediately check if activity set trigger conditions are satisfied, bypassing the wait timer.

* This method is recommended over simply shortening the evaluation interval to reduce unnecessary system events and avoid premature cancellations.
* The event cannot be used with activity sets that trigger immediately or are dependent solely on other activity sets.
* Implementing this requires identifying appropriate server-side logic points where trigger conditions can be checked, then adding a script that broadcasts the **checkactivitysettrigger** event to any running HR Activity Set Trigger Check workflows.

## Practical Implications for ServiceNow Customers

* Customers can control the timing of HR lifecycle event activity sets by adjusting evaluation intervals or implementing event-driven triggers for more responsive workflows.
* Using the Condition with Event BR (Demo) activity set or custom server-side scripts allows for more precise and immediate triggering of HR activities aligned with business events.
* Careful configuration is important to balance system performance and timely HR process execution, avoiding excessive event firing or workflow interruptions.  
Information about Lifecycle Events triggers and workflow.

## HR Activity launcher flow {#le-eval-interval-trigger-workflow-info__section_mdj_tvz_nsb}

When a lifecycle event case is changed to the Ready state, all activity sets run through
the HR Activity Launcher flow. The activities in each activity set aren't triggered. When an
activity set isn't dependent on other activity sets to trigger activities, the trigger
conditions are analyzed.

If the trigger condition hasn't been met, it waits for the Wait to reevaluate the Trigger
Script timer to run (default is every four hours).

If the trigger condition is met, but after the evaluation interval runs, it has to wait
another four hours before the activities set is reevaluated. Waiting for reevaluation can
cause delays in an activity set to trigger.

The Wait to reevaluate Trigger Script timer uses the
evaluation_interval in the
sn_hr_le_activity_set table. The default value is four hours. You
can reduce the value in the evaluation_interval field to launch the
activity set sooner, see [Change the evaluation interval default wait time](https://servicenow-prod.fluidtopics.net/XAi54eaPcq1DPpennu2bZw "As an administrator, you can change the default time that an activity set waits before the activity set is evaluated.").  
Note:  
Use caution if you decide to change the default value. Frequent updates trigger more events and can cause your lifecycle event activity sets to cancel before it can complete. For more information, see [Lifecycle event properties](https://servicenow-prod.fluidtopics.net/O5mJeaT3KVOarLR7NsDCMw "Lifecycle event properties control the behavior of lifecycle events. You can set the duration of the activity set closure time in hours.").

## Condition with Event BR (Demo) activity set {#le-eval-interval-trigger-workflow-info__section_gd5_1wz_nsb}

An alternative to using the Evaluation interval field to trigger an activity set is to use the Condition with Event BR (Demo) activity set that is included with the demo data as an example of what you can use. Using the Condition with Event BR (Demo) is an optional solution, but you can create and use server-side code (business rule, event script, scheduled job, and the like) that triggers the check_activity_set_trigger event into the HR Activity Set Trigger Check workflow. Any activity set can be triggered using the check_activity_set_trigger event from the server side except for activity sets that are triggered immediately or only by other activity sets.  
Note:  
To access the Condition with Event BR (Demo) activity set, activate the Human Resources Scoped App: Lifecycle Events for Enterprise (com.sn_hr_lifecycle_ent) plugin. This is an optional method that can be used instead of the values in the Evaluation interval field.

* The trigger type for the activity set must be set to Condition.
* The Condition with Event BR (Demo) activity set triggers when the state of primary lifecycle event case moves to Work in progress.
* The Email - Condition with Event BR (Demo) activity is included with the Condition with Event BR (Demo) activity set.
* The Condition with Event BR (Demo) activity set includes the HR Activity Launcher workflow. It also includes the Condition with Event BR (Demo) business rule.
  * The Condition with Event BR (Demo) business rule runs after the state of an LE case changes to Work in Progress.
  * It then looks for the workflows that are running for the LE case until it finds the HR Activity Set Trigger Check workflow and broadcasts the check_activity_set_trigger event to that workflow.
  {#le-eval-interval-trigger-workflow-info__ul_jbp_lpz_3sb}
* You can change the Condition with Event BR (Demo) activity set, Email - Condition with Event BR (Demo) activity, and Condition with Event BR (Demo) business rule to fit your requirements.  
  Note:  
  For more information, see [Lifecycle Events workflows](https://servicenow-prod.fluidtopics.net/Rz4pd2HkpLEroBIOC6y~Ew "The HR Activity Set Launcher workflow drives the entire lifecycle event process. Associated workflows drive each of the activity sets within a lifecycle event.") and Business rules.
{#le-eval-interval-trigger-workflow-info__ul_jtl_sjq_grb}

## HR Activity Set Trigger Check workflow {#le-eval-interval-trigger-workflow-info__section_byt_lwz_nsb}

The HR Activity Set Trigger Check workflow was added to the HR Activity Launcher workflow so that any server-side script can notify the workflow to see if the activity set is ready to trigger. The HR Activity Set Trigger Check workflow evaluates conditions. It doesn't directly trigger any workflows.

* The HR Activity Set Trigger Check workflow is called when an activity set isn't dependent on other activity sets.
* It regularly checks if the trigger condition for an activity set has been met.
* If the trigger conditions haven't been met, it still waits for the evaluation interval to run.
* If the check_activity_set_trigger event fires, the Activity set trigger conditions are checked immediately.
{#le-eval-interval-trigger-workflow-info__ul_lwx_3j1_jsb}

## Check activity set trigger workflow event {#le-eval-interval-trigger-workflow-info__section_yr2_fyw_fwb}

Use the check_activity_set_trigger workflow event in a server-side script (business rule, event script, scheduled job, and the like) to shortcut the Wait to reevaluate the Trigger Script timer and evaluate an activity set's trigger just-in-time. If you're considering using a more frequent Evaluation interval to avoid a long timer wait, use this option instead.  
Note:  
The check_activity_set_trigger event doesn't work with activity sets that are triggered immediately or triggered only by other activity sets.  
When preparing to use the check_activity_set_trigger workflow event, first determine when the activity set's trigger criteria could be checked. For example, if using a "Condition" trigger type, a business rule with the same condition may be a good place to check if the condition is true. If using an "Advanced" trigger, determine what server-side business logic caused the Advanced script to return true. For example:

* script include
* scheduled job
* import script
.

After you've determined the server-side location to check the trigger criteria, add the
following script to it:

    (function executeRule(current, previous /*null when async*/) {
    	var wf = new global.Workflow().getRunningFlows(current);
    	while (wf.next()) {
    		if (wf.getValue('name') !== 'HR Activity Set Trigger Check')
    			continue;
    		new global.Workflow().broadcastEvent(wf.sys_id, 'check_activity_set_trigger');
    	}
    })(current, previous);


