RECTIFICATION - Passing attachments from a workflow to anothe r workflow

Dart, Jocelyn jocelyn.dart at sap.com
Mon Jul 26 22:18:43 EDT 2004


Helene,
If you are triggering the event in your own workflow or program:=20
Add an event parameter with the same multiline/data type reference as =
_ATTACH_OBJECTS to your event.=20
 
If you are triggering the event automatically e.g. via the HR event =
rules tables, then you could always
create a method that finds the related workflow, reads the =
_ATTACH_OBJECTS from the workflow container and returns it to your new =
workflow.=20
 
Jocelyn=20
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of =
HELENE_PAQUIN at acdi-cida.gc.ca
Sent: Monday,26 July 2004 11:44 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: RECTIFICATION - Passing attachments from a workflow to =
another workflow
 
 
 
Yes, I trigger the event and the design cannot be changed - my main
workflow starts with a form for the staffing process and one branch of =
the
workflow is to create a new position, as soon as the user press save =
for
the creation of the new position another workflow is automatically =
started.
The reason for it was to catch everyone, people who use the form and =
people
who create the position directly in SAP through transaction PPO3.
 
My problem is when they use the form, the workflow goes through many =
steps
where they have to attach the job description, the statement of
qualifications etc. which is also needed in the second workflow.  It =
would
be tedious and redundant to ask people to attach the same thing a =
second
time.
 
I have to find a solution.  Any ideas anyone?
 
PS:  I have no problem binding the attachments within the first =
workflow,
it goes from workitem to email to workitem and so on, it works like a
charm.
 
 
 
H=E9l=E8ne Paquin
819-994-2249 | helene_paquin at acdi-cida.gc.ca | =
T=E9l=E9copieur/Facsimile:
819-953-6359
 
Administratrice des d=E9roulements SAP, Application et soutien (TID)
Direction g=E9n=E9rale de la gestion de l'information et de la =
technologie
Agence canadienne de d=E9veloppement international
200, promenade du Portage, Gatineau (Qu=E9bec)
Canada K1A 0G4
 
SAP Workflow Administrator, Information Technology (ITD)
Information Management and Technology Branch
Canadian International Development Agency
200 Promenade du Portage, Gatineau (Quebec)
Canada K1A 0G4
 
 
 
                                                                        =
                                                                 =20
                      Jim Sauceman                                      =
                                                                 =20
                      <sauceman at tennessee         To:      =
SAP-WUG at MITVMA.MIT.EDU                                                  =
      =20
                      .edu>                       cc:                   =
                                                                 =20
                      Sent by: SAP                Subject: Re: =
RECTIFICATION - Passing attachments from a workflow to another workflow =
  =20
                      Workflow                                          =
                                                                 =20
                      <Owner-SAP-WUG at MITV                               =
                                                                 =20
                      MA.MIT.EDU>                                       =
                                                                 =20
                                                                        =
                                                                 =20
                                                                        =
                                                                 =20
                      2004-07-23 03:21 PM                               =
                                                                 =20
                      Please respond to                                 =
 
                      SAP Workflow Users'                               =
                                                                 =20
                      Group                                             =
                                                                 =20
                                                                        =
                                                                 =20
                                                                        =
                                                                 =20
 
 
 
H=E9l=E8ne,
 
My suggestion was based on a design whereby the main workflow calls the
subworkflow as a step/task within it and NOT by triggering an event to
start
the subworkflow. If this is your design:
 
>From within the workflow graphical editor, double-click on the =
step/node
that represents the task that calls your subworkflow. Then, click on =
the
button labeled "Binding". There is a multi-line container element named
"_Attach_Objects". Pass (i.e. bind) that to the corresponding element =
in
the
subworkflow. Repeat for each task in the subworkflow and the =
attachments
will be available to them.
 
If on the other hand, you trigger an event to start the subworkflow, I =
am
not sure how the attachments can be passed as the Event Container does =
not
appear to have this element. I probably should have paid more attention =
to
your use of the word "trigger" if you meant it literally. If this is =
the
case, I wonder if your design could be changed to the former to =
facilitate
the passing of information between the two workflows?
 
Best regards,
 
Jim Sauceman ...................... sauceman at tennessee.edu
University of Tennessee
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of =
Sap
Wug
Sent: Friday, July 23, 2004 1:43 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: RECTIFICATION - Passing attachments from a workflow to =
another
workflow
 
 
Hi Jim,
 
Since it is from one workflow to another workflow, which binding do you
mean... can you explain.
 
Thank you!
 
 
 
 
 
 
                      Jim Sauceman
 
                      <sauceman at tennessee         To:
