Job is stuck in running state

I am facing issue with process jobs which gets stuck occasionally during invoke code stage and I can’t provide any timeout for same.
Is there any possible solutions for same apart from alert if jobs is running more than x amount of time.
Invoke code contains code for outlook operation and I have to manually kill outlook to resume the jobs( already added kill outlook before and after invoke code but no luck)

@1000634947,

You can kill the job if running more than x hours from orchestrator.

Thanks,
Ashok :slightly_smiling_face: