Approval Rules

The Approval Rules (IWF08) page is where the workflow rules are defined for transaction processing. Rules are selected based on the Transaction Code and the organizational values (see examples in the "Approval Hierarchy" topic). The applicable rule is the one that most specifically matches the organizational values. Once a rule has been found, it is evaluated to determine if approvals are required. If no applicable rule is found, then the transaction does not require approvals and it is marked as having completed the approvals phase of Workflow. The transaction is then either processed to Final or remains as Pending for submission by the System Maintenance Utility, based on the Workflow Asynchronous Process setting on the Transaction Control page.

Note: Regardless of the Workflow Asynchronous Processing setting, if the transaction rejects during final workflow approval submission, the transaction will revert to Draft Phase and will need to be corrected and resubmitted to Pending, and go through workflow again.

Each Approval Rule can require up to 15 levels of approval, and each level consists of up to five approval conditions joined with logical OR connections. If any of the approval level’s conditions evaluates to true, then that approval level is required. If any approval level is required, then the transaction requires approval(s) and enters approval processing for all required approval levels.

Once the transaction code, organizational values, and approval levels are configured, Workflow administrators must define the notifications with notification types to be sent to key users in the transaction approval process namely, the Creator, Submitter, and Approvers.

The Approval Rules (IWF08) page includes the following three tabs:

  • Workflow Details: Configure the parameters that govern workflow execution based on major elements such as Transaction Code, Department, Unit, other  Organizational COA, date range, and so forth.

  • Approval Level: Set hierarchical approval levels based on business requirements.

  • Notifications: Defines the notifications required to be triggered for each user when a transaction enters workflow, with flexible options to select from the notification type as Email, Application Alert, or a combination of both.

Field Information for Workflow DetailsField Information for Workflow Details

Field

Description

Transaction Code

A required Transaction Code that instructs the system what conditions can be selected.

Organizational COA (9)

The organizational values for the approval rule. The default value, ????, is a wild card and matches any value. Two examples are given to demonstrate the use of these fields:

  • Department is entered as 010 and Approval Level 1 is completed with Routing Sequence, Assignee ID, and Worklist Comment (at a minimum); this will result in all instances of the Transaction Code where the Transaction Department is 010 will go to the Assignee ID. There are no conditions in this example to show how the Organizational COA can be used as approval fields.

  • Two rules exist where the transaction amount is found to be greater than $1000.00 where one rule is to Department 010 and the other is to Department 020. In this situation, any instance of the transaction over that amount will go to different approval roles or approval users based on the Transaction Department. This reduces approval setup by not needing two different conditions where the amount is the same in each but the Transaction Department is different. Two records are required each way, but just a preference of setup.

Self-Approval Restriction

The restriction associated with approving a transaction that a user has created and/or submitted. The restrictions can be one of the following:

  • No Restriction

  • Creator Restricted

  • Submitter Restricted

  • Creator / Submitter Restricted

The default value is defined by the SELF-APPROVAL_DEFAULT_VALUE record on Application Parameters.

Enforce Single Approval

If this check box is not selected then a single user is allowed to apply multiple approvals to the same transaction. This indication is only read if the Single Approvals Enforced check box on the Transaction Control page is unchecked. If the check box on Transaction Control is checked an informational message is issued during an update action on the Approval Rules if Enforce Single Approval is unchecked.

Recall Maximum Routing Sequence

The system allows the submitter to recall the transaction from Pending to Draft from any specified routing sequence, if the Recall Maximum Routing Sequence field value is equal to or less than the current routing sequence of the transaction that is waiting for approval.

Rejection Comment Required

If checked and a user selects either the Reject or Reject All actions, then the system will require that user to populate the Subject and Comment fields before the transaction is successfully rejected. This setting overrides the setting of the WF_BYPASS_COMMENTS_PG_ON_REJECT parameter on the Application Parameters page. Therefore, even if WF_BYPASS_COMMENTS_PG_ON_REJECT is set to N, if Rejection Comment Required is checked on the Approval Rules (IWF08) page, then the system will display a pop-up window where a Subject and Comment must be mandatorily entered to reject the transaction. In this case, the system will not navigate the user to the Transaction Comments page.

Effective From / To

Optional dates to control when an approval rule begins or ends.

Field Information for Approval Levels tab Field Information for Approval Levels tab 

By default, the Approval Levels tab displays five levels for a new approval rule. Users can add an additional 10 levels as needed, providing a customized user experience.