SAP-WUG at MITVMA.MIT.EDU
 
                      .edu>                       cc:
 
                      Sent by: SAP                Subject: Re:
RECTIFICATION
- Passing attachments from a workflow to another workflow
                      Workflow
 
                      <Owner-SAP-WUG at MITV
 
                      MA.MIT.EDU>
 
 
 
 
 
                      2004-07-23 11:48 AM
 
                      Please respond to
 
                      SAP Workflow Users'
 
                      Group
 
 
 
 
 
 
 
 
H=E9l=E8ne,
 
Have you tried passing _ATTACH_OBJECTS to the subworkflow via the =
binding?
 
Hope this helps,
 
Jim Sauceman
University of Tennessee
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
HELENE_PAQUIN at acdi-cida.gc.ca
Sent: Friday, July 23, 2004 11:41 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: RECTIFICATION - Passing attachments from a workflow to another
workflow
 
 
 
I did not explain properly the first time, turns out that my main =
workflow
get completed at the end while one of the branches trigers a completely
seperate workflow.  Some attributes of the main workflow I need to pass =
to
the second workflow.
 
Any idea how to do that?
 
 
 
H=E9l=E8ne Paquin
819-994-2249 | helene_paquin at acdi-cida.gc.ca | =
T=E9l=E9copieur/Facsimile:
819-953-6359
 
Administratrice des d=E9roulements SAP, Application et soutien (TID)
Direction g=E9n=E9rale de la gestion de l'information et de la =
technologie
Agence canadienne de d=E9veloppement international
200, promenade du Portage, Gatineau (Qu=E9bec)
Canada K1A 0G4
 
SAP Workflow Administrator, Information Technology (ITD)
Information Management and Technology Branch
Canadian International Development Agency
200 Promenade du Portage, Gatineau (Quebec)
Canada K1A 0G4
 
 
 
 
                      Koenraad Janssens
                      <koenraad.janssens at sidmar.a         To:
SAP-WUG at MITVMA.MIT.EDU
                      rcelor.com>                         cc:
                      Sent by: SAP Workflow               Subject: Re:
Passing attachments from a workflow to a subworkflow
                      <Owner-SAP-WUG at MITVMA.MIT.E
                      DU>
 
 
                      2004-07-23 09:40 AM
                      Please respond to SAP
                      Workflow Users' Group
 
 
 
 
 
Strange....   I thought attachements were transferred automatically =
from
main WF to subflow...
At least if the attachment existed on the moment the subflow
started........
 
Kind regards
 
Koenraad
 
(by the way .. I think there are functions to manually bind a certain
attachement to a certain workitem id......  SWL_WI_NOTE_CREATE?)
 
 
 
 
 
HELENE_PAQUIN at acdi-cida.gc.ca
Sent by: Owner-SAP-WUG at MITVMA.MIT.EDU
23/07/2004 15:35
Please respond to SAP-WUG
 
 
        To:     SAP-WUG at MITVMA.MIT.EDU
        cc:
        Subject:        Passing attachments from a workflow to a
subworkflow
 
 
Hi everyone,
 
I am looking for a way to pass attachments, which have been created or
imported by users, from a fairly complex staffing workflow to some =
other
subworkflows.
 
My problem is, when within the subworkflows, which have been generated =
by
the system, the attachments are lost.  How do we bind between the two?
 
We are on 4.6, soon going to 4.7.  Any input would be appreciated.
 
Thank you!
 
 
 
H=E9l=E8ne Paquin
819-994-2249 | helene_paquin at acdi-cida.gc.ca | =
T=E9l=E9copieur/Facsimile:
819-953-6359
 
Administratrice des d=E9roulements SAP, Application et soutien (TID)
Direction g=E9n=E9rale de la gestion de l'information et de la =
technologie
Agence canadienne de d=E9veloppement international
200, promenade du Portage, Gatineau (Qu=E9bec)
Canada K1A 0G4
 
SAP Workflow Administrator, Information Technology (ITD)
Information Management and Technology Branch
Canadian International Development Agency
200 Promenade du Portage, Gatineau (Quebec)
Canada K1A 0G4
 
 
 
 
 
************************************************************************=
****
 
 
*******
 
This message should only be read by those persons to whom it is
addressed, and may contain confidential information, the disclosure
of which is prohibited. This message is not intended to create rights
or obligations without subsequent written confirmation of its contents.
If you have received this message in error, please notify us =
immediately
************************************************************************=
****
 
 
*******
 


More information about the SAP-WUG mailing list