User to suspend workflow

Flavio Oliveira oliveiraflavio at hotmail.com
Thu Apr 26 09:52:42 EDT 2007


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 workflowDate: Thu, 26 Apr 2007 08:40:48 -0400From: KMay at petro-canada.caTo: 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!
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/20070426/fb1c8627/attachment.htm


More information about the SAP-WUG mailing list