Scenario-Based Contract Approval Rule Setups
Here are steps you can use to set up specific approval scenarios, including:
- 
            Automatic contract approval 
- 
            Contract approval based on the immediate manager's authorization 
- 
            Contract approval based on term deviation 
- 
            Contract approval by an internal contact: 
For any field that can potentially have a null value, ensure you have specified a null condition in the approval rule.
- 
            Sign in as a setup user. 
- 
            Navigate to the Setup and Maintenance work area. 
- 
            Search and select the Manage Task Configurations for Customer Relationship Management task. The BPM Worklist page appears. 
- 
            In the Tasks to be configured region, select ContractsApproval. 
- 
            Click the Edit task icon. 
- 
            Click the Assignees tab and click the Go to rule icon to create a new rule. 
- 
            Click the Add Rule icon to add one of these rules such that: - 
                  Contracts are approved automatically: - 
                        In the If section, select the condition as 1 is 1. 
- 
                        In the Then section, select: - 
                              List Builder: Supervisory 
- 
                              Response Type: Required 
- 
                              Number of levels: 1 
- 
                              Starting Participant: HierarchyBuilder.getPrincipal(Task.payload.submitter,-1,"","")
- 
                              Top Participant: HierarchyBuilder.getPrincipal(Task.payload.submitter,-1,"","")
- 
                              Auto Action Enabled: True 
- 
                              Auto Action: "APPROVE" 
 
- 
                              
- 
                        Ensure that other rules are inactive. 
 
- 
                        
 - 
                  Contracts are approved after the manager's authorization: - 
                        In the If section, select the condition as 1 is 1. 
- 
                        In the Then section, select: - 
                              List Builder: Supervisory 
- 
                              Response Type: Required 
- 
                              Number of levels: 1 
- 
                              Starting Participant: HierarchyBuilder.getManager_1("supervisory",Task.payload.submitter,-1,"","")
- 
                              Top Participant: HierarchyBuilder.getPrincipal(Task.payload.submitter,-1,"","")
- 
                              Auto Action Enabled: False 
- 
                              Auto Action: "APPROVE" 
 
- 
                              
- 
                        Ensure that other rules are inactive. 
 
- 
                        
 - 
                  Contracts are approved based on term deviation: - 
                        In the If section, select the condition as TermsDeviations.articleTitle.toUpperCase() is "Key word".
- 
                        In the Then section, define rules as per your requirements. 
 
- 
                        
 - 
                  Contracts are approved by an internal contact: - 
                        In the If section, select the condition as InternalContacts.croCode is "CONTRACT_ADMIN".Note:Replace the "CONTRACT_ADMIN" with the internal contact role. 
- 
                        In the Then section, select: - 
                              List Builder: Resource 
- 
                              Response Type: Required 
- 
                              Users: InternalContacts.username
- 
                              Participants: Groups: null 
- 
                              Application Role = null 
 
- 
                              
 
- 
                        
 
- 
                  
- 
            Click Save and Close.