Bill,
Whatexactly do you mean by ‘kill’? Also I assume you are referring to workflowtasks and not task list tasks. Also I assume you have some criteria fordetermining that a task has not been completed.
<![if !supportEmptyParas]> <![endif]>
Howard
______________________
Howard Pell
Senior Technical Educator
Liaison, Special Projects
Open Text Corporation
www.opentext.com
(1-519) 888-7111 Ext. 2203
-----OriginalMessage-----From: eLink Discussion: LivelinkBuilder Discussion [mailto:componentbuilder@elinkkc.opentext.com]Sent: Thursday, April 22, 20049:53 AMTo: eLink RecipientSubject: Event Script to KillOrphaned Steps
Event Script to Kill Orphaned Steps
Posted by EU0013534 (Todd, Bill) on 04/22/2004 09:49 AM
I'm just beginning to work with builder and have succesfully created a custom module -- that does nothing and breaks nothing! I do plan on taking the SDK training, however I have an immediate need to put together a few Event Scripts. I'm looking for some sample Event Scripts that will allow me to kill any tasks that have not been completed. TIA, Bill
Withoutgetting into the reasons you want to do this, and assuming you looked at otheralternatives to rearrange the map; all I can suggest is you look at theLivelink schema where you will find the workflow tables that you will have toupdate. Please remember that updating our tables is not a supportedcustomisation.
I wouldsuggestion that you reconsider the map layout before updating our tables.
-----OriginalMessage-----From: eLink Discussion: LivelinkBuilder Discussion [mailto:componentbuilder@elinkkc.opentext.com]Sent: Thursday, April 22, 200412:11 PMTo: eLink RecipientSubject: I need to set allworkflow task's status to SUBWORKTASK_STATUS_KILLED that
I need to set all workflow task's status to SUBWORKTASK_STATUS_KILLED that
Posted by EU0013534 (Todd, Bill) on 04/22/2004 12:08 PM
In reply to: RE Event Script to Kill Orphaned Steps
Posted by hlpell (Pell, Howard) on 04/22/2004 10:43 AM
I need to set all workflow task's status to SUBWORKTASK_STATUS_KILLED that have a status of SUBWORKTASK_STATUS_READY or SUBWORKTASK_STATUS_STARTED. In addition I will need to add a comment to the workflow and send a notification to the users who are assigned to this work. I've attached a simple map that illustrates this... Once the WF is initiated, the Required and Optional steps become ready. When the Required is finished the Complete step becomes ready. When the Complete step is finished I want an Event Script to run that will kill the Optional step.