Pandora - Trigger a Workflow

From SmartWiki
Revision as of 13:22, 9 May 2011 by Cameron (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function triggers a system workflow.

trigger_workflow(objectid,wfid,objecttype,flag,callbackfunc);
Parameter Description
Flag True or false, send synchronously or asynchronously.
Callbackfunc Function to be used after the asynchronous function call.
objecttype The object type associated with the workflow.
object id The ID number of the object for the workflow to be triggered on.
wfid The ID number for the workflow to be executed.
Returns