Hi All, I need your advice for BPT Process.
In the BPT process, when the systems got an error in the automatic activity, the flow will be stopped and retried the flow again from the beginning right after the flow end. But in my case, the BPT process hasn't been completed yet until to end flow. The status is still always Active with Error even though it's been a couple of days.
So my question is how to stop this BPT process from service studio with the timer until closed successfully. for example when bpt process has processing 1 hour already then the bpt process will be forced closed. then we will update the entity status. Because we have functions for import the excel file using bpt process. after bpt flow ended the system will update the status to completed on the front-end, but if got the error, I want to update the status on the front-end to failed.
I tested like this with the Activity Close/Skip but still can't stop the bpt process and can't update the entity because the exceptions is not triggered, and the automatic activity retried the flow again from the beginning. the status is not closed and still active with error.
Anyone can help me please? I Appreciate it. Thanks
Hi Muhammad Khoir Al Alim Manurung,
You should handle the exception in the automatic activity, I think you already doing that. Make sure, not to call any Activity Close/Skip action.
Once you are handling the exception in the automatic activity flow, the exception will not be raise to process and the execution will happen in normal way and your process will closed.
Please find the attached sample.
ThanksPankaj
Hi @Pankaj Jain, thanks for your helps. I already removed the Activity Close/Skip action. and still not yet closed as well. The status is still active with error.
I think, I need a timer (like time out) in the BPT process to force close. so the bpt process will not retried from the beginning after the time is out.