Problem with Orchestrator and a Stop Signal

We have an unattended process in the orchestrator, this process has a trigger that sends a STOP signal after a certain time, the problem is that in some executions the process does not stop and remains with the STOPPING status in the orchestrator.

Has Anyone a clue?

Do you have the Should Stop activity in the code, and the correct logic that if it returns true the job stops? There’s nothing automatic about the stop command, you have to explicitly look for it using the Should Stop activity.