AnsweredAssumed Answered

How to systematically 'Approve' or 'Reject' a SimpleWorkflow

Question asked by hyperation on Aug 26, 2009
Latest reply on Nov 27, 2009 by rudyanto
Hi,

I am having trouble figuring out how to use Web Script to systematically 'Approve'/'Reject' a Simple Workflow item.

I made a Web Script that creates a "simple-workflow" Action and sets the approved destination and reject destination.  This script is working and all, but now I need the system to automatically "Approve" or "Reject" the Simple Workflow item.

I am doing this for a custom UI that does AJAX calls to a webscripts to do all the "actions".

It would be nice if there is something like..

node.execute("theAction")

..for Web Scripts.

Thanks
:)

Outcomes