01-08-2009 11:08 AM
01-08-2009 03:20 PM
//…uploaded file is created. then i try to start the workflow.
upload.save();
var resultString = "";
var workflowNodeId = upload.id;
if ((workflowNodeId != "") && (workflowNodeId != null) )
{
var workflowNode = search.findNode("workspace://SpacesStore/" + workflowNodeId);
if (workflowNode != null)
{
try
{
var wflow = actions.create("start-workflow");
wflow.parameters.workflowName
= "jbpm$matriawf:customReviewWorkflow";
wflow.execute(workflowNode);
resultString = "Workflow Started!";
}
catch (e)
{
resultString = "Failed to start workflow"+e;
}
}
}
net.sf.acegisecurity.BadCredentialsException: Bad credentials presented
01-09-2009 12:29 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.