<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=549102609-25012007>I've got a script 
located in <STRONG>/wms/Ccp/Main/TeamLead/Scripts</STRONG> and it needs to 
reference a workflow&nbsp;object in 
<STRONG>/wms/Ccp/Main/Workflows/Ccp/</STRONG> .</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=549102609-25012007>Currently, we do 
this by issuing this line :</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#ff0000 size=2><SPAN class=549102609-25012007>wf = 
context.Workflows.Ccp.ccp_agro_article</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=549102609-25012007>But everytime we run 
this, a username/password prompt comes up, and no matter what we enter (even if 
we use a Manager account), nothing works.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=549102609-25012007>I'm thinking maybe I 
should refer to the workflow object using a full-path approach. Question is, how 
? Do I say :</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=549102609-25012007><FONT 
color=#ff0000>wf = wms.Ccp.Main.Workflows.Ccp.ccp_agro_article</FONT> 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007>?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=549102609-25012007>I tried it and got a 
<FONT face="Times New Roman" size=3><STRONG>global name 'wms' is not defined 
</STRONG><FONT face=Arial size=2>message.</FONT></FONT><BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=549102609-25012007>Hope somebody here 
could shed some light.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=549102609-25012007>Regards,<BR>Danny</DIV></SPAN></FONT></BODY></HTML>