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

Exception in Workflow

Former Member
0 Likes
905

Hi,

In the workflow log, I am seeing a 'broken block in red color' when one of the approver rejects at a particular level. Workflow is not executing for the rejection path. May I know the reason behind this.  I am more worried about the broken red color block. I am seeing the status as 'Error'.

You can observe the difference of the execution of the workflow from the following .

If this is an exception how do I need to handle it. Please help me.

  1. 1.Approved                      2. Rejected                  3. Error/Exception msg

                     

       

Accepted Solutions (1)

Accepted Solutions (1)

paul_bakker2
Active Contributor
0 Likes

Hi there,

I hope you have closed the other threads that asked the same question.

In the workflow log, you should look at the Chronological view instead of the Tree view, to see exactly which step has the error.  You should also do Extras > All Errors to see all of the error messages.

cheers

Paul

Former Member
0 Likes

Hi Paul,

I searched for the option in Personal Workflow Settings for tree view. But I did not see any such options.

Based on the following snapshot i can highlight, the total abnormal execution of the workflow. I see that exception is not handled.

and finally I see the following msg in error log.

I am new to workflow. Please help me to tackle this. Help would be greatly appreciated.

Thanks,

Raghavendra

vimalv
Active Participant
0 Likes

Raghavendra,

To see the Chronological View, click on the "Tree View" block button above the Steps, and you will see the options.

I have a couple of questions -

1. Is "Need Approval" , the approval step/WI which goes to the User to Approve/Reject?

2. The exception has happened at a "Block" step - am not sure why you use this Block - you could have used outcome from the Previous step or if you are setting/resetting any container element, then you could have handled it via a "Condition" step. If you still want to use the Block step, activate "_Catch_all" exceptions under the Exceptions tab in the Block step.

Hope helps.

Answers (2)

Answers (2)

paul_bakker2
Active Contributor
0 Likes

Hi,

As stated above, the Chronological view is an alternative to the Tree view.

It looks like the "Need Approval" step was not the one that went into error.

The screenshot of error messages is useful, thanks. I see that there are more that aren't being shown, or are all of them non-errors?

It appears there was a temporary error that was retried 3 times before going into error. Try to find this workflow in transaction SWI2_DIAG and see if a "Restart" works.

cheers

Paul

Former Member
0 Likes

Hi Vidyadharan,

Based on your words, I started to search for the exceptions. As you told exception "_Catch_all" needs to be activated. However for all other blocks in that project is handled with custom exceptions. That wasn't handled for this particular case. I did that missing thing and now works as per expectation. Thanks for the great help.

Thanks Paul and Rob.

Former Member
0 Likes

Well, the reason is that it is in error. You use the workflow log to find out why this is happening.