AnsweredAssumed Answered

Putting Retract content menu item for my workflow

Question asked by g_rathod on Mar 24, 2008
HI Friends,

  I created one simple java script, which will create simple workflow action like:


var l_moved_space = companyhome.childByNamePath("Test/Test1");
var workflow = actions.create("simple-workflow");
workflow.parameters.approveStepName="Retract";
workflow.parameters.approveAction="move";
workflow.parameters.rejectStepPresent="no";
workflow.parameters.approveFolder=l_moved_space;
workflow.execute(document);


                and then I am executing this java script file as a business rule for inbound documents in Test space.
Now when I add any document, it’s not showing any error, but at the same time it’s not showing Retract option in More actions menu.
And if I go to Document Details page and click on “Workflows” panel, it’s throwing some Null Pointer Exception from that JSP. (documents-detail.jsp)



So I think, I have missed out something here.

Do you have any idea what might be the problem?


CIGNEX TECHNOLOGIES

Outcomes