Package com.mendix.workflows
Interface UserTask
public interface UserTask
Provides an interface for managing a user task of the workflow.
- 
Method Summary
- 
Method Details- 
getMendixObjectIMendixObject getMendixObject()Gets the user task mendix object.- Returns:
- the user task mendix object
 
- 
openPagevoid openPage()Opens the user task page. This method assigns the user task to the current user if the task is not assigned and prevents opening (resulting in an exception) when the task already assigned to someone else.
- 
openPagevoid openPage(boolean assignOnOpen, boolean openWhenAssigned) Opens the user task page.- Parameters:
- assignOnOpen- parameter for assigning the task page automatically to the current user
- openWhenAssigned- parameter for allowing other users to open the assigned user task page
 
- 
completeCompletes the user task with a given outcome.- Parameters:
- outcome- outcome of the task
 
- 
getWorkflowWorkflow getWorkflow()Gets the workflow of the user task.- Returns:
- the workflow of the user task
 
 
-