Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
CSIDE and OScript
RenameWorkflow general event script is being executed before workflow ID is generated
Robin_Hilp_(pmuser15(expired))
Hi, I have rename workflow general event script which is called on first process step (on step is done event) in workflow. I have used echo messages to caputure execution of this script and found that workflow does not have workID created when this script being called. And as a result workflow is not renamed. Same script is working when I add a user step before first process step. Can any one please let me know what I need to do to ensure workID is being generated (means workflow initiation is complete).Thanks,AMOL KOMAWAR
Find more posts tagged with
Comments
eLink User
Message from Nair, Krishnankutty N. via eLinkIf you don't want the user step put a robot/process step or a milestonethat can handle your event script.Don't attach it to anything likeworkflow is initiated.Only after workflow is initaited will the workid be known,so you may beup against a chicken and egg situation.I did it like this where I had topass the workflow title into a form template...Hope this helps -----Original Message-----From: eLink Discussion: Livelink Builder Discussion[mailto:componentbuilder@elinkkc.opentext.com] Sent: Thursday, March 23, 2006 11:13 AMTo: eLink RecipientSubject: RenameWorkflow general event script is being executed beforeworkflow ID is generatedRenameWorkflow general event script is being executed before workflow IDis generatedPosted by Komawar, Amol G on 03/23/2006 12:08 PMHi, I have rename workflow general event script which is called on firstprocess step (on step is done event) in workflow. I have used echomessages to caputure execution of this script and found that workflowdoes not have workID created when this script being called. And as aresult workflow is not renamed. Same script is working when I add a userstep before first process step. Can any one please let me know what Ineed to do to ensure workID is being generated (means workflowinitiation is complete).Thanks,AMOL KOMAWAR[To reply to this thread, use your normal E-mail reply function.]============================================================Discussion: Livelink Builder Discussion
https://knowledge.opentext.com/knowledge/livelink.exe/open/765419Livelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exeTo
Unsubscribe from this Discussion, send an e-mail tounsubscribe.componentbuilder@elinkkc.opentext.com.
Robin_Hilp_(pmuser15(expired))
Hi Krishnankutty, Thank you for the reply. I have tried already adding a process step/milestone before a process step where script is called. It did not help. Only thing that is working if I use a user step before eventscript process step. Here is what I have a configuration at present, I have a process step just after start step and on this process step I am calling rename workflow script on step is done event and this stetting is not working.
eLink User
Message from Nair, Krishnankutty N. via eLinkThat is surpriing.My event script is like thisInitiate step->Process->Lots of other stuffI call my event script "pass title to form" on entry of ProcessIt has workid in them.I used that to find the title of the workflow andput thatIn the form template.I am not sure if this will help but I do attach myevent script.I think I am getting the title form the taskinfo data structure. Thanks Much Krishnankutty N Nair EDMS Powered by Livelink
http://edms.conoco.net
Tele 918-661-5824, Fax 918-661-9206-----Original Message-----From: eLink Discussion: Livelink Builder Discussion[mailto:componentbuilder@elinkkc.opentext.com] Sent: Thursday, March 23, 2006 12:10 PMTo: eLink RecipientSubject: I tried already that but a wired responseI tried already that but a wired responsePosted by Komawar, Amol G on 03/23/2006 01:08 PMHi Krishnankutty, Thank you for the reply. I have tried already adding a processstep/milestone before a process step where script is called. It did nothelp. Only thing that is working if I use a user step before eventscriptprocess step. Here is what I have a configuration at present, I have aprocess step just after start step and on this process step I am callingrename workflow script on step is done event and this stetting is notworking. [To reply to this thread, use your normal E-mail reply function.]============================================================Topic: RenameWorkflow general event script is being executed beforeworkflow ID is generated
https://knowledge.opentext.com/knowledge/livelink.exe/open/5082150Discussion
: Livelink Builder Discussion
https://knowledge.opentext.com/knowledge/livelink.exe/open/765419Livelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exeTo
Unsubscribe from this Discussion, send an e-mail tounsubscribe.componentbuilder@elinkkc.opentext.com.
Robin_Hilp_(pmuser15(expired))
Hi Krishnankutty, Thanks for the script. I have attached script that I am using for renaming. Please suggest if I need to do different.
eLink User
Message from Nair, Krishnankutty N. via eLinkDon't know but instead of the capi call why not wapi I enclose the shellof my event script which calls the specific script I attachedearlier.Your script looks OK to me but I am no expert to tell you why itis not working. -----Original Message-----From: eLink Discussion: Livelink Builder Discussion[mailto:componentbuilder@elinkkc.opentext.com] Sent: Thursday, March 23, 2006 1:21 PMTo: eLink RecipientSubject: Here is my script. Please suggest if I need to do anydifferent.Here is my script. Please suggest if I need to do any different.Posted by Komawar, Amol G on 03/23/2006 02:17 PMHi Krishnankutty, Thanks for the script. I have attached script that I am using forrenaming. Please suggest if I need to do different.[To reply to this thread, use your normal E-mail reply function.]============================================================Attachment link: Renameworkflowscript.txt
https://knowledge.opentext.com/knowledge/livelink.exe/open/4985110============================================================Topic
: RenameWorkflow general event script is being executed beforeworkflow ID is generated
https://knowledge.opentext.com/knowledge/livelink.exe/open/5082150Discussion
: Livelink Builder Discussion
https://knowledge.opentext.com/knowledge/livelink.exe/open/765419Livelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exeTo
Unsubscribe from this Discussion, send an e-mail tounsubscribe.componentbuilder@elinkkc.opentext.com.
Donna Nalls
Hello,I find that i have to retrieve my wflow data from the temp map when i have an event script that processes prior to the first user step.Attached is a sample with my rather kludgy way of retrieving the temp map. i hope it helps.donnaps--this code is from ll v9.2