Submits the process management changes specified in an XML string that is contained by an ASP Request object, 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 value returned by the pvarbstrXML argument to GenerateAlerts. |
<HFMwDataGrid>.SubmitProcessStateChangeFromXML (varpIRequest)
An ASP Request object containing an XML string that represents the process management action to be applied. The XML string is described in Table 6, Process Management XML String. | |
Returns an XML string representing the process units that were successfully changed. The format of the XML string is described in Table 7, Process Unit XML String. |
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. |
The following table describes the XML string that represents process management actions.
Table 6. Process Management XML String
Root element. This contains the Boolean descendants attribute, which indicates whether to apply the process management action to all descendants of the cells’ entities. | |
Represents the grid cells to be processed. A <CELLS> tag contains one <CELL> tag for each cell. | |
Represents a cell to be processed. <CELL> contains the following attributes: | |
A number that represents the action to apply. Valid values are represented by the HFMConstants type library enumeration CEnumProcessFlowActions, which is described in Process Management Action Constants. | |
A number that represents the review level to apply. Valid values are represented by the HFMConstants type library enumeration CEnumProcessFlowStates, which is described in Process Management Review Level Constants. | |
Represents files to be attached to the process units. An <ATTACHMENTS> tag contains one <ATTACHMENT> tag for each file to be attached. | |
Represents a file attachment, and contains the following attributes: |
The following table describes the XML string that represents successfully changed process units.
Table 7. Process Unit XML String
Root element. <events> contains the following attributes: | |
Represents the process management action and the users to be notified. <event> contains the following attributes:
<event> also contains a <comment> tag, as well as one <item> tag per process unit. | |
Represents a process unit to which the process management action has been applied. <item> contains the following attributes:
|