- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2016 12:48 PM
I had almost walked this all the way down and I can't figure out the last part.
Currently in ServiceNow a "resolved" incident (State=6) or "Cancelled" (State=5) set active=true. I started walking that down and I found a business rule "Task Active State Management" which sets the active flag. That calls a script include "TaskStateUtil" which checks the table to see if a default is set on the table, and if not it uses a system default of 3,4 and 7 as inactive.
What I can't figure out - is what is the script include looking for on the table to override the default? Is it an argument in the collection? Is it a dictionary override? What would I need to change (without trying to re-write the OoB script include) to override those default values? I am sure it would be obvious if I was better at reading scripts.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2016 12:59 PM
Francis, you can control these by using a dictionary override on the task.state field and using different attributes.
For example the below line is used for planned tasks:
close_states=3;4;7,default_close_state=3,default_work_state=2
But the attribute for the rm_sprint override just says:
close_states=3;4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2016 12:59 PM
Francis, you can control these by using a dictionary override on the task.state field and using different attributes.
For example the below line is used for planned tasks:
close_states=3;4;7,default_close_state=3,default_work_state=2
But the attribute for the rm_sprint override just says:
close_states=3;4