Help required in designing a workflow template

Griffiths, Mark mark.griffiths at sap.com
Mon May 24 10:48:18 EDT 2010


The technique you want to use is called Dynamic parallel processing.  It allows you to dynamically create a separate step or subflow for each entry in a multiline container element.  You enter the multiline element in the last (? Other?) tab on a step in the 'Dynamic parallel' section.  You then change your bindings to bind with index.

This technique is covered in the BIT601 training.

Hope this helps,

Regards,

Mark

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Mamtha Bhanam
Sent: 24 May 2010 12:49
To: sap-wug at mit.edu
Subject: Help required in designing a workflow template

Hi All,

I need to design a workflow template where in the approvers list and steps are sent to a import parameter of a class based on the import values I need to trigger a workflow.In the import struucture there are 9 fields COMPANY CODE,STEP,FLAG and AGENT1 to AGENT6.In the below table if the field FLAG is X mean the WF should complete only after all the decissions are completed not as hirarchy .In other words all the agents should take a decission,anyone can take decission anytime and Workitem text should be unique for all the agents.In the workitem text Agent name and id should be displayed.If the Flag is not X one decission is enough to complete the workflow here also workitem text should be unique.

Company Code

Step

Flag

Agent1

Agent2

Agent3

Agent4

Agent5

Agent6

0001

1

X

USDZ5233

USDZ5454

USDZ5687

USDZ5702

USDZ5988

USDZ5103

0001

2



USDZ5***

USDZ5***

USDZ5***

USDZ5***

USDZ5***

USDZ5***

BP01

1

X

US******

US******

US******

US******

US******

US******

BP01

2



US******

US******

US******

US******

US******

US******

Bp01

3

X

US******

US******

US******

US******

US******

US******


My ideas in achieving this requirement are:

1) If flag = X. Create step fork with multiple branches and put the fork inside the loop.Create a variable counter and pass the value of the agents list.If 4 Agents set the counter to 4 and loop until the value is reached.Please correct me if my design is wrong.
2) If flag is not equal to X. This should be a normal approval process if 1 takes the decission the workitem will be disappeared from the others inbox.I need assistance in Workitem text handling.How to send unique text???
3) For agent assigment I have created a multiline element AGENTS with char14 datatype and calling this structure choosing EXPRESSION option under Agent assigment for decission task.Please correct me if I am wrong.

I request your inputs in achieving this requirement.Thanks in advance.

With Regards,
Mamtha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20100524/1016d6db/attachment.htm


More information about the SAP-WUG mailing list