Field

Description

Move to a Level

This field displays the total number of approval levels currently available under the Approval Levels tab (for example, Level 1, Level 2, and so forth up to Level 15). This drop-down dynamically reflects these levels, based on the actual number of levels added to the page.

Selecting a level from the list will automatically scroll the user to the corresponding section within the Approval Levels tab, enabling quick navigation and easier configuration.

Add Level (s)

This field specifies the number of additional approval levels that can be added to the Approval Levels tab. By default, the tab displays five approval levels for a new Approval Rule. The available options in the Add Level(s) drop-down depends on the current configuration and ranges from 1 Level up to 10 Levels.

  • If the tab currently shows five approval levels, up to 10 additional levels can be added.

  • If the tab already shows 10 approval levels, only up to 5 more levels can be added.

  • Once all 15 approval levels have been added, no further options are available in this drop-down.

This dynamic adjustment ensures users can incrementally configure the approval hierarchy up to the maximum of 15 approval levels.

Routing Sequence

Defines the sequence in which the approval routings occur. Approval levels need not be ordered sequentially (for example, level 1, then level 2, then level 3, and so on). Approval routings can occur in any order and may be done in parallel (for example, level 2, then level 1 and 3, then level 15, then level 5, and so on). Set the Routing Sequence to 0 if the approval level is not required (in this case no routing to the Approval Level takes place and all field values setup on the Approval Level are ignored).

Priority

Priority value assigned to a workflow rule that is intended to provide information to approvers looking to take transactions from a worklist.

Email Assignee / Role

When checked, an email will be sent to a user (if the assignee is a User ID) or all members of the Approval Role (if the assignee is an Approval Role) at a given approval level. It can be used to notify the Assignee that the transaction is routed to the given Approval Level (it can occur with Approve, Reject, Unapprove actions, and so forth.).

Note: When the All Assignees (At All Levels) flag is enabled within the Approver Notifications section of the Notifications tab, the Email Assignee / Role checkbox is automatically selected across all available approval levels. This ensures that email notifications are sent to all approvers at every level of the approval workflow.

Condition 1 to 5

Determines which conditions are evaluated for the approval level. If any of these conditions evaluate to true and the Routing Sequence is not 0, then this approval level is required.

Approval Rule

The logical rule associated with the workflow approval conditions that must be met for the indicated Transaction Code to be submitted for the selected approval level. The value is a concatenation inferred from the Approval Rule record.

Assignee ID

The User ID for individual approval or the Approval Role ID has the Assignee Is Role flag checked. If the Assignee ID is populated, the Assignee Field must be blank.

Sites can restrict the selection of a disabled User ID in this field, by enabling the PREVENT_DISABLED_USER_SELECTION parameter on the Application Parameter (APPCTRL) page. A system feedback message (Q0302 or Q0303) will be displayed to the user setting up the Approval Rule, informing that the disabled user is not allowed for this selection. This ensures that the disabled user is not assigned for a Workflow Approval.

Note: This parameter is only applicable for individual user selection, that is, when the Assignee is Role? flag is unchecked.

Assignee Is Role?

An indication that among driving edits, determines if the Assignee ID field is to capture a User ID (unchecked) or an Approval Role ID (checked).

Assignee Field

Allows the selection of transaction Header fields where User IDs are recorded to be used for workflow instead of the Assignee ID for each approval level.

To facilitate the routing of HRM transactions by Supervisor ID, when the selection of routing by Assignee Field is made on Approval Rules, the WF SUPR INFER TYPE SPAR entry is used to determine which User ID should be used for workflow routing; the Supervisor User ID established on Department Specific Data (DEPTD) (Text Value = D), or the incumbent’s User ID of the Reporting To Position on Position Maintenance (PSMT) (Text Value = P). The system first attempts to infer the Supervisor User ID. However, if a Supervisor ID is not found on Department Specific Data, then the system infers the incumbent’s User ID of the Reporting To Position on Position Maintenance.

Worklist Comment ID

Worklist Comment

A required field to put a comment into the workflow inquiry pages for the approval level. The comment text is inferred from the Manage Approval Comment reference page for informational purposes.

Additional Notification

An indication to send a notification to the creator and/or submitter of a transaction if the transaction is assigned for an approval at the selected level (it can occur with Approve, Reject, Unapprove actions, and so forth). Valid values for this field are:

  • None

  • Submitter

  • Creator

  • Creator and Submitter

