cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Workflow error handling

0 Likes
3,479

Hi Workflow experts,

We have a custom FIORI request approval application and needs to track down the error requests seperately.

For that, We are creating 'Workflow system error monitoring report'. Basically the core requirement is, when error occurs like Email ID missing, Agent not determined, method cannot be executed,TRFC connectivity issue, dump issue Or network issue, these issues should be updated as 'System error' in that monitoring report. After displaying the error entries into report, Our IT local team will have an authority to resolve that and redirect to corresponding approval by using button.

Point 1. For tracking the workflow error, we can run a report in background every 2 min for tracking workflow error request and update into monitoring report. Will this be good idea to follow this process?

Point 2. Is it feasible to redirect to previous/ next approval once system error resolved?. Actually once workflow gets into error we are having feature to re trigger from SWPR/SWPC tcode that will help to continue the flow from where it got struck and not help to redirect to previous/next approval. In this case, how to achieve this? Kindly provide your expertise on this. Thanks.

View Entire Topic
pokrakam
Active Contributor

To Point 1: No I don't think it's a good idea. SAP already provide good error monitoring capabilities, why do you want to redevelop the same thing?

To Point 2: Model this in your process, that's what workflow is for!

0 Likes

Hi Mike,

Thanks for your response.

Point 1 : Yes. There are error monitoring program to restart from error state. But, My UI5 application is a custom app which has custom table and fields. This has to be updated for respective requests which particularly goes into error. For every error request, my custom table has to be updated with 'Error status'.

Point 2 : Yes. If workflow gets system error, where do we have to apply our custom logic program?. Basically if workflow gets into error, even if we resolve the error, we can't redirect the same error workflow to previous /next level approval rite because the status will be 'Error... (Or else), Is it possible to trigger an event when error occurs right away?. So that with an error event triggering we can write custom logic to redirect the approval process? Please correct me if i am wrong. Thanks.