[BPM] Oracle Fusion Cloud Workflow Customization

Oracle Fusion application technology stack has an inbuilt approval management system and itโ€™s built on top of the BPM ( Business process management) Engine. With this tool oracle fusion, cloud workflows can be configured as per the business needs. Note that this is only with respect to approvals and no process changes can be done.

BPM Approval Management

There are various reasons we may need to modify approvals of a process like

  • AP Invoice Approval
  • Journal Approvals
  • Supplier Profile changes

and may want the notification actions to be executed by different users/approvers.

We will see in this article how approval works in Oracle Fusion SaaS and how do we modify a BPM approval Task.

Approval Tasks

Approval tasks are the BPM tasks that can be configured. These tasks can be accessed from the functional setup manager.

When you login to Fusion Functional setup manager and search for %Manage%Approvals%

oracle-fusion-cloud-workflow

When you click on task eg( Journal Approval) related to approval management they redirect to the BPM interface which looks like below

image 38 oracle fusion cloud workflow 1

This is the interface where the BPM task can be modified for custom approvals

AP invoice Approval Configuration in fusion

We will take the example of AP invoice Approval.

Login with Administrator super user

Click on Task Configuration

bpm-task-list
  • Select Task FinApInvoiceApproval
  • Click Edit (Purple Arrow)
  • click Assignees
  • Click Go to Rule ( Red Arrow)
bpm-task

Identify Active , Inactive Rules

active-bpm-rules
Active / Inactive Rules ( greyed boxes are disabled)
image 2 oracle fusion cloud workflow 2
Use Ignore participant checkbox to enable disable the Participant ( Each box represents one/group participant)

E.g Customizing Oracle Fusion Cloud Workflow for AP Invoice

In our requirement, we need to modify the AP invoice Approval so that if the Invoice Header (Amount>1000) has the Requestor Name the Approval should go to the name entered in the requestor field. else it should go to the personโ€™s manager who is creating the invoice ( the default functionality).

bpm-rules

So we create a rule name IDCMgrApprovalRule by hitting the Green + icon

and add our conditions in the IF and Then blocks. The Then block assigns the approvers for the workfow.

bpm-rules-configuration
participant-configuration
commit-bpm-rules

Test approval in Fusion Applications

To test if our customization is successful or not we need to create and invoice and send for approval.

Create invoice

Invoice Actions> Validate

Invoice Actions> Approval>Initiate

The Approval history without putting the requestor name

image 45 oracle fusion cloud workflow 3

And once you put the Requestor name and check approval history you will see the new approves added to the workflow notification.

fusion-invoice-approval
approval-history

Tips And challenges

We face issues when we need to assign a value. For example how do I get the Requestor name in the assignment field.

assign-participant
bpm-task-payload

Task and Invoice header are like Cursors to the Record Set and these will hold the value of data entered in the invoice screen.

Expand the invoice header , since Requestor is entered at header level. And find the requestor name field.

click insert to Expression. The value gets assigned to the workflow approval field.

image 50 oracle fusion cloud workflow 4

Sql Query to check where the approval has gone .

SELECT APPROVAL_HISTORY_ID,CREATION_DATE,INVOICE_ID, LINE_NUMBER, AMOUNT_APPROVED, APPROVER_ID, HISTORY_TYPE, RESPONSE FROM AP_INV_APRVL_HIST_ALL WHERE INVOICE_ID IN(SELECT INVOICE_ID FROM AP_INVOICES_ALLWHERE INVOICE_NUM = โ€˜UPS101โ€™) ORDER BY CREATION_DATE desc

How to check which workflow task is triggered

Go To tools > Transaction Console>

navigator-transaction-console
image 52 oracle fusion cloud workflow 5

image 53 oracle fusion cloud workflow 6

Actions> Download will download a local CSV file. This file has the task name which triggered.

image 54 oracle fusion cloud workflow 7

Thanks for reading this article.

For more information of Approvals refer oracle documentation here

AP Invoice Approval MOS Note Doc ID 2641736.1

More fusion apps tech articles

wpsadmin
We will be happy to hear your thoughts

Leave a reply

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
100% Free SEO Tools - Tool Kits PRO
Cloud Technologies Blog
Logo
Compare items
  • Total (0)
Compare
0
Shopping cart