The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Lifecycle Event on a HR Total Rewards Case COE : Change Default Evaluation interval

psypniew
Mega Guru

Hello,

 

    I would like to use the Condition with Event BR (Demo) business rule to trigger an evaluation of my activity set faster.

Default Evaluation interval is 4 hours.

https://www.servicenow.com/docs/bundle/xanadu-employee-service-management/page/product/human-resourc...

This out of the box Business Rule is on the HR Lifecycle Events Case [sn_hr_le_case] Table, but I want to Use it on a HR Total Rewards Case [sn_hr_core_case_total_rewards] Table.

Here is the Case:

Capture 1.png

And Here is the HR Service set for this Case:

psypniew_0-1753456140870.png

 

Is it possible ? How to change the script of this Business Rule ?

Thanks for your help.

 

Paul S.

1 ACCEPTED SOLUTION

psypniew
Mega Guru

I found the solution by updating the Evaluation Interval field of the Activity Set (Note: by default, the field is not on the Activity Set form; configure the form to show it).

psypniew_0-1753713849847.png

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1117350

 

5. How can I make the Activity Set's Trigger Condition evaluation faster (or immediate) so the activities can launch sooner?

By default, the Evaluation Interval is 4 hours. There are 2 ways to trigger the Activity Set sooner:

1. Use the Condition with Event BR (Demo) Activity Set, which provides the ability to trigger the Activity Set once the trigger condition is met (without the need to wait for the Evaluation Interval). For more details, review the documentation here: Condition with Event BR (Demo) activity set.

2. Reduce the Evaluation Interval of the Activity Set (see #6) and increase the max workflow activity count (see #4). This is not recommended as this could hit the max workflow activity count limit (see #3).

 

6.  How do I change the Evaluation Interval of an Activity Set?

a. Update the Evaluation Interval field of the Activity Set (Note: by default, the field is not on the Activity Set form; configure the form to show it).

OR

b. Set the System Property sn_hr_le.All activity set closure timer when the evaluation_interval column is null (see Lifecycle event properties). Note that this is a legacy property and might not exist on the instance. If that's the case, follow option A and ensure that the Evaluation Interval field is populated for all Activity Sets.

 

Regards,

Paul S.

View solution in original post

2 REPLIES 2

Abbas_5
Tera Sage
Tera Sage

Hello @psypniew,

 

Please refer to the links below:
https://www.servicenow.com/docs/bundle/yokohama-employee-service-management/page/product/human-resou...

https://www.servicenow.com/docs/bundle/yokohama-employee-service-management/page/product/human-resou...

 

If it is helpful, please hit the thumbs up button and accept the correct solution by referring to this solution in the future, as it will be helpful to them.

 

Thanks & Regards,

Abbas Shaik

psypniew
Mega Guru

I found the solution by updating the Evaluation Interval field of the Activity Set (Note: by default, the field is not on the Activity Set form; configure the form to show it).

psypniew_0-1753713849847.png

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1117350

 

5. How can I make the Activity Set's Trigger Condition evaluation faster (or immediate) so the activities can launch sooner?

By default, the Evaluation Interval is 4 hours. There are 2 ways to trigger the Activity Set sooner:

1. Use the Condition with Event BR (Demo) Activity Set, which provides the ability to trigger the Activity Set once the trigger condition is met (without the need to wait for the Evaluation Interval). For more details, review the documentation here: Condition with Event BR (Demo) activity set.

2. Reduce the Evaluation Interval of the Activity Set (see #6) and increase the max workflow activity count (see #4). This is not recommended as this could hit the max workflow activity count limit (see #3).

 

6.  How do I change the Evaluation Interval of an Activity Set?

a. Update the Evaluation Interval field of the Activity Set (Note: by default, the field is not on the Activity Set form; configure the form to show it).

OR

b. Set the System Property sn_hr_le.All activity set closure timer when the evaluation_interval column is null (see Lifecycle event properties). Note that this is a legacy property and might not exist on the instance. If that's the case, follow option A and ensure that the Evaluation Interval field is populated for all Activity Sets.

 

Regards,

Paul S.