Executes a process management task for the specified range of cells.
To attach documents while executing a process management task, use ExecuteDataExplorerProcessManagementTask2. To attach documents and return an XML string that can be passed to GenerateAlerts, use ExecuteDataExplorerProcessManagementTask3.
<HFMwDataGrid>.ExecuteDataExplorerProcessManagementTask (lProcessMgmtActionID, lRowStart, lColStart, lRowEnd, lColEnd, sPromotionLevel, bstrComments, pvarsNewState)
The ID of the task to be executed. These IDs are represented by the HFMConstants type library constants listed in Data Explorer Process Management Constants. | |
The index (0-based) that identifies the first row in the range of cells. | |
The index (0-based) that identifies the first column in the range of cells. | |
The index that identifies the last row in the range of cells. | |
The index that identifies the last column in the range of cells. | |
Indicates the level to which to promote. This argument applies only if the method is promoting. Promotion levels are represented by the numbers in the following list: | |
Returns the number that identifies the level to which the process unit has been promoted. If the promotion succeeds, this should be equal to the number passed in the sPromotionLevel argument. |
Returns an HRESULT – 0 indicates success, a non-zero value indicates an error. You should always check the return value for a non-zero HRESULT.
You can use the HsvResourceManager object to obtain more information on non-zero return values. For details, see HsvResourceManager Object Methods. |