class EnsLib.Workflow.UI.TaskAssignForm
extends %RegisteredObject, %CSP.Util.AutoForm
An autoform for gathering Message Filter info
parameter DOMAIN = "Ensemble";
Use our own domain for localization
property CancelTask
as %Boolean;
Cancel this task
property Name
as %CSP.Util.Choice(CAPTION="@Ensemble:UserName@User Name",CAPTIONCOLUMN="UserName",QUERYCLASS="EnsLib.Workflow.Engine",QUERYNAME="ListActiveUsers");
User to assign task to (could be from a different role).
property Priority
as %Integer(VALUELIST=",1,2,3,4,5");
Task Priority
property TaskId
as %Integer;
TaskId
classmethod CreateInstance(ByRef pID As %String)
as %CSP.Util.AutoForm
Create an instance of the AutoForm object using the provided ID value(s).
This is overridden by subclasses.
The default implementation will perform an OpenId if the AutoForm is a persistent object.
classmethod OnDefineButtons(ByRef pButtons As %CSP.Util.FormButton)
define buttons
method OnSubmit(ByRef pID As %String, pSubmit As %String)
as %Status
This callback is called when this form is submitted.
pID is the ID value associated with the form.
The default implementation will perform a Save if the AutoForm is a persistent object.
pSubmit is the name of the submit button (i.e., $AUTOFORM_SAVE).