Starting Condition in SRM Shopping Cart

Susan Keohan keohan at ll.mit.edu
Tue Dec 12 20:05:07 EST 2006


Hi Stephane,

I would use BUS2121.  But I've not had a lot of happiness with Start 
Conditions.  Have you tried testing out BBP_PDH_WFL_CHECK_BEFORE_START ?

Happy WF-ing,
Sue

Stéphane Bailleul wrote:
> 
> Hi All,
>  
> I have changed the standard object BUS2121 to ZBUS2121 include new 
> attributes.
> Those attributes  are included in the starting condition of the workflow 
> but it does not work properly
> When I am testing the workflow starting condition by adding the SC 
> number and press on the simulation then the result is True ( it should 
> be False)
> Then I do the same but open the shopping cart object ( BUS2121) then the 
> result is False ( correct)
>  
> Should I use BUS2121 or ZBUS2121 ? A delegation exist of course .
> Or is there any other cause for this problem ?
> 
> Thanks for your reply
> stephane
> 
> 
> ------------------------------------------------------------------------
> 
>  > From: sap-wug-request at mit.edu
>  > Subject: SAP-WUG Digest, Vol 25, Issue 25
>  > To: sap-wug at mit.edu
>  > Date: Tue, 12 Dec 2006 08:05:53 -0500
>  >
>  > Send SAP-WUG mailing list submissions to
>  > sap-wug at mit.edu
>  >
>  > To subscribe or unsubscribe via the World Wide Web, visit
>  > http://mailman.mit.edu/mailman/listinfo/sap-wug
>  > or, via email, send a message with subject or body 'help' to
>  > sap-wug-request at mit.edu
>  >
>  > You can reach the person managing the list at
>  > sap-wug-owner at mit.edu
>  >
>  > When replying, please edit your Subject line so it is more specific
>  > than "Re: Contents of SAP-WUG digest..."
>  >
>  >
>  > Today's Topics:
>  >
>  > 1. RE: Dynamically determining the agent for User Decision Step
>  > fromthe output of another step (Flavio Oliveira)
>  > 2. Re: SAP-WUG Digest, Vol 25, Issue 24 (Tom Peou)
>  > 3. RE: Dynamically determining the agent for User Decision Step
>  > from the output of another step (Tom Peou)
>  > 4. RE: Dynamically determining the agent for User Decision
>  > Stepfromthe output of another step (Chaturvedi, Saurabh)
>  > 5. RE: Dynamically determining the agent for User Decision
>  > Stepfromthe output of another step (Flavio Oliveira)
>  >
>  >
>  > ----------------------------------------------------------------------
>  >
>  > Message: 1
>  > Date: Tue, 12 Dec 2006 10:49:43 +0000
>  > From: Flavio Oliveira <oliveiraflavio at hotmail.com>
>  > Subject: RE: Dynamically determining the agent for User Decision Step
>  > fromthe output of another step
>  > To: <sap-wug at mit.edu>
>  > Message-ID: <BAY124-W1114EE909C06BE116579F3D7D70 at phx.gbl>
>  > Content-Type: text/plain; charset="Windows-1252"
>  >
>  >
>  > Saurabh:
>  >
>  > Always reply to the list, so everybody can see the posts!!
>  >
>  > Regarding your question, you have to create a new Workflow container 
> element and populate it with the result of your step (bind from the task 
> to workflow). Create it as a table (multi-line) and reference of the 
> WFSYST-INITIATOR dictionary structure.
>  >
>  > On the User-Decision, put your new element on the Agents (the same 
> place where you put the WF_INITIATOR. By doing this, the decision step 
> will be sent to all agents defined on the new container element.
>  >
>  > I hope it's more clear now.
>  >
>  > Best regards,
>  > Fl?vio.
>  >
>  > ----------------------------------------
>  > > Subject: RE: Dynamically determining the agent for User Decision 
> Step fromthe output of another step
>  > > Date: Tue, 12 Dec 2006 15:53:43 +0530
>  > > From: saurabh.chaturvedi at sap.com
>  > > To: oliveiraflavio at hotmail.com
>  > >
>  > >
>  > > Hi Flavio,
>  > >
>  > > Thanks a lot for your reply! I need some more details for the 2nd 
> option
>  > > described by you. Will I have to have a container structure 
> parallel to the
>  > > _Rule_Result structure which is part of the User Decision step 
> container and
>  > > then both of these should be mapped?
>  > >
>  > > Thanks & Regards
>  > > Saurabh Chaturvedi
>  > >
>  > > -----Original Message-----
>  > > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On 
> Behalf Of
>  > > Flavio Oliveira
>  > > Sent: Tuesday, 12 December 2006 3:20 PM
>  > > To: SAP Workflow Users' Group
>  > > Subject: RE: Dynamically determining the agent for User Decision Step
>  > > fromthe output of another step
>  > >
>  > >
>  > > Saurabh:
>  > >
>  > > You have two options:
>  > > 1- Put the logic you've created to find the agents inside a Role 
> Resolution
>  > > and use this role on the user decision.
>  > > 2- Put the result of the workflow step (that finds the agents) on a
>  > > container element and use this container element on the user decision.
>  > >
>  > > Regards,
>  > > Fl?vio.
>  > >
>  > >
>  > > ________________________________
>  > > > Subject: Dynamically determining the agent for User Decision Step 
> from the
>  > > output of another step
>  > > > Date: Tue, 12 Dec 2006 12:51:23 +0530
>  > > > From: saurabh.chaturvedi at sap.com
>  > > > To: sap-wug at mit.edu
>  > > >
>  > > > Hi All,
>  > > > I am developing a workflow where I am determining the agent who will
>  > > execute the 'User Decision' step in another step of this workflow. So I
>  > > cannot hard code a user or use the workflow initiator. How can 
> assign the
>  > > user determined within the workflow as an agent of the User 
> Decision step?
>  > > > Thanks & Regards
>  > > > Saurabh Chaturvedi
>  > >
>  > > _________________________________________________________________
>  > > Get the new Windows Live Messenger!
>  > > http://get.live.com/messenger/overview
>  > > _______________________________________________
>  > > SAP-WUG mailing list
>  > > SAP-WUG at mit.edu
>  > > http://mailman.mit.edu/mailman/listinfo/sap-wug
>  >
>  > _________________________________________________________________
>  > Windows Live Spaces is here! It?s easy to create your own personal 
> Web site.
>  > http://spaces.live.com/signup.aspx
>  >
>  >
>  > ------------------------------
>  >
>  > Message: 2
>  > Date: Tue, 12 Dec 2006 15:33:33 +0300
>  > From: "Tom Peou" <tompeou at gmail.com>
>  > Subject: Re: SAP-WUG Digest, Vol 25, Issue 24
>  > To: sap-wug at mit.edu
>  > Message-ID:
>  > <a420e49e0612120433p3d75be0bmca7356ad35baa8c7 at mail.gmail.com>
>  > Content-Type: text/plain; charset="iso-8859-1"
>  >
>  > Hi Saurabh,
>  >
>  > If you want only the agent that "Executed" the Decision step (Actual 
> Agent),
>  > you can determine this from the Task Element called 
> "_WI_Actual_Agent". Then
>  > bind this Task Element to a Workflow Container of type 
> WFSYST-ACT_AGENT (and
>  > call it Actual_Agent). Perform this binding from your Decision Step. T
>  >
>  > his Workflow Container (Actual_Agent) now contins the user id of the 
> agent
>  > that executed the Decision Step. You can then use "Actual_Agent" for 
> tasks
>  > or work items following that decision step.
>  >
>  > Hope that helps.
>  > Tom
>  >
>  >
>  >
>  >
>  > On 12/12/06, sap-wug-request at mit.edu <sap-wug-request at mit.edu> wrote:
>  > >
>  > > ---------- Forwarded message ----------
>  > > From: "Chaturvedi, Saurabh" <saurabh.chaturvedi at sap.com>
>  > > To: "SAP Workflow User Group" <sap-wug at mit.edu>
>  > > Date: Tue, 12 Dec 2006 12:51:23 +0530
>  > > Subject: Dynamically determining the agent for User Decision Step 
> from the
>  > > output of another step
>  > >
>  > > Hi All,
>  > >
>  > > I am developing a workflow where I am determining the agent who will
>  > > execute the 'User Decision' step in another step of this workflow. So I
>  > > cannot hard code a user or use the workflow initiator. How can 
> assign the
>  > > user determined within the workflow as an agent of the User 
> Decision step?
>  > >
>  > > *Thanks & Regards*
>  > > *Saurabh Chaturvedi*
>  > >
>  > -------------- next part --------------
>  > An HTML attachment was scrubbed...
>  > URL: 
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20061212/cab4c5ee/attachment-0001.htm
>  >
>  > ------------------------------
>  >
>  > Message: 3
>  > Date: Tue, 12 Dec 2006 15:34:33 +0300
>  > From: "Tom Peou" <tompeou at gmail.com>
>  > Subject: RE: Dynamically determining the agent for User Decision Step
>  > from the output of another step
>  > To: sap-wug at mit.edu
>  > Message-ID:
>  > <a420e49e0612120434p33e01e94ha521e2d6d6eaaec3 at mail.gmail.com>
>  > Content-Type: text/plain; charset="iso-8859-1"
>  >
>  > Hi Saurabh,
>  >
>  > If you want only the agent that "Executed" the Decision step (Actual 
> Agent),
>  > you can determine this from the Task Element called 
> "_WI_Actual_Agent". Then
>  > bind this Task Element to a Workflow Container of type 
> WFSYST-ACT_AGENT (and
>  > call it Actual_Agent). Perform this binding from your Decision Step. T
>  >
>  > his Workflow Container (Actual_Agent) now contins the user id of the 
> agent
>  > that executed the Decision Step. You can then use "Actual_Agent" for 
> tasks
>  > or work items following that decision step.
>  >
>  > Hope that helps.
>  > Tom
>  >
>  >
>  >
>  >
>  > On 12/12/06, sap-wug-request at mit.edu <sap-wug-request at mit.edu > wrote:
>  > >
>  > > ---------- Forwarded message ----------
>  > > From: "Chaturvedi, Saurabh" < saurabh.chaturvedi at sap.com>
>  > > To: "SAP Workflow User Group" <sap-wug at mit.edu>
>  > > Date: Tue, 12 Dec 2006 12:51:23 +0530
>  > > Subject: Dynamically determining the agent for User Decision Step 
> from the
>  > > output of another step
>  > >
>  > > Hi All,
>  > >
>  > > I am developing a workflow where I am determining the agent who will
>  > > execute the 'User Decision' step in another step of this workflow. So I
>  > > cannot hard code a user or use the workflow initiator. How can 
> assign the
>  > > user determined within the workflow as an agent of the User 
> Decision step?
>  > >
>  > > *Thanks & Regards*
>  > > *Saurabh Chaturvedi*
>  > >
>  > -------------- next part --------------
>  > An HTML attachment was scrubbed...
>  > URL: 
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20061212/1f37b9e0/attachment-0001.htm
>  >
>  > ------------------------------
>  >
>  > Message: 4
>  > Date: Tue, 12 Dec 2006 18:04:50 +0530
>  > From: "Chaturvedi, Saurabh" <saurabh.chaturvedi at sap.com>
>  > Subject: RE: Dynamically determining the agent for User Decision
>  > Stepfromthe output of another step
>  > To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
>  > Message-ID:
>  > <F5AEC8498AC3FC4A87B6F355EC61B6E4021631F1 at inblrle40.blrl.sap.corp>
>  > Content-Type: text/plain; charset="iso-8859-1"
>  >
>  > Hi Fl?vio,
>  >
>  > Thanks for your reply. I did as mentioned by you but when I try to do the
>  > binding of the container element to the Agents table within the 
> Rule_Result
>  > element then I get an error
>  >
>  > Value of expression '&_RULE_RESULT.AGENTS&' cannot be used as the 
> target of
>  > an assignment
>  >
>  > How do I go ahead?
>  > I hope this is what you expected me to do since there is no direct Agents
>  > table (its only within the Rule_Result element).
>  >
>  >
>  > Thanks & Regards
>  > Saurabh Chaturvedi
>  >
>  >
>  >
>  > -----Original Message-----
>  > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On 
> Behalf Of
>  > Flavio Oliveira
>  > Sent: Tuesday, 12 December 2006 4:20 PM
>  > To: sap-wug at mit.edu
>  > Subject: RE: Dynamically determining the agent for User Decision 
> Stepfromthe
>  > output of another step
>  >
>  >
>  > Saurabh:
>  >
>  > Always reply to the list, so everybody can see the posts!!
>  >
>  > Regarding your question, you have to create a new Workflow container 
> element
>  > and populate it with the result of your step (bind from the task to
>  > workflow). Create it as a table (multi-line) and reference of the
>  > WFSYST-INITIATOR dictionary structure.
>  >
>  > On the User-Decision, put your new element on the Agents (the same place
>  > where you put the WF_INITIATOR. By doing this, the decision step will be
>  > sent to all agents defined on the new container element.
>  >
>  > I hope it's more clear now.
>  >
>  > Best regards,
>  > Fl?vio.
>  >
>  > ----------------------------------------
>  > > Subject: RE: Dynamically determining the agent for User Decision Step
>  > fromthe output of another step
>  > > Date: Tue, 12 Dec 2006 15:53:43 +0530
>  > > From: saurabh.chaturvedi at sap.com
>  > > To: oliveiraflavio at hotmail.com
>  > >
>  > >
>  > > Hi Flavio,
>  > >
>  > > Thanks a lot for your reply! I need some more details for the 2nd 
> option
>  > > described by you. Will I have to have a container structure parallel to
>  > the
>  > > _Rule_Result structure which is part of the User Decision step 
> container
>  > and
>  > > then both of these should be mapped?
>  > >
>  > > Thanks & Regards
>  > > Saurabh Chaturvedi
>  > >
>  > > -----Original Message-----
>  > > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On 
> Behalf
>  > Of
>  > > Flavio Oliveira
>  > > Sent: Tuesday, 12 December 2006 3:20 PM
>  > > To: SAP Workflow Users' Group
>  > > Subject: RE: Dynamically determining the agent for User Decision Step
>  > > fromthe output of another step
>  > >
>  > >
>  > > Saurabh:
>  > >
>  > > You have two options:
>  > > 1- Put the logic you've created to find the agents inside a Role
>  > Resolution
>  > > and use this role on the user decision.
>  > > 2- Put the result of the workflow step (that finds the agents) on a
>  > > container element and use this container element on the user decision.
>  > >
>  > > Regards,
>  > > Fl?vio.
>  > >
>  > >
>  > > ________________________________
>  > > > Subject: Dynamically determining the agent for User Decision Step 
> from
>  > the
>  > > output of another step
>  > > > Date: Tue, 12 Dec 2006 12:51:23 +0530
>  > > > From: saurabh.chaturvedi at sap.com
>  > > > To: sap-wug at mit.edu
>  > > >
>  > > > Hi All,
>  > > > I am developing a workflow where I am determining the agent who will
>  > > execute the 'User Decision' step in another step of this workflow. So I
>  > > cannot hard code a user or use the workflow initiator. How can 
> assign the
>  > > user determined within the workflow as an agent of the User 
> Decision step?
>  > > > Thanks & Regards
>  > > > Saurabh Chaturvedi
>  > >
>  > > _________________________________________________________________
>  > > Get the new Windows Live Messenger!
>  > > http://get.live.com/messenger/overview
>  > > _______________________________________________
>  > > SAP-WUG mailing list
>  > > SAP-WUG at mit.edu
>  > > http://mailman.mit.edu/mailman/listinfo/sap-wug
>  >
>  > _________________________________________________________________
>  > Windows Live Spaces is here! It?s easy to create your own personal 
> Web site.
>  > http://spaces.live.com/signup.aspx
>  > _______________________________________________
>  > SAP-WUG mailing list
>  > SAP-WUG at mit.edu
>  > http://mailman.mit.edu/mailman/listinfo/sap-wug
>  > -------------- next part --------------
>  > A non-text attachment was scrubbed...
>  > Name: smime.p7s
>  > Type: application/x-pkcs7-signature
>  > Size: 1811 bytes
>  > Desc: not available
>  > Url : 
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20061212/64eb4bff/smime-0001.bin
>  >
>  > ------------------------------
>  >
>  > Message: 5
>  > Date: Tue, 12 Dec 2006 13:05:25 +0000
>  > From: Flavio Oliveira <oliveiraflavio at hotmail.com>
>  > Subject: RE: Dynamically determining the agent for User Decision
>  > Stepfromthe output of another step
>  > To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
>  > Message-ID: <BAY124-W1528E1B7C6B9FD981970DD7D70 at phx.gbl>
>  > Content-Type: text/plain; charset="windows-1252"
>  >
>  >
>  > Saurabh:
>  >
>  > Do not do any binding to the User Decision.
>  >
>  > You do a binding from the step that you are calculating the agents to 
> the workflow container.
>  >
>  > Then, on the User Decision step, on the first tab (Decision), you 
> have the Agents part. There you define who will execute the decision. 
> Choose the option 'Expression' and put your container element as the 
> expression that will have the agents.
>  >
>  > Check out at the attached file.
>  >
>  > Best Regards,
>  > Fl?vio.
>  >
>  >
>  >
>  >
>  > ----------------------------------------
>  > > Subject: RE: Dynamically determining the agent for User Decision 
> Stepfromthe output of another step
>  > > Date: Tue, 12 Dec 2006 18:04:50 +0530
>  > > From: saurabh.chaturvedi at sap.com
>  > > To: sap-wug at mit.edu
>  > >
>  > > Hi Fl?vio,
>  > >
>  > > Thanks for your reply. I did as mentioned by you but when I try to 
> do the
>  > > binding of the container element to the Agents table within the 
> Rule_Result
>  > > element then I get an error
>  > >
>  > > Value of expression '&_RULE_RESULT.AGENTS&' cannot be used as the 
> target of
>  > > an assignment
>  > >
>  > > How do I go ahead?
>  > > I hope this is what you expected me to do since there is no direct 
> Agents
>  > > table (its only within the Rule_Result element).
>  > >
>  > >
>  > > Thanks & Regards
>  > > Saurabh Chaturvedi
>  > >
>  > >
>  > >
>  > > -----Original Message-----
>  > > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On 
> Behalf Of
>  > > Flavio Oliveira
>  > > Sent: Tuesday, 12 December 2006 4:20 PM
>  > > To: sap-wug at mit.edu
>  > > Subject: RE: Dynamically determining the agent for User Decision 
> Stepfromthe
>  > > output of another step
>  > >
>  > >
>  > > Saurabh:
>  > >
>  > > Always reply to the list, so everybody can see the posts!!
>  > >
>  > > Regarding your question, you have to create a new Workflow 
> container element
>  > > and populate it with the result of your step (bind from the task to
>  > > workflow). Create it as a table (multi-line) and reference of the
>  > > WFSYST-INITIATOR dictionary structure.
>  > >
>  > > On the User-Decision, put your new element on the Agents (the same 
> place
>  > > where you put the WF_INITIATOR. By doing this, the decision step 
> will be
>  > > sent to all agents defined on the new container element.
>  > >
>  > > I hope it's more clear now.
>  > >
>  > > Best regards,
>  > > Fl?vio.
>  > >
>  > > ----------------------------------------
>  > > > Subject: RE: Dynamically determining the agent for User Decision Step
>  > > fromthe output of another step
>  > > > Date: Tue, 12 Dec 2006 15:53:43 +0530
>  > > > From: saurabh.chaturvedi at sap.com
>  > > > To: oliveiraflavio at hotmail.com
>  > > >
>  > > >
>  > > > Hi Flavio,
>  > > >
>  > > > Thanks a lot for your reply! I need some more details for the 2nd 
> option
>  > > > described by you. Will I have to have a container structure 
> parallel to
>  > > the
>  > > > _Rule_Result structure which is part of the User Decision step 
> container
>  > > and
>  > > > then both of these should be mapped?
>  > > >
>  > > > Thanks & Regards
>  > > > Saurabh Chaturvedi
>  > > >
>  > > > -----Original Message-----
>  > > > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On 
> Behalf
>  > > Of
>  > > > Flavio Oliveira
>  > > > Sent: Tuesday, 12 December 2006 3:20 PM
>  > > > To: SAP Workflow Users' Group
>  > > > Subject: RE: Dynamically determining the agent for User Decision Step
>  > > > fromthe output of another step
>  > > >
>  > > >
>  > > > Saurabh:
>  > > >
>  > > > You have two options:
>  > > > 1- Put the logic you've created to find the agents inside a Role
>  > > Resolution
>  > > > and use this role on the user decision.
>  > > > 2- Put the result of the workflow step (that finds the agents) on a
>  > > > container element and use this container element on the user 
> decision.
>  > > >
>  > > > Regards,
>  > > > Fl?vio.
>  > > >
>  > > >
>  > > > ________________________________
>  > > > > Subject: Dynamically determining the agent for User Decision 
> Step from
>  > > the
>  > > > output of another step
>  > > > > Date: Tue, 12 Dec 2006 12:51:23 +0530
>  > > > > From: saurabh.chaturvedi at sap.com
>  > > > > To: sap-wug at mit.edu
>  > > > >
>  > > > > Hi All,
>  > > > > I am developing a workflow where I am determining the agent who 
> will
>  > > > execute the 'User Decision' step in another step of this 
> workflow. So I
>  > > > cannot hard code a user or use the workflow initiator. How can 
> assign the
>  > > > user determined within the workflow as an agent of the User 
> Decision step?
>  > > > > Thanks & Regards
>  > > > > Saurabh Chaturvedi
>  > > >
>  > > > _________________________________________________________________
>  > > > Get the new Windows Live Messenger!
>  > > > http://get.live.com/messenger/overview
>  > > > _______________________________________________
>  > > > SAP-WUG mailing list
>  > > > SAP-WUG at mit.edu
>  > > > http://mailman.mit.edu/mailman/listinfo/sap-wug
>  > >
>  > > _________________________________________________________________
>  > > Windows Live Spaces is here! It?s easy to create your own personal 
> Web site.
>  > > http://spaces.live.com/signup.aspx
>  > > _______________________________________________
>  > > SAP-WUG mailing list
>  > > SAP-WUG at mit.edu
>  > > http://mailman.mit.edu/mailman/listinfo/sap-wug
>  >
>  > _________________________________________________________________
>  > Check out some new online services at Windows Live Ideas?so new they 
> haven?t even been officially released yet.
>  > http://ideas.live.com
>  > -------------- next part --------------
>  > A non-text attachment was scrubbed...
>  > Name: Sample.JPG
>  > Type: image/pjpeg
>  > Size: 78870 bytes
>  > Desc: not available
>  > Url : 
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20061212/dc7fd1b4/Sample.bin
>  >
>  > ------------------------------
>  >
>  > _______________________________________________
>  > SAP-WUG mailing list
>  > SAP-WUG at mit.edu
>  > http://mailman.mit.edu/mailman/listinfo/sap-wug
>  >
>  >
>  > End of SAP-WUG Digest, Vol 25, Issue 25
>  > ***************************************
> 
> 
> ------------------------------------------------------------------------
> Avec Windows Live Spaces, publiez directement des messages électroniques 
> sur votre blog ou ajoutez-y des photos, des blagues et d'autres infos. 
> C'est gratuit ! 
> <http://clk.atdmt.com/MSN/go/msnnksac0030000001msn/direct/01/?href=http://www.imagine-msn.com/spaces>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug

-- 
Susan R. Keohan
SAP Workflow Developer
MIT Lincoln Laboratory
244 Wood Street
LI-200
Lexington, MA. 02420
781-981-3561
keohan at ll.mit.edu



More information about the SAP-WUG mailing list