Sub-Workflow when complete must terminate workflow

guru dutt gurudutt.sap at gmail.com
Fri Nov 6 02:48:55 EST 2009


Hi David,

You can use the Process control with choosing the option as 'Cancel
Workflow(including all callers)' in your subworkflow as the last step. This
is the most efficient way to cal cancel the calling main workflow for your
scenario.

Regards,
Guru

On Thu, Nov 5, 2009 at 11:33 PM, <sap-wug-request at mit.edu> wrote:

> 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: Sub-Workflow when complete must terminate workflow
>      (BPT Consulting)
>   2. RE: Sub-Workflow when complete must terminate workflow
>      (david.s.dittmer at accenture.com)
>   3. RE: Sub-Workflow when complete must terminate workflow
>      (david.s.dittmer at accenture.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 5 Nov 2009 09:53:50 -0800 (PST)
> From: BPT Consulting <bptconsulting at sbcglobal.net>
> Subject: RE: Sub-Workflow when complete must terminate workflow
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID: <761047.13782.qm at web81603.mail.mud.yahoo.com>
> Content-Type: text/plain; charset="utf-8"
>
> David,
> ?
> Sounds like you have the sub Workflow?functioning properly.? Add a
> condition in the main Workflow using the container element (passed back from
> sub Workflow) to a branch for termination.
> ?
> Regards,
> Thomas
>
>
> --- On Thu, 11/5/09, david.s.dittmer at accenture.com <
> david.s.dittmer at accenture.com> wrote:
>
>
> From: david.s.dittmer at accenture.com <david.s.dittmer at accenture.com>
> Subject: RE: Sub-Workflow when complete must terminate workflow
> To: sap-wug at mit.edu
> Date: Thursday, November 5, 2009, 10:47 AM
>
>
>
>
>
>
>
>
> Hello Thomas,
> Thanks for your recommendation. I have already ?selected ?the second
> approach. I tried that yesterday using a condition but could not get it
> work. I want the ?condition ?if ?TRUE to ?terminate the workflow but I could
> not get the workflow to do it as it just creates a loop and returns to the
> main flow?..is there some syntax that can be inserted in the condition to
> make it terminate.
> ?
> regards
> ?
> David S Dittmer
> Accenture
> ||?
> ?
>
>
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of BPT Consulting
> Sent: Wednesday, November 04, 2009 8:34 PM
> To: SAP Workflow Users' Group
> Subject: Re: Sub-Workflow when complete must terminate workflow
> ?
>
>
>
>
>
> David,
>
> ?
>
> Put the wait for event in the main Workflow process.? Then you can control
> what steps are processed.? If that design doesn't work for you then pass?a
> container element from sub Workflow to main Workflow.? Use this element to
> make decision on steps to process.
>
> ?
>
> Regards,
>
> Thomas Maue
>
> --- On Wed, 11/4/09, david.s.dittmer at accenture.com <
> david.s.dittmer at accenture.com> wrote:
>
>
> From: david.s.dittmer at accenture.com <david.s.dittmer at accenture.com>
> Subject: Sub-Workflow when complete must terminate workflow
> To: sap-wug at mit.edu
> Date: Wednesday, November 4, 2009, 4:19 PM
>
>
> Hello Workflow experts,
> My workflow has a sub-workflow created in the middle of the main workflow.
> The sub-workflow has a wait for event step and when that step is triggered
> the sub-workflow runs to completion but at the same time the main workflow
> is triggered and activity steps are actioned ?which should not be triggered.
> ?
> My question is how can I develop the workflow that the completion of the
> sub-workflow will not trigger the main workflow to process? unwanted steps.
> It is not possible to place the sub-workflow at the end of the main
> workflow.
> ?
> I have checked the FAQ but could find nothing since I am sure that this
> issue must have ?arisen time and time again
> ?
> I am hopeful ?that an experienced workflow developer should ?be able to
> advise me how to solve this issue.
> ?
> David S Dittmer
> Accenture
> ?
> ?
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> ?
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20091105/43918834/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Thu, 5 Nov 2009 12:58:49 -0500
> From: <david.s.dittmer at accenture.com>
> Subject: RE: Sub-Workflow when complete must terminate workflow
> To: <sap-wug at mit.edu>
> Message-ID:
>        <
> A734A9C4C8D2FA4C986455C9C925CEC50143899AE6C1 at AMRXM3114.dir.svc.accenture.com
> >
>
> Content-Type: text/plain;       charset="us-ascii"
>
> Thanks Egor it works for me.
>
> regards
>
> David S Dittmer
> Accenture
>
>
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of yegorm
> Sent: Thursday, November 05, 2009 6:03 AM
> To: SAP Workflow Users' Group
> Subject: Re: Sub-Workflow when complete must terminate workflow
>
> Hello, David!
>
> I suppose there are several ways to do that. For example:
> - put a 'Process Control' step with function 'Terminate workflow' into
> your main workflow right after your subworkflow.
>
>
> Best regards,
> Egor
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information.  If you have
> received it in error, please notify the sender immediately and delete the
> original.  Any other use of the email by you is prohibited.
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 5 Nov 2009 13:02:52 -0500
> From: <david.s.dittmer at accenture.com>
> Subject: RE: Sub-Workflow when complete must terminate workflow
> To: <sap-wug at mit.edu>
> Message-ID:
>        <
> A734A9C4C8D2FA4C986455C9C925CEC50143899AE6C2 at AMRXM3114.dir.svc.accenture.com
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> Thanks Thomas I inserted a process control step in the main workflow after
> the sub-workflow and this completes the workflow.
>
> regards
>
> David S Dittmer
> Accenture
>
> ________________________________
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of BPT Consulting
> Sent: Thursday, November 05, 2009 11:54 AM
> To: SAP Workflow Users' Group
> Subject: RE: Sub-Workflow when complete must terminate workflow
>
> David,
>
> Sounds like you have the sub Workflow functioning properly.  Add a
> condition in the main Workflow using the container element (passed back from
> sub Workflow) to a branch for termination.
>
> Regards,
> Thomas
>
>
> --- On Thu, 11/5/09, david.s.dittmer at accenture.com <
> david.s.dittmer at accenture.com> wrote:
>
> From: david.s.dittmer at accenture.com <david.s.dittmer at accenture.com>
> Subject: RE: Sub-Workflow when complete must terminate workflow
> To: sap-wug at mit.edu
> Date: Thursday, November 5, 2009, 10:47 AM
> Hello Thomas,
> Thanks for your recommendation. I have already  selected  the second
> approach. I tried that yesterday using a condition but could not get it
> work. I want the  condition  if  TRUE to  terminate the workflow but I could
> not get the workflow to do it as it just creates a loop and returns to the
> main flow.....is there some syntax that can be inserted in the condition to
> make it terminate.
>
> regards
>
> David S Dittmer
> Accenture
> ||
>
> ________________________________
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of BPT Consulting
> Sent: Wednesday, November 04, 2009 8:34 PM
> To: SAP Workflow Users' Group
> Subject: Re: Sub-Workflow when complete must terminate workflow
>
> David,
>
> Put the wait for event in the main Workflow process.  Then you can control
> what steps are processed.  If that design doesn't work for you then pass a
> container element from sub Workflow to main Workflow.  Use this element to
> make decision on steps to process.
>
> Regards,
> Thomas Maue
>
> --- On Wed, 11/4/09, david.s.dittmer at accenture.com <
> david.s.dittmer at accenture.com> wrote:
>
> From: david.s.dittmer at accenture.com <david.s.dittmer at accenture.com>
> Subject: Sub-Workflow when complete must terminate workflow
> To: sap-wug at mit.edu
> Date: Wednesday, November 4, 2009, 4:19 PM
> Hello Workflow experts,
> My workflow has a sub-workflow created in the middle of the main workflow.
> The sub-workflow has a wait for event step and when that step is triggered
> the sub-workflow runs to completion but at the same time the main workflow
> is triggered and activity steps are actioned  which should not be triggered.
>
> My question is how can I develop the workflow that the completion of the
> sub-workflow will not trigger the main workflow to process  unwanted steps.
> It is not possible to place the sub-workflow at the end of the main
> workflow.
>
> I have checked the FAQ but could find nothing since I am sure that this
> issue must have  arisen time and time again
>
> I am hopeful  that an experienced workflow developer should  be able to
> advise me how to solve this issue.
>
> David S Dittmer
> Accenture
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.
>
> -----Inline Attachment Follows-----
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu<
> http://us.mc816.mail.yahoo.com/mc/compose?to=SAP-WUG@mit.edu>
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.
>
> -----Inline Attachment Follows-----
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu<
> http://us.mc816.mail.yahoo.com/mc/compose?to=SAP-WUG@mit.edu>
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information.  If you have
> received it in error, please notify the sender immediately and delete the
> original.  Any other use of the email by you is prohibited.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20091105/09d301f6/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> End of SAP-WUG Digest, Vol 60, Issue 6
> **************************************
>



-- 
Regards,
Guru Dutt
Tel : +919748445814
Email : gurudutt.sap at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091106/3ee42591/attachment.htm


More information about the SAP-WUG mailing list