Difference between revisions of "Pandora - Trigger a Workflow"

From SmartWiki
Jump to: navigation, search
(Created page with 'This function triggers a system workflow. trigger_workflow(objectid,wfid,objecttype) {| border="1" !Parameter !Description |- |'''Flag'''||True or false, send synchronously or…')
 
 
Line 1: Line 1:
 
This function triggers a system workflow.
 
This function triggers a system workflow.
  
  trigger_workflow(objectid,wfid,objecttype)
+
  trigger_workflow(objectid,wfid,objecttype,flag,callbackfunc);
  
 
{| border="1"
 
{| border="1"

Latest revision as of 14:22, 9 May 2011

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