Evaluation Interval and Activity Containers

Lorenzo8
Mega Guru

Dear community, I am implementing a lifecycle event using activity containers to add conditions between activities. I noticed that when I add activities with a different order in the activity container, after an activity is completed, it takes a few hours before the activities with higher order number get activated.

 

Now, I am aware that when using advanced condition in activity sets, there is an evaluation interval. However, I don't see any documentation on a similar interval used in activity containers. From the documentation, activities should be triggered sequentially if the order number is different.

 

In this support article (point #2), ServiceNow makes a suggestion on how to reduce the time for activity sets. However, nothing is mentioned about activity containers.

 

Did anyone experienced something similar or have any suggestion on how to reduce this time for activity containers?

2 REPLIES 2

Wessel van Enk
Tera Guru
Tera Guru

Hi,

There is a system property (sn_hr_le.All activity set closure timer) that is set by default on 4 hours to re-evaluate the activities. Once an Activity Set is closed, it will take the remaining time since the last interval before the other activities will be triggered. You can reduce the time set for the interval to speed up the trigger but, be careful that if you have a big number of cases, this can cause performance issues. 

michaelj_sherid
ServiceNow Employee
ServiceNow Employee

@Lorenzo8 In San Diego we introduced an enhancement to be able to send the event to trigger activities to be evaluated using a Business Rule. I would use this as the means to have the activity re-evaluated. This is typically used for Activity Sets themselves, but having multiple activity set containers this should help there as well. The trick is to understand what is updated in the prior activity set container that you can use the Business Rule to send the event to reevaluate the activity set. That will depend on your use case, but can be done, nonetheless. Here is a link to the details of the feature I mentioned. Just look under the Condition with Event BR Activity Set section.

 

If my answer has helped with your question, please mark my answer as an accepted solution and give a thumbs up.

Regards,

Mike