SRs Cancelling then Closing - Cancels work items but leaves Activities open
SCSM workflow updates the Task from Cancel SR to Close within seconds, this allows users to Cancel then Close immediately. The bug appears to be SCSM will then close the work item even with open activities. We have a growing list of SRs, where we need to use a script (designed by the lovely @Leigh_Kilday)to Force Cancel or Complete Activities. We now need to look at a script to trawl all work items for those with In Progress Activities but work items Closed or Cancelled.
How have others addressed this? Any code you can share?
User education can only go so far, especially when it's an expected behaviour to hit cancel, then close. So we don't want to say not to do that, as it doesn't reflect well on the tool.
@Leigh_Kilday has raised a Feature Request https://community.cireson.com/discussion/2050/allow-admin-override-funcationality-in-the-portal
Answers
I assume the SR's are cancelled because they are either no longer needed or the quote they received was higher than expected etc. and the user then requests the SR to be canceled.
Why does the SR have to have it's status changed after it is canceled?
@Brett_Moffett From the end users perspective, for whatever reason they cancel their request, immediately the Task now shows Close, they naturally then press that as well. It's simply that the Close appears, that they assume they need to close it.
I need to add, this only affected PROD where there's at any time around 300 plus jobs in the queue, whereas in TEST this isn't an issue because the workflow has time to Cancel each Activity before Closing the SR.
I also would like if the auto close would pick up canceled request.