Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
WorkRoute help needed!
jihan
Hi,
This is my first time using WorkRoute, so I hope you guys can guide me on this. I have a "Policy Procedure" document type and I want to have a function in my flow which updates the document's Policy Procedure. So what I did was, I created a Java helper class and packaged it in a JAR file (refer to "uemworkflow.zip").
After that I edited the workflow.properties file to add the path name for the new JAR file (refer to "workflow_properties.txt"). In the WorkRoute Template Designer, I've added a Javascript in the Prologue Script box on the Activity Node Properties dialog box (please refer to "uemworkflow2.jpg").
Problem is, nothing seems to happen after I've tried out the whole flow. The log viewer does not show any error in Workroute Log, and the JS Interpreter log is empty.
Are there any steps or files that I missed out? Can somebody help me, please?
Thank You in advance for your help.
Find more posts tagged with
Comments
wiel
Take a look at imworkflow log-file in mpserver/logs/stdout/cluster directory. If nothing is there use a try/catch block in the javascript and write the exception to System.out (it will be written to the log-file I mentioned):
var out = java.lang.System.out;
var msg;
try
{
// call your class here
}
catch (ex)
{
msg = "scripting error; " + ex.name + " - " + ex.message;
out.println(msg);
}