Missing Workflow Container

Mike Pokraka asap at workflowconnections.com
Mon Dec 10 16:54:55 EST 2007


Hi Sue,

 

This makes sense. If the deadline is being reached in your calling workflow
then the subworkflow will not be completed and no binding back to the
calling flow will be executed. 

 

Why does this make perfect sense? Simple: because the calling workflow with
the expiring deadline does not know what state the subworkflow is in. It
might be halfway through processing and contain some invalid or garbage
data. Therefore it definitely should not bind anything back if it is the
calling flow that terminates the subflow.  Another way to look at it is that
the subflow is the only one allowed to perform any binding. 

 

The answer to what you are trying to accomplish - getting a subflow
container element back to the calling workflow when a deadline is reached -
would be to put the deadline into the subworkflow.

 

Cheers,

Mike

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Sue Doughty
Sent: 10 December 2007 17:46
To: SAP Workflow Users' Group
Subject: Missing Workflow Container

 

We are on ECC 6.0.

 

I know I must be doing something really stupid, but I can't see it!!  

 

I have a workflow (WF-1) that calls a sub-workflow (WF-2).  The sub-workflow
(WF-2) has a Deadline on it.  The sub-workflow (WF-2) returns a multi-line
container (MISSINGDOCS) back to the calling workflow (WF-1).  When the
deadline is reached, the latest end path in the workflow (WF-1) executes a
BO SELFITEM, Task SENDTASKDESCRIPTION to send notification to a Personnel
clerk that shows which documents are missing.

 

The MISSINGDOCS container contains a list of the documents that are missing.
I can see the MISSINGDOCS container being returned from the sub-workflow
(WF-2), but the container is empty when sent into the notification step in
WF-1.

 

I have checked all the Import/Export parameters.  The task being executed
for the SELFITEM BO has the MISSINGDOCS container as an Import container.
The MISSINGDOCS container is used in the Text Description of the task.

 

When I look at the log, the task shows the MISSINGDOCS container as being
empty for the SELFITEM task.  I tried putting a container operation right
after the sub-workflow (WF-2) returns to the workflow (WF-1) (before going
to the SELFITEM task) to move the MISSINGDOCS container to another
container, but it is empty at that point also.

 

What am I missing????

Regards, 

Sue T. Doughty 
SAP Workflow Specialist

OLD DOMINION FREIGHT LINE, INC.

500 Old Dominion Way, Thomasville, NC 27360

Toll Free :(800)432-6335, ext.5189 
Phone :(336)822-5189 Fax :(336)822-5149 
sue.doughty at odfl.com

 

**************************** 
CONFIDENTIALITY NOTICE: The information contained in this message may be
confidential, privileged, proprietary, or otherwise legally exempt from
disclosure. If the reader of this message is not the intended recipient, or
an employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you are not authorized to read,
print, retain, copy or disseminate this message, any part of it, or any
attachments. If you have received this message in error, please delete this
message and any attachments from your system without reading the content and
notify the sender immediately of the inadvertent transmission. Thank you for
your cooperation.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20071210/c753b524/attachment.htm


More information about the SAP-WUG mailing list