To enable logging for Lifecycle Events, set the sn_hr_le.log_level system property to ERROR, INFO, or DEBUG, then select Update. The required role is sn_hr_le.admin. Choose the level that captures the evidence you need, reproduce the affected process, and inspect the case through Show execution logs.
Enable logging for Lifecycle Events through System Properties
The setting controls the types of Lifecycle Events messages written to the HR Lifecycle Events Case Logs [sn_hr_le_case_log] table. Use it when you need evidence about an error or about processing within a lifecycle event case. Changing the logging level provides diagnostic information; treat correction of the underlying case problem as separate work.
For this property change, the required role is sn_hr_le.admin. Before editing, record the current Value and identify the case and process you intend to examine. That gives the administrator a clear starting point and a value to return to when the investigation ends.
- Open the All menu and enter sys_properties.list in the navigation filter. This opens System Properties [sys_properties].
- Choose Name in the drop-down list associated with Search.
- Enter *sn_hr_le in Search to find the Lifecycle Events properties.
- Open sn_hr_le.log_level. Check the complete property name before editing its Value.
- Set Value to the logging option needed for the investigation.
- Select Update.
Reopen the property and check that the intended value is stored before running your test. Keep the property name in the change record: a note saying “logging enabled” leaves the next administrator guessing which setting changed. Check the navigation and behavior on your instance and release before using this sequence in an operational runbook.
Choose the level from the evidence you need
The four values represent different collections of messages. The enabled levels include progressively more categories, so DEBUG includes error and informational messages as well as debug messages. Choose a level deliberately instead of treating the setting as a simple on or off switch.
- NONE: Lifecycle Events logging is deactivated.
- ERROR: Error messages are recorded for Lifecycle Events cases.
- INFO: Error and informational messages are recorded for Lifecycle Events cases.
- DEBUG: Error, informational, and debug messages are recorded for Lifecycle Events cases.
As a troubleshooting approach, consider ERROR when the question is which error was raised. Consider INFO when the review also needs information about the processes that ran. Use DEBUG when the additional debug category is needed to understand a difficult sequence. These are investigation choices, not a default for your environment.
For example, suppose a case has reached a stage where an expected activity is missing. An error message may identify a failure, while process information may help you decide which part of the sequence to examine next. Start with a written question, such as “What ran when this activity set was evaluated?” That makes it easier to judge whether the chosen level produced enough evidence.
Agree who can change the setting and who decides when to restore it. A broader Lifecycle Events governance model helps place that responsibility alongside other configuration decisions.
Run a controlled case test and inspect execution logs
After saving the property, perform the case action relevant to your question. Record the case identifier, the selected level, and when the test took place. Prefer a controlled test in an appropriate environment, with one clearly described action, so the resulting messages can be compared with what you expected to happen.
Viewing execution logs also requires sn_hr_le.admin. Use the case itself as the starting point for the review:
- Navigate to All > Lifecycle Events > Lifecycle Events Cases.
- Select the Lifecycle Events case being investigated.
- Under Related Links, select Show execution logs.
- Review the entries in HR Lifecycle Events Case Logs [sn_hr_le_case_log] for information about errors and processes that ran.
Separate observations from conclusions. “The case produced this error during the test” is an observation. “This configuration caused the failure” needs additional evidence. Capture the relevant message and explain how it relates to the activity or process you were investigating before proposing a configuration change.
If the test requires a new lifecycle event case, case creation has a different role requirement: sn_hr_le.case_writer. A lifecycle event administrator must first have built the event and created its corresponding HR service. The creation route is All > HR Case Management > Create New Case. Select the employee in Search for Employee, choose the HR service under Case Details, and select Create Case.
Complete the appropriate case fields, then use Ready for Work to move the case from Draft to Ready. Keep that action in your test notes if it forms part of the reproduction. Having permission to create a case should not be taken as evidence that the same user can change the logging property.
Read messages against activity sets and case progress
Lifecycle Events organizes work into activities, including tasks and notifications, grouped within activity sets. Activity sets represent stages and have conditions governing when they are triggered. That structure gives a log investigation its context: identify the case, the stage, and the activity you expected before drawing conclusions from individual messages.
A sensible review sequence is to write down the expected transition, inspect the case progress, and then compare the execution messages with that expectation. When a message appears relevant, identify what it actually establishes. Information that a process ran does not, by itself, establish that the employee’s intended outcome was achieved.
Case progress and individual activity set and activity status can be monitored from the lifecycle event case list or case form. Use that visible progress alongside the execution logs. Keeping both observations in the review record helps another administrator distinguish a recorded processing event from the current state of the work.
The trigger type on each activity set decides when its stage starts, so check it first when a message appears out of order. Lifecycle Events offers six trigger types:
- Immediate: all activities in the set are triggered as soon as the lifecycle event case is created.
- Date: activities are triggered relative to a date field on a selected table, offset by days, weeks or months before or after that date. With Ignore empty date selected, a blank date field stops the set from triggering.
- Other activity sets: the set is triggered only after every dependent activity in the earlier set is complete.
- Advanced: a script evaluates custom conditions to trigger the set.
- Condition: conditions are defined on field values in a selected table.
- Combination: Date, Other activity sets and Condition must all be met before the set triggers.
A new activity set starts in the Awaiting Trigger state on its Activity Set Context record and changes to Running Activities once its trigger conditions are met. If a set stops progressing after its conditions have been met, a configuration change made while cases were already open is a likely cause. Changing the Audience or Trigger type of an active set, adding activities to it, or moving activities between sets does not reach cases in which the set has already triggered, its activities have been generated, or those activities have completed. Test such changes in a non-production instance first.
Before changing activity definitions in response to a message, review the surrounding configuration. The guidance on common Lifecycle Events mistakes gives a broader route for checking configuration once logging has narrowed the question.
For help planning this work, see ServiceNow implementation.
Check an empty or inconclusive log review
An empty view needs follow-up before anyone concludes that the case is healthy. First check the property’s saved Value. NONE deactivates logging, and ERROR does not include informational or debug categories. Then confirm that you opened the intended case and actually performed the action described in the test plan.
If ERROR produced no evidence that answers the question, consider whether the question concerns normal processing rather than an error. INFO may be a better match for that investigation. If additional debug detail is needed, plan a separate DEBUG test and record the change of level. Compare like actions so that differences in the test itself do not obscure the result.
Avoid changing several activity settings during the same reproduction. As a diagnostic method, change one relevant condition at a time and preserve the observations before moving on. This approach makes the evidence easier to interpret and reduces guesswork about which change affected the outcome.
Close the investigation with a deliberate logging setting
When you have enough evidence, review the property again and set the level agreed for ongoing operation. Do not assume the previous value was NONE; use the value you recorded before the review or obtain a decision from the configuration owner. Save the change with Update and verify the stored Value.
Record the final level, the case tested, the finding, and the next action. If a configuration correction is still needed, assign that work separately and include the evidence that supports it. For repeatable administration, add the approved sequence to your Lifecycle Events best practices instead of leaving the procedure in an individual administrator’s notes.