Sending a attachment with a workitem (4.6C)

Zmudzin,Tomasz,VEVEY,GL-IS/IT Tomasz.Zmudzin at nestle.com
Tue May 6 07:04:07 EDT 2003


Hi Hans,
 
The tasks are not important here. It is rather how your scenario is
constructed.
 
The subworkflow can work on its own without any issues. You may just have a
scenario in which it is killed by the calling workflow because of some
logic. One of the typical cases is:
- you submit an object to release.
- The release happens within a subworkflow which also accepts attachments
and passes them back to the calling workflow.
- This has already happened (e.g. in a two-step release procedure, the first
step has been completed -- the second one is outstanding).
- Now if the object changes the request to release (at the stage 2) should
be withdrawn -- the new object contents are different from what has been
approved in stage 1.
- Because of this the subworkflow is killed ("logically deleted"). Any new
attachments created in it will not be passed to the calling workflow (which
would restart the whole approval process).
 
Is this one of these cases?
 
Kind regards,
Tomasz
 
-----Original Message-----
From: Hans Brilleman [mailto:Hans.Brilleman at capetown.gov.za]
Sent: Tuesday,6. May 2003 12:07
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Sending a attachment with a workitem (4.6C)
 
 
Hi Tomasz,
 
I am not sure what the logic behind this is, as I am using two sap
standard tasks being TS00007914 (Release amount) and TS20000547 (Enter
attachment for rejection). What does confuse me is that it works when I
run the sub workflow on its own.
 
Thanks,
 
Hans.
 
>>> Tomasz.Zmudzin at nestle.com 05/06/03 11:35am >>>
Dear Hans,
 
first of all -- please check why the subworkflow gets "logically
deleted".
It will pass the attachments to the calling WF only if it completes.
Most
probably there's some logic to cancel your subworkflow (which you did
not
describe in your e-mail) that terminates the subflow before it can pass
its
results back to the caller.
 
Kind regards,
Tomasz
 
 
 
-----Original Message-----
From: Hans Brilleman [mailto:Hans.Brilleman at capetown.gov.za]
Sent: Tuesday,6. May 2003 11:07
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Sending a attachment with a workitem (4.6C)
 
 
Hi Workflowers
 
I have a workflow that calls a sub workflow. This sub workflow creates
an attachment which should be available to a task in the main
workflow.
 
When I run the sub workflow on its own via SWUD, it works fine and a
'attachment' entry is entered in the container(both workflow and task
container) and the workflow completes.
 
When I run the process normally via the main workflow, the sub
workflow
does not comlete but goes to a status of 'LOGICALLY DELETED' and the
'attachment' entry is not in the sub workflow container, although it
is
in the task container. This then causes the attachment not to be
available to the step where needed in the main workflow.
 
Any help will be greatly appreciated.
 
Many thanks,
 
Hans.
 


More information about the SAP-WUG mailing list