on 2008 May 16 8:01 AM
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.
After this using SWEL event output i went into workflow 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
hi,
i think the problem is that your task is no backround task you have to define it as backround only then the task will automaticly launched.
One other thing for backround tasks, have you done your workflow customizing well ?
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can find the workflow customizing in swu3 - its important for the backround workflow user
the backround choice is disabled ? I thik its disabled because you defined the method in the BO as Dialog method. You have to go to swo1 and uncheck the method setting dialog ( Of cource only when it's really no dialog method ... dialog method means that the user has do so something while executing the method)
regards
Hi Mathias,
I corrected the method and selected the background processing in the task. But still the table was not updated when i fired the event using SWUE.
in workflow log i see
Status : Processin
and in details table below :
1. Start Event Recieved
2. Background Workitem Created.
I checked the Backgorund jobs, but was not able to make out the exact job.
Regards
You will not find it in background jobs, as it is not a background job. You can see the status by using SWI1 or SWIA to find all the tasks. The task should be there and you can check the log to see the status.
By the way, you have now two threads for the same question ([this|; is the other one). So i think you should close the other one.
Regards,
Martin
User | Count |
---|---|
73 | |
10 | |
8 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.