The Additional Notification must be set to None, if the selected level does not require approvals (that is, Assignee ID). For transactions submitted with batch processes, notification emails to Submitter is only sent when Notify Batch Submitter is selected.

Note: When the Additional Notification (At All Levels) flag is selected in the Creator Notifications, Submitter Notifications, or both sections, the system automatically selects a corresponding option from the Additional Notification drop-down across all approval levels. This ensures that additional notifications are configured uniformly throughout workflow.

Non-Approval Notification

An indication that a notification email should be sent to a User, Role or Variable, as defined in the Non-Approval ID field when the transaction reaches the selected Approval Level (it can occur with Approve, Reject, Unapprove actions, and so forth). The feature can be used to send an email to any person(s) notifying about the transaction reaching the selected Approval Level. The notification is sent when a level is evaluated as true (Conditions are satisfied), regardless of whether the transaction is also being routed for Approval at the selected level. If checked, the Routing Sequence must be populated with a value between 1 and 15 and the Non-Approval ID, Non-Approval ID Type, and Non-Approval Comment ID must be populated.

It is possible to setup an Approval Level only for notification (to send email to other person indicated by Non-Approval ID) and not for routing by setting up Routing Sequence, Condition (if any) and Non-Approval Notification fields and leaving Assignee ID blank. In this situation, when a transaction reaches the Approval Level it will send a notification email and then route to the Approval Level at next Routing Sequence.

Non-Approval ID Type

Non-Approval ID

The ID of the User, Role, or Variable that will receive a non-approval notification. The following rules apply:

  • If the Non-Approval ID Type is User ID, then the Non-Approval ID must be a valid user on the User Information page. The selection of a disabled user can be restricted using the PREVENT_DISABLED_USER_SELECTION  parameter on the Application Parameter (APPCTRL) page as mentioned in the Assignee ID field. Refer to the Assignee ID field information in this table for details on this behavior.

  • If the Non-Approval ID Type is Variable, then the Non-Approval ID must be a valid on the Notification Variables page.

  • If the Non-Approval ID Type is Variable, then the Non-Approval ID must be valid on the Notification Variables page.

Non-Approval Comment ID

Non-Approval Comment

A required field when the Non-Approval Notification is checked to put a comment into the notification to the Non-Approval ID for the approval level. The comment text is inferred from the Manage Approval Comment reference page for informational purposes.

Automatic Escalation

This field indicates after how many days from the day of assignment of the worklist item, the assignee should be sent a warning email notification if no action has been taken. If assignee is an approval role, an email is sent to all of the members of the role. If assignee is a User OR if role and a member of the role has performed a Take Task on the Worklist Item, an email is sent to the particular user.

Refer to the Automated Workflow Escalations run sheet in the CGI Advantage - Administration Utilities Run Sheets guide to understand the functionality of the following fields related to warning notification and escalation. To summarize, these fields drive when the batch process should send a warning email notification to an assignee when the worklist item ages beyond the Warning Threshold Age and when it should escalate the item to Escalate Assignee(s) when it ages beyond Escalate Threshold Age 1 and 2. Warning and escalation ensures that the worklist item is worked on by the specified time period by sending email reminders to an assignee and escalating the item to more assignee(s) by creating additional routings to them so that they can work on them.

Warning Threshold Age

Age of the worklist item at Approval Level after which it becomes eligible for Warning Email notifications. Only values greater than zero can be specified.

Note: The following condition has to be satisfied that drives the sequence of events on aging: Warning Threshold Age < Escalate Threshold Age 1 < Escalate Threshold Age 2. This means when a worklist item ages beyond Warning Threshold Age, then the first warning email is sent out every time the job is run. If Assignee does not take action on the worklist item and the item ages beyond Escalate Threshold Age 1, then the Automated Workflow Escalations batch job does escalation at level 1. If still no action is taken on the worklist item and the item ages beyond Escalate Threshold Age 2, then the Automated Workflow Escalations batch job does escalation at level 2.

Warning / Escalate Template ID

Template ID to be used for sending the Warning/Escalation e-mail at approval level. The content of the template forms the body of the e-mail notifications to be sent to the users.

Escalate Threshold Age 1

Escalate Assignee ID 1

