Class: Workflow

Simplicite.UI.Workflow

new Workflow

Workflow controller

Parameters:
Name Type Description
app Simplicite.Ajax Ajax service
engine Simplicite.UI.Engine Main controller
Source:
  • workflow.js, line 13

Methods

displayActivity

Display the activity

Parameters:
Name Type Description
ctn Container
wkf Business process instance
act Current activity with metadata
options Options
  • showRoad: displays the workflow navbar, default true
  • msg: back-end messages to display
  • workflow: true
cbk Optional callback
Source:
  • workflow.js, line 238

displayList

Activities list filtered on process name and step

Source:
  • workflow.js, line 197

error

Error : return to activity with messages

Source:
  • workflow.js, line 186

getUIProcess

Business Process for UI usage

Source:
  • workflow.js, line 26

service

Service call

Source:
  • workflow.js, line 99

success

Success : dispatch response

Source:
  • workflow.js, line 125