Home > Class Reference > ENSLIB namespace > EnsLib.Workflow.FormEngine

EnsLib.Workflow.FormEngine

class EnsLib.Workflow.FormEngine extends %Library.RegisteredObject

Provides the API for managing form associated with Workflow tasks.

Method Inventory

Methods

classmethod %OnSubmit(pSubmit As %ZEN.Submit, Output pMsg As %String) as %Status [ Language = objectscript ]
Submit handler: this is called by the SubmitHandler on the Zen page handling the submit.
classmethod DrawActionButton(pAction As EnsLib.Workflow.ActionDefinition, pEnabled As %Boolean = 1) [ Language = objectscript ]
classmethod DrawHTMLField(pName As %String, pValue As %String = "", pType As %String = "String", pCaption As %String = "") as %Status [ Language = objectscript ]
Write out HTML for a specific field. Type is "String",
classmethod DrawHTMLForm(pTask As EnsLib.Workflow.TaskResponse, pURL As %String = "") as %Status [ Language = objectscript ]
Writes out HTML for the associated form to the current device.
classmethod HasForm(pTask As EnsLib.Workflow.TaskResponse) as %Boolean [ Language = objectscript ]
Determines if this Task has an associated form.
classmethod ProcessSubmit(pTask As EnsLib.Workflow.TaskResponse) as %Status [ Language = objectscript ]
Request to save the task form.
classmethod ShowAcceptButton(pItem As EnsLib.Workflow.Worklist) as %Status [ Language = objectscript ]
Display Accept Button for this an item.
classmethod ShowActionButtons(pItem As EnsLib.Workflow.Worklist) as %Status [ Language = objectscript ]
Displays defined action buttons for a worklist item.

Inherited Members

Inherited Methods

FeedbackOpens in a new window