ArcFM Desktop Developer Guide
IMMPxTask Interface Members
Properties  Methods 

Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

The following tables list the members exposed by IMMPxTask.

Public Properties
 NameDescription
 PropertyDescriptionAn explanation of the task.  
 PropertyDisplayOrderThis field is used to determine the position where the task will be displayed in relation to the other tasks in the list.  
 PropertyEnabledReturns 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.  
 PropertyNameA name for the task.  
 PropertyTaskIDA unique identifier for the task.  
 PropertyVisibleThis field determines if a task is visible in a list of tasks.  
Top
Public Methods
 NameDescription
 MethodExecuteAll 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.  
Top
See Also

Reference

IMMPxTask Interface
Miner.Interop.Process Namespace

 

 


Send Comment