Pandora - Trigger a Workflow

From SmartWiki
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