- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
What do I need to do so that WO does not close automatically when closing the work order task? What causes this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
this is happening due to OOTB business rule "Roll Up Changes"
this is explained in KB and the workaround as well to make this not happen
Closing child Work Order task also closes parent work order
If you don't want this to happen then add this in the BR condition
current.sys_class_name != 'wm_task' && current.sys_class_name != 'wm_order'
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
And how do I cancel this message, where does it come from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago - last edited 8 hours ago
Hi Ankur, even from the kb article, I am not sure about this.
That script seems to read that it will, yes, call the roll up state changes to wo, but removing this to block the closure of wo when wot is closed may not be best practice since it also handles updating of estiamted times and work durations.
Be mindful of this when adding your condition to line 5.
Consider lines 13 and 15.
It's been a long time since London 🙂
I reached out to the team who wrote that KB. Condition on line 5 alone might be the play.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
14 hours ago
it must be coming from some OOTB business rule.
try searching
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
