- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
yesterday
Requirement Overview: In ServiceNow HR Service Delivery (HRSD), Lifecycle Events are the engine behind complex processes like enterprise onboarding. However, as business requirements grow, you might find that your 26th Activity Set simply refuses to trigger.
If you’ve hit this wall, you aren't doing anything wrong; you’ve simply encountered a default hard-coded limit within the HR Activity Set Launcher workflow.
Solution:
- Updating the Activity Set Launcher: To allow your Lifecycle Event to process more than 25 sets, you need to adjust the properties within the core workflow. Here is the step-by-step guide to applying this fix:
1. Locate the Workflow
Navigate to Workflow > Workflow Editor and search for the workflow titled:HR Activity Set Launcher
2. Check Out the Workflow
To make changes, you must first Check Out the workflow. This ensures you are working on a new version without disrupting active processes.
3. Adjust the "Max Activity Sets" Property
Within the workflow canvas, look for the activity (usually a script or a counter) that governs the loop for activity sets.
- Locate the input variable or script attribute, often labeled
max_activity_setsor similar. - Change the default value from 25 to your required number (e.g., 30 or 50).
Pro Tip: Don't set this number to 500 just because you can. Keep it within a reasonable range of your actual needs (e.g., 5-10 above your current count) to maintain optimal platform performance.
4. Publish and Test
Once the value is updated:
- Save the workflow.
- Publish it so the changes take effect globally.
- Restart your Lifecycle Event case to see the 26th activity set trigger successfully.
Screenshots
If this article is helpful to you. Please mark it as helpful.
Thank you!