Skip to main content


class EnsPortal.Dialog.WorkflowTaskAssign extends EnsPortal.Dialog.standardDialog

Dialog to assign or reassign workflow tasks to workflow users.

Property Inventory

Method Inventory


parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
parameter PAGENAME = Assign or Reassign Task;
Displayed name of this page.
parameter RESOURCE = %Ens_WorkflowConfig:WRITE;
User needs WRITE permissions on the %Ens_WorkflowConfig resource to view this page.


property initialTask as %ZEN.Datatype.string (ZENURL = "TASK");
Property methods: initialTaskDisplayToLogical(), initialTaskGet(), initialTaskIsValid(), initialTaskLogicalToDisplay(), initialTaskLogicalToOdbc(), initialTaskNormalize(), initialTaskSet()
property retValue as %ZEN.Datatype.string;
Property methods: retValueDisplayToLogical(), retValueGet(), retValueIsValid(), retValueLogicalToDisplay(), retValueLogicalToOdbc(), retValueNormalize(), retValueSet()


method %OnAfterCreatePage() as %Status
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
method %OnGetSubtitle() as %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String
Get the (localized) title string for the dialog.
method GetFieldValues(taskId As %String) as %String [ ZenMethod ]
Method called from %OnAfterCreatePage to get initial field values for the form
classmethod SaveData(taskId, userName As %String = "", priority As %Integer = "", cancelTask As %Boolean) as %String [ ZenMethod ]
The "task" that we are working with is the task response message. Get it and send it to workflow engine methods to change its status in response to the user's selections in the form.
clientmethod getDialogValue() [ Language = javascript ]
Inherited description: Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
clientmethod onTaskChange(taskField) [ Language = javascript ]
clientmethod ondialogFinish(action) [ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab