new Workflow(app, ui)
- Description:
Workflow controller
Parameters:
Name | Type | Description |
---|---|---|
app |
Simplicite.Ajax | Ajax service |
ui |
Simplicite.UI.Engine | Main UI controller |
Methods
displayActivity(ctn, wkf, act, options, cbk)
- Description:
Display the activity
Parameters:
Name | Type | Description |
---|---|---|
ctn |
Container |
|
wkf |
Business process instance |
|
act |
Current activity with metadata |
|
options |
Options
|
|
cbk |
Optional callback |
displayList()
- Description:
Activities list filtered on process name and step
error()
- Description:
Error : return to activity with messages
getUIProcess()
- Description:
Business Process for UI usage
service()
- Description:
Service call
success()
- Description:
Success : dispatch response