User to suspend workflow

May, Kevin KMay at petro-canada.ca
Thu May 3 09:13:48 EDT 2007


Thanks Flavio, I did something very similiar to your suggestion and it works wonderfully.  
 
Thanks much for your help,
 
Kevin

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Flavio Oliveira
Sent: Thursday, April 26, 2007 9:53 AM
To: SAP Workflow Users' Group
Subject: RE: User to suspend workflow


Kevin:
 
You do not need a new task. You can use the same one. That is what I would do:
 
1- Put your task inside a loop.
2- Define a terminate event to detect the "suspend" and "resume" status
3- In that case, you will call the same task, but recalculate the deadline (that has to be based on a container element) to a very far future date (I do not know if you put no date the deadline will be 'deactivated'. That is something you should try).
4- If the "resume" event is raised, you have to go back on the loop and recalculate the deadline properly
 
It is still complex, but at least you do not have to use a new task. You have to decide what is better.
 
Regards,
Flávio.

 


________________________________

	Subject: User to suspend workflow
	Date: Thu, 26 Apr 2007 08:40:48 -0400
	From: KMay at petro-canada.ca
	To: sap-wug at mit.edu
	
	
	Hi, On ECC6.0 I would like to have an event, for example 'Suspend',  which when raised would suspend the calculated date in the deadline monitoring indefinitely, until the user would raise another event, for example 'Resume' at which time the calculated date would be recalculated and the workflow process would resume.  I cannot seem to find an easy way to do this, other than to create a terminating event which would then call a new step with the same task but without the latest end active.  This approach doesn't allow me to 'freeze' the workflow and also introduces unnecessary complexity in an already complex workflow.  Any ideas?
	Thanks much, 
	Kevin 
	
	 
________________________________

	  
	This email communication is intended as a private communication for the sole use of the primary addressee and those individuals listed for copies in the original message. The information contained in this email is private and confidential and If you are not an intended recipient you are hereby notified that copying, forwarding or other dissemination or distribution of this communication by any means is prohibited.  If you are not specifically authorized to receive this email and if you believe that you received it in error please notify the original sender immediately.  We honour similar requests relating to the privacy of email communications. 

	Cette communication par courrier électronique est une communication privée à l'usage exclusif du destinataire principal ainsi que des personnes dont les noms figurent en copie.  Les renseignements contenus dans ce courriel sont confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé, par les présentes que toute reproduction, transfert ou autre forme de diffusion de cette communication par quelque moyen que ce soit est interdite.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur original immédiatement.  Nous respectons les demandes similaires qui touchent la confidentialité des communications par courrier électronique. 
	


________________________________

Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it! <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070503/993b4405/attachment.htm


More information about the SAP-WUG mailing list