Escalate Assignee 1 Is a Role

  • Age of the worklist item at approval level after which it becomes eligible for escalation at Escalation Level 1. Only values greater than zero can be specified.

  • Automated Workflow Escalations batch job calculates the age of a worklist item as the number of days between the Assigned Date of the worklist item and the Application System Date on Application Parameters. If the age of the worklist item equals or exceeds the Escalate Threshold Age 1 but is less than the Escalate Threshold Age 2 (which means the item is not yet escalated at Level 2), then the batch job routes the worklist item to Escalate Assignee 1 asking to take action on the pending Workflow item. After the escalation, both Escalate Assignee and Original Assignee will be able to work on the worklist item through their worklist. When any one of them approves the item, it moves ahead in the Workflow chain.

  • Both Original Assignee as well as Escalate Assignee 1 are notified through e-mail of the escalation action. If Original Assignee is a User then the e-mail notification is sent to the particular User. If Original Assignee is an Approval Role and none of the Role's Approvers has performed 'Take Task' on it then an e-mail notification is sent to all Approvers belonging to that Role. If the task has been taken by an Approver with that Role, then the e-mail notification is sent to the particular Approver only.

The Escalate Assignee ID 1 and Escalate 1 Assignee 1 Is a Role fields are used to determine if escalated to a user or an approval role.

Escalate Threshold Age 2

Escalate Assignee ID 2

Escalate Assignee 2 Is a Role

  • Age of the worklist item at approval level after which it becomes eligible for escalation at Escalation Level 2. Only values greater than zero can be specified.

  • The Escalate Assignee ID 2 and Escalate Assignee 2 Is a Role fields are used to determine if escalated to a user or an approval role.

Note: The selection of a disabled user can be restricted using the PREVENT_DISABLED_USER_SELECTION  parameter on the Application Parameter (APPCTRL) page as mentioned in the Assignee ID field. Refer to the Assignee ID field information in this table for details on this behavior. This is applicable for both the Escalate Assignee ID 1 and Escalate Assignee ID 2 fields.

  • The Copy Approval level # information action has the following two options:

  • All Levels - Use this option for applying information from the previous level to the current level and all subsequent approval levels.

  • Current Level - Use this option for applying information from the previous level to just the current approval level.

  • Reset All Fields: Clicking this action will reset the information added to the current level.

Limitations of Approval Levels tab: Listed below are known limitations of the Approval Levels tab after merging Approval Levels 1-10 and 11-15 in a single page:

  • The system feedback messages/errors displayed for any field on Approval Levels 11-15 will not contain a hyperlink. This is due to the technical limitations of this page. To address this gap, a contextual reference is provided in the system feedback message referencing the Approval Levels 11-15, to be looked up by the user.

  • Due to the same technical limitation, the Approval Levels 11-15 related error messages are displayed first, if there are errors for Approval levels 1-10 and 11-15 levels. Once the user resolves the errors for levels 11-15, the error messages relevant to levels 1-10 will be displayed to the user.

Field Information for Notifications tab Field Information for Notifications tab 

The Notifications tab offers centralized management of Workflow notifications delivered via email and/or system alerts. Notifications are grouped according to different parties such as Creator, Submitter, and Approver. Each category encompassing a mix of newly added and existing notification flags. These workflow notifications are categorized and split based on the parties involved and are triggered based on the specific workflow actions and/or events applied on a transaction. The Notification templates are defined in the Notifications section of this guide.

Notification Type and Apply This Selection to Fields

The notification fields in the Creator, Submitter, and Approver Notifications sections are configured to be delivered through multiple channels such as emails, Alerts, or both, which gives users flexibility to access their worklist tasks and prioritize them efficiently. Users can choose from the following Notification Type options: Email, Application Alert, or Email and Application Alert. Workflow alerts are system-generated and are sent to users when the workflow administrator configures the Notification Type field to Application Alert, or Email and Application Alert.

To allow workflow email notifications to be sent to users, the workflow administrator must turn on the ALLOW_WF_EMAIL_NOTIFS parameter on the Application Parameters (APPCTRL) page. Note: This parameter is provided under Administration, Financial, and HRM applications; therefore, enablement is specific to the application where this parameter is turned on. Additionally, users must enable the Workflow Email Notifications flag under the Manage Notifications section in their User Profile - Account Settings page. This flag is enabled by default.

