Defining an Approval Workflow Group

Prerequisites

To define an approval workflow group, you should have:

  • Input and Display UI maps created in the application in case you want to use custom UI maps.

  • Dependency, Approval, and Approval Post Processing algorithms defined in the application in case you want to use any of them.

Note: Before you define an approval workflow group for the User BO, you need to attach the C1-APPTXNBAS algorithm on the Audit algorithm spot of the business object belonging to the USER-SC MO, and not the USER MO.

Procedure

To define an approval workflow group:

  1. Click the Admin link in the Application toolbar.
    A list appears.
  2. From the Admin menu, Select A and then click Approval Workflow Group.
    The Approval Workflow Group screen appears.
  3. Click the Add button in the Page Title area of Approval Workflow Group screen.
    The Approval Workflow Group screen appears. It contains the following sections:
    • Main - Used to specify basic details about the approval workflow group.

    • Business Objects and Group BO Relation - Used to add business objects and define group BO Relation for the approval workflow group.

    The Main section contains the following:

    Field Name Field Description Mandatory (Yes or No)
    Approval Transaction Type Used to indicate the transaction type to which the approval workflow group belongs. Yes
    Approval Workflow Group Used to specify the approval workflow group. Yes
    Description Used to specify the approval workflow group with a particular description. Yes
    Display UI Map Used to specify the UI map that you want to use for viewing data of the business objects within the approval workflow group.
    Note: You can search for a UI map, code, and an algorithm by clicking the Search icon (The Search Icon) corresponding to the Display UI Map field.
    Note: If you clear the Display UI Map field, you need to either manually specify the UI map or automatically regenerate the UI map by clicking the Regenerate UI Maps icon corresponding to the group in the Approval Workflow Settings screen.
    No
    Input UI Map Used to specify the UI map that you want to use for modifying data of the business objects within the approval workflow group.
    Note: You can search for a UI map, code, and an algorithm by clicking the Search icon (The Search Icon) corresponding to the Input UI Map field.
    Note: If you clear the Input UI Map field, you need to either manually specify the UI map or automatically regenerate the UI map by clicking the Regenerate UI Maps icon corresponding to the group in the Approval Workflow Settings screen.
    No
    Dependency Algorithm Used to specify the algorithm that will be triggered before creating the approval workflow group.
    Note: You can search for a Input UI map, code, and an algorithm by clicking the Search icon (The Search Icon) corresponding to the Dependency Algorithm field.
    Note: This algorithm can be used to check all prerequisites before creating the approval workflow group.
    No
    Approval Algorithm Used to specify the algorithm that will be triggered after the approval workflow group is approved by the approver at the last level in the hierarchy. The following approval algorithms are shipped with ORMB:
    • C1-APPPROD - This approval algorithm is used for the C1PRODUCT group, which is shipped with ORMB.

    • C1-APPPL - This approval algorithm is used for the C1PRICELST group, which is shipped with ORMB.

    • C1-APPPASG - This approval algorithm is used for the C1PRICEASG group, which is shipped with ORMB.

    • C1-APPALG - This is a standard approval algorithm that you can use for approval workflow groups where custom logic is not required.

    You can also create your own approval algorithms for custom UIs.

    Note: You can search for a Input UI map, code, and an algorithm by clicking the Search icon (The Search Icon) corresponding to the Approval Algorithm field.
    No
    Approval Post Processing Algorithm Used to specify the algorithm that will be triggered after the changes (which are approved by all approvers’ in the hierarchy) are committed to the database.
    Note: You can search for a Input UI map, code, and an algorithm by clicking the Search icon (The Search Icon) corresponding to the Approval Post Processing Algorithm field.
    No
    Transaction Creation Algorithm Used to specify the algorithm that will create approval workflow group. The following transaction creation algorithms are shipped with ORMB:
    • C1-APPASGCR - Used to create approval workflow group for price assignment.

    • C1-AXPROD - Used to create approval workflow group for price item.

    • C1-AXUSR - Used to create approval workflow group for user.

    • C1-IGCREATE - Used to create approval workflow group for invoicing group.

    • C1-AXCREATE - This is a standard transaction creation algorithm that you can use to create approval workflow group for most of the base objects.

    You can also create your own transaction creation algorithms for custom UIs.

    In case of the base UIs, this algorithm is only used while modifying or resolving a group. The initial approval transaction creation for base UIs takes place through the Audit algorithm attached on the business object.

    Note: You can search for a Input UI map, code, and an algorithm by clicking the Search icon (The Search Icon) corresponding to the Transaction Creation Algorithm field.
    Yes
    Data Retrieval Algorithm Used to specify the algorithm that will be triggered to retrieve the original data of the business objects within the approval workflow group. This will help an approver to compare the original and new data in case where the submitter action is Update (UPD). The following data retrieval algorithms are shipped with ORMB:
    • C1-APPIGDR - Used to retrieve data for invoicing group.

    • C1-AXPRICEOV - Used to retrieve data for price assignment.

    • C1_​APPDATA - This is a standard data retrieval algorithm that you can use to retrieve data for most of the base objects.

    You can also create your own data retrieval algorithms for custom UIs.

    Note: You can search for a Input UI map, code, and an algorithm by clicking the Search icon (The Search Icon) corresponding to the Data Retrieval Algorithm field.
    Yes
    Information Algorithm Used to specify the algorithm information.
    Note: You can search for a Input UI map, code, and an algorithm by clicking the Search icon (The Search Icon) corresponding to the Approval Post Processing Algorithm field.
    No
    Compare Map Used to specify the customized Display UI map that you want to use for the approval workflow group. It overrides the UI map specified in the Display UI Map field.
    Note: You can search for a Input UI map, code, and an algorithm by clicking the Search icon (The Search Icon) corresponding to the Approval Post Processing Algorithm field.
    No
    Input Script Used to specify the customized Input UI map that you want to use for the approval workflow group. It overrides the UI map specified in the Input UI Map field.
    Note: You can search for a Input UI map, code, and an algorithm by clicking the Search icon (The Search Icon) corresponding to the Approval Post Processing Algorithm field.
    No
  4. Enter the required details.
  5. Add business objects and group BO relation with the approval workflow group, if required.
  6. Click Save.
    The approval workflow group is defined.

Related Topics

For more information on... See...
Approval Workflow Group screen Approval Workflow Group (Used for Viewing)
Approval Workflow Group zone Approval Workflow Group
How to add business objects and group BO relation Adding a Business Object