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

functional method not evaluated in wf start condition

Former Member
0 Likes
2,173

I want to extend an existing (and working) start condition with a functional method of a custom BOR object. However, it seems that the functional method is not evaluated when the event is triggered, so the workflow is started even if conditions aren't met.

The workflow is started with event FIPP-ASSIGNED (available through delegation from custom BOR object ZOKU_FIPP). The existing start condition checks for the company code. I added a new functional method to it.

The functional method is defined as a synchronous method with some ABAP for additional checks.

I have tested that the start condition works fine when I test it in the condition editor with proper test data.

I have also tested using the corresponding functional method as a separate step in the workflow. It is called and works correctly then. However, I checked with debugging (an eternal loop + SM50) that the functional method is not called from the start condition when the event is triggered.

What am I missing?

View Entire Topic
bpawanchand
Active Contributor
0 Likes

Hi,

You can use the functional methods same as how you use your container elements in the binding definition. check this blog.

Thanks,Pavan