An application setting determines whether an application supports process management by process unit or by submission phase. You can check this application setting with the HsvMetadata method GetUseSubmissionPhaseFlag. This application setting determines which HsvProcessFlow methods you can use. If the application supports phased submissions, use only methods for phased submissions; otherwise, use only methods for process units.
To distinguish these methods, the names of methods for phased submissions typically begin with the prefix “PhasedSubmission.” For example, if phased submissions are disabled, start a process unit with Approve, Approve2, or ApproveEx. If phased submissions are enabled, start a submission phase with PhasedSubmissionApprove, PhasedSubmissionApprove2, or PhasedSubmissionApproveEx.
If phased submissions are enabled, the following methods can be useful:
The HsvMetadata type library provides methods for obtaining applicable dimension and member settings:
To return whether the application uses the Account, Intercompany Partner, and Custom dimensions for process management, use the following HsvMetadata object methods:
To determine the submission group to which an Account, Intercompany Partner, or Custom dimension member is assigned, use the GetSubmissionGroup method of the HsvAccounts, HsvICPs, or HsvCustom object.
The following HsvData methods assign and obtain submission groups for submission phases: