on 11-15-2007 1:22 PM
Hi ,
I have a scenario in workflows , in which when a user creates a timesheet , a mail goes to approver , when the timesheet is approved the mail should get automatically deleted .
We have created a standard task for this purpose ( a copy of TS31000007) .
The business Object is CATS , terminating event is COMPLETED , method is APPROVE . There is no triggereing event a FM is being used .
The standard task is copied in two test environments , from first system the mail gets automatically deleted , but from the second one it is not getting deleted .
Also the workflow log in SWEL doesnt show any rows in the second system .
In the first system , there are 4 steps in the workflow log :
Dialog work item created
Background process started
terminating event received
work item processing complete
Though the workitem has deleted , but the status of the workflow is in Progress
while the second has only two steps in workflow log
Dialog work item created
Background process started
and the workflow status is "Ready"
I guess the terminating event in the second case is not getting received .
but ,I have checked sweinst and found that the instance linkage is activated .
Also when the workitem is approved , it does not get delete , and if we try to re execute it again , the gives a msg " NO data found "
Can someone help me to find why the mail is stuck in the inbox and correct this problem.
Thanks
Sheetal
Hi
Most likely is a dump. Check ST22 for any dumps, SM21 if no dumps and analyse further.
Regards
Gareth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It will be automatically configured once you press execute on SWU3 transaction.
or u can create an RFC destination with name WORKFLOW_LOCAL_XXX where XXX is ur client number. this is done in Tcode SM59 . Usually the config is maintain thru SWU3 only and by someone who has SAP_ALL auth coz it gives WF-BATCH SAP_ALL auth which enables WF to run smoothly.
Hope this helped u !
Regards,
Anuj Sethi
Unless and until the Terminating event is triggered the workitem will not disappear. Check how the Event is getting triggered in other system. I feel it is getting triggered by standard means. Check whether there is proper settings in SWEHR3.
It means that you are not doing any special configuration for event triggering or coding. Please check what is missing in the system you are having problem. Check SWU3 setting is fine or not.
<b>Please close thread when issue resolved</b>
Thanks
Arghadip
Message was edited by:
Arghadip Kar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.