cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow start condition

Former Member
0 Kudos

Hi,

I have defined some start conditions via txn 'swb_cond' and they doesn't seem to work? Is it possible to debug the start conditions? Is it dependent on workflow customizing by any means i.e. event queue based workflows.

I am not sure if this question has already been answered in this forum but I was unable to find any posts with relevant input I am after.

Thanks,

Surendar

Accepted Solutions (0)

Answers (1)

Answers (1)

pokrakam
Active Contributor
0 Kudos

Hi Surendar,

Just to ask the obvious: are they active? (green light in SWB_COND). Remember activation is also client-dependent, so you need to switch them on again if your'e testing in a different client.

Failing that, there's a test button in the condition editor where you can verify your logic.

Or you can trigger/test your event using SWUE.

Hope that helps,

Mike

Former Member
0 Kudos

Hi Mike,

Thanks for your reply.

The start conditions were active and the testing those conditions give me correct results but when I try to raise a event via SWUE the start conditions does not seem to work.

Is there any way by which I can debug the conditions? Or I should go with check function?

Thanks,

Surendar

Former Member
0 Kudos

Got it!!!

Put a breakpoint in function module 'SWB_CHECK_FB_START_COND_EVAL'. But make sure the check function in txn SWE2 has got value 'SWB_CHECK_FB_START_COND_EVAL'. All start conditions are maintained in table 'SWBRULECOM' and you can put a breakpoint at the select statement.

SWB_COND_EVAL is then used to determine the logic stored in start conditions.

Cheers,

Surendar