cancel
Showing results for 
Search instead for 
Did you mean: 

Worflow : Method with in the task is not working.

Former Member
0 Kudos

Hello,

i am saving a parked document and change event is triggereing ( i saw this in SWEL).

i have a created a single step task that contains the trigering event (Change for parked document) and custom method which contains the code to update a z table.

i see in swel event is fired and also the task is fired with that.

but the table is not getting updated.

i tested the object and debuggd it manually through swo2. the program is working fine when executed through swo2. but doesnot work when executed through an event via transaction.

please let me know if there is any additional setting for this to work.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Duplicate Posting so marked as answered.

Former Member
0 Kudos

I hope you are passing all relevant parameters from Event to Task container and subsequently to Method container to updated your Ztable. Ideally you should analyse the Workflow Log and the task Container value and then test your method..

Thanks

Arghadip

Former Member
0 Kudos

I went in to worflow log and found that,

1. Status : Ready.

2. After pressing details button i get details for step table below.

3. In this table there are two entries : a)Work item Created after event. b)Dailog work item created.

can somebbody please explain me why the method is not executed (or is it executed).

thanks

martin_nooteboom
Active Contributor
0 Kudos

It is not executed because you made a dialog task and not a background task. Check your task to see if the check mark 'Object method with dialog' is unchecked, and also 'Background processing' should be checked.

Regards,

Martin