A usability action, Apply This Selection to, is provided under the Creator Notifications section. This action can replicate a selected Notification Type from the top-most flag, Submit to Workflow, to any available flags below, based on the section. Using this flag the user can copy the Notification type selection to the choice of flags below. The valid options for Appy This Selection to are:

  • All Notification Types: Use this option to replicate the selection to all notifications on the page.

  • Creator Notifications: Use this option to replicate the selection to all Creator notifications.

  • Submitter Notifications: Use this option to replicate the selection to all Submitter notifications.

  • Approver Notifications: Use this option to replicate the selection to all Approver notifications.

Note: The above actions will only apply to the enabled/active Notifications. This means that, those flags that are unchecked/disabled, will not reflect any Notification Type on performing the above action.

Creator Notification Fields

Field Name

Field Description

Submit to Workflow

Select this check box if you want the creator of transactions to be notified as soon as the transaction goes to Pending. This notification can be particularly useful in scenarios where creator and submitter are different.

Rejection to Draft Phase

Select this checkbox if you want a transaction rejection notification to be sent to the creator when the submitted transaction has been rejected back to the Draft phase.

Final Approval

Select this check box if you want the creator of transactions to be notified as soon as the transaction goes to Final Phase after completing the final approval level.

Additional Notification (At All Levels)    

Select this checkbox if you want the creator of transactions to be notified as soon as the transaction reaches every approval level. This notification can be particularly useful in scenarios where creator and submitter are different.

Recall

Select this checkbox if you want the creator of transactions to be notified as soon as the transaction gets recalled by the submitter. This notification can be particularly useful in scenarios where creator and submitter are different.

Submitter Notification Fields

Field Name

Field Description

Submit to Workflow 

Select this check box if you want the submitter of transactions to be notified as soon as the transaction goes to Pending. This notification can be particularly useful in scenarios where creator and submitter are different.

Resubmission

Select this check box if you want to send a notification to the submitter (will send to both old and new submitters if both are different users) of a transaction when any transaction is resubmitted after previously rejected back to Draft

Rejection to Draft Phase

Select this checkbox if you want a transaction rejection notification to be sent to the submitter when the submitted transaction has been rejected back to the Draft phase.

Final Approval

Select this check box if you want the submitter of transactions to be notified as soon as the transaction goes to Final after completing the final approval level. This notification can be particularly useful in scenarios where creator and submitter are different.

Additional Notification (At All Levels)

Select this checkbox if you want the submitter of the transactions to be notified as soon as the transaction reaches every approval level. This notification can be particularly useful in scenarios where creator and submitter are different.

Batch Submitter

Select this check box if you want the submitter of transactions using the batch jobs to be notified as soon as an approval level assignment occurs (provided Additional Notification on Approval Level is set up to send emails to Submitter).

Recall

Select this checkbox if you want the submitter of transactions to be notified as soon as the transaction gets recalled by the submitter. This notification can be particularly useful in scenarios where creator and submitter are different.

Approver Notification Fields

Field Name

Field Description

Submit to Workflow (At All Levels)

Select this checkbox to automatically notify all approvers when a transaction goes to Pending. This helps ensure approvers are promptly aware that a new transaction is going to enter their worklist and may require their attention.

Resubmission

Select this check box if you want to send a notification to the previous (downstream) approvers of a transaction when any transaction is resubmitted that was previously rejected back to Draft phase. This action also updates the approval sheet to include the new notifications.

All Assignees (At All Levels)   

Select this checkbox to automatically enable the “Email Assignee/Role” flag across all approval levels. This flag provides a global control mechanism for workflow notifications to approvers, allowing sites to activate notifications for all approval levels with a single click.

Reassignment

Select this checkbox to send notifications to the original approver and the reassigned approver whenever a transaction is reassigned from one user to another.

  • Original Approver- Select this checkbox to send notifications to the Original Approver.

  • Reassigned Approver-Select this checkbox to send notifications to the Reassigned Approver.

Recall

Select this checkbox to send notifications for all approvers of a transaction when it is recalled by the submitter.

Manual Route

Select this checkbox to send notifications to the original approver and the manual routed approver whenever a transaction is manually routed from one user to another.

  • Original Approver-Select this checkbox to send notifications to the Original Approver.

  • Manual Routed Approver- Select this checkbox to send notifications to the Manual Routed Approver.

Unapprove/Reject

Select this checkbox to send notifications to the previous level approver when a transaction is rejected or unapproved at a subsequent approval level. This flag provides a global control for rejection and unapproval notifications, independent of the Email Assignee/Role flag settings at individual approval levels.

Related PagesRelated Pages