Hi,
May i know why the job status is set to Faulted once the terminate workflow activity is called.
In my opinion, the Job Status should not set to Faulted as we set some condition to stop processing the transaction item (by calling terminate workflow). but the job is still run successfully or stopped instead of Faulted. and this will affect the orchestrator chart.
thanks
Hi there @goh6613,
Generally, the âTerminate Workflowâ activity is utilised to stop the process post error, though I have personally never used it.
If the process has gone through the âHappy Pathâ, why would you bother terminating it, simply let it end ânaturallyâ?
Thanks,
Josh
2 Likes
hi Josh,
yes, you are right. but in actual scenario when there are many sub workflows are called, its unlikely to let it end naturally. this is why i call terminate workflow when there is major error and should terminate the process immediately.
thanks
1 Like
Terminate Workflow activity forcefully terminates the workflow, like an error was thrown. This is the reason my the job is considered faulted, because it didnât terminate nicely.