Miner.Interop.Process Assembly > Miner.Interop.Process Namespace : IMMPxTask Interface |
The following tables list the members exposed by IMMPxTask.
Name | Description | |
---|---|---|
![]() | Description | An explanation of the task. |
![]() | DisplayOrder | This field is used to determine the position where the task will be displayed in relation to the other tasks in the list. |
![]() | Enabled | Returns whether the task can be executed. Tasks are enabled if the user's roles match the roles of the task's transition or roles, and all of the subtasks are enabled. |
![]() | Name | A name for the task. |
![]() | TaskID | A unique identifier for the task. |
![]() | Visible | This field determines if a task is visible in a list of tasks. |
Name | Description | |
---|---|---|
![]() | Execute | All of the subtasks associated with the task are executed in order. If any of the subtasks fail, the Execute method will call IMMPxSubtask.Rollback in the reverse order on all of the subtasks that were executed successfully. Execute will also return false to indicate that the task failed. If all of the subtasks execute successfully and the task has an associated transition, the state of the node for which the task was executed will be changed to the 'To State' of the transition and the Execute method will return true to indicate that the task succeeded. |