Executes a process management task for the specified range of cells, optionally attaches documents, and, if e-mail alerting is enabled, returns a list of the process units that may require alerts.
To get information on users who should receive e-mail alerts for the process units, pass the string returned by the pvarbstrXML argument to GenerateAlerts. |
<HFMwDataGrid>.ExecuteDataExplorerProcessManagementTask3 (lProcessMgmtActionID, lRowStart, lColStart, lRowEnd, lColEnd, sPromotionLevel, bstrComments, varavarAttPaths, varavarAttFiles, pvarsNewState, pvarbstrXML)
The ID of the task to be executed. These IDs are represented by the HFMConstants enumeration tagWEBOM_DATAGRID_PROCESSFLOWACTION_ENUM, which is described 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: | |
An array of strings containing the paths in which the documents to be attached have been loaded. Folders in paths are delimited by backslashes ( \ ). This array has a one-to-one correspondence with the varavarAttFiles argument’s array of filenames. | |
An array of strings containing the file names of the documents to attach. Files must be loaded in the folder specified by the corresponding item in the varavarAttPaths argument’s array, otherwise an error will be thrown. | |
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 XML string representing the process units that were successfully changed. The format of the XML string is described in Table 7. This argument returns an XML representation of process units only if e-mail alerting is enabled. |
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. |