cancel
Showing results for 
Search instead for 
Did you mean: 

End condition not working in block

Former Member
0 Kudos

I have used block step in approval process , if any one rejects that should leave the block , in rejection branch i put container element and assign value to that ,the same thing i have given it as a start condition, but it is not working is there any criteria to assign end conditions for a block

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

To terminate the Block on rejection, do the following:

1) define an exception in Exception tab of the block and activate it.

2) It will add an extra branch.

3) now u add the process control step and select the option 'Raise an exception'

4) Now the block will be terminated. other branches of block will set to logically deleted.

5) It will proceed to the next step after the block.

Regards,

Sivagami

Former Member
0 Kudos

i need to add process control step on the rejected branch or exception branch

Former Member
0 Kudos

Hi,

U hav to add the Process control in Exception branch.

Regards,

Sivagami

bpawanchand
Active Contributor
0 Kudos

Check this [Wiki|https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/exceptionhandlingin+Workflows]

saumya_govil
Active Contributor
0 Kudos

Hi Sunil,

I am not sure whether it is the optimum solution or not... but you can use exception handling to terminate a block.

You can trigger an exception in the block on rejection and terminate the block. You can then proceed with the rest of the workflow.

Check this link for more info:

http://help.sap.com/saphelp_nw04/helpdata/en/c4/bd933f09a5fb47e10000000a114084/frameset.htm

Hope this helps!

Regards,

Saumya

Former Member
0 Kudos

by using exception it will terminate automatically or we have to terminate

saumya_govil
Active Contributor
0 Kudos

I am not sure but think it should terminate automatically.

Regards,

Saumya

surjith_kumar
Active Contributor
0 Kudos

Hi,

Your requirement is to stop the workflow, once it get rejected right.

Call Process Control step after the rejection step.

Regards,

Surjith

Former Member
0 Kudos

I dont want to stop the whole workflow , i want to proceed after that block when any one rejects