cancel
Showing results for 
Search instead for 
Did you mean: 

Request Stop

jgregor4
Level 6
Is there a way to capture in the logs when a "Request Stop" has been initiated and by which user? I think this would be helpful for when we get told a process has "Stopped" but its clearly happened because someone picked request stop on the wrong process
2 REPLIES 2

Well, I believe that you can capture WHEN it has been initiated (through decision checking whether someone initiated such a request) and if yes then taking a time stamp in calculation stage which can be seen in the log. I doubt based on documentation that you can capture WHO :).

david.l.morris
Level 15
FYI, I'm about to make a potentially unnecessary distinction. I'm just hoping it'll help the discussion toward finding an answer to this. I'm not sure how you'd know which user requested the stop, but I just wanted to mention that if you use 'Request Stop', the status of the session will be whatever the Process Flow determines, which could be Completed or Terminated. The sessions logs would show when IsStopRequested() comes out to true only if the process checks for that and only if that stage is getting logged. I think it'll only say 'Stopped' if the Control Room operator clicks 'Immediate Stop'. As I said, it may be irrelevant, but it'll affect how you look for the clues in the DB, session logs, etc. I checked the audit logs and there's no entry added to it when a user requests a stop. However, when a user clicks 'Immediate Stop', the last line of the session/process log is 'Process stoped by user [username] from resource [resourcename].

Dave Morris, 3Ci at Southern Company