Professional Documents
Culture Documents
3. Best Practices and Tips for migrating the rules from one instance to another
III. Q&A
Before creating any rules in the application there are three most important points
that should be taken into consideration in order to have a successful approval flow:
BusinessNeeds
Maintenance of Rules and the Impact of Changes
Performance issues and errors that can arise if rules are not configured properly
Approval
Group Resource
Best Practice: Every employee should have assigned in Manage Users (Navigator->Setup and Maintenance->Manage Users) the
manager in order for the process to be able to find the hierarchy and avoid errors.
Duplicates usernames are available in the application and approval flow is not able to
“The supervisor or Job level does not exist. identify which user hierarchy to use.
(FUN-720337)
Cause The list builder used in the configuration
Approval State: Error
of approval rule is not coherent with the HCM
Supervisory or Job level hierarchy. Approval Status: Required
Action Correct the list builder definition in
approval rules or HCM employee supervisory Tip: Following query can be used to see if there are multiple users having the same
hierarchy or Job level hierarchy.” username:
SELECT USERNAME , COUNT(USERNAME ) FROM fusion.per_users GROUP BY
USERNAME HAVING COUNT(USERNAME )>1;
Duplicate user can be removed using SCIM REST API : Fusion Security: Using SCIM
REST API (Doc ID 2346455.1)
Starting Participant is set to Task.Workflow Submitter and Auto Post process is run
automatically by a dummy user which is not employee so it is not defined in Manage Users
or it is set to Journal Batch.Created By but the user does not have any Manager assigned in
Manage Users so the approval will error :
“Check the underlying fault. Check target SOA
Approval State: Error component for cause.
Approval Status: Required (transaction will be withdrawn by sistem) oracle.fabric.common.FabricBusinessFaultExce
ption
Action: Assign the employee manager in Manage Users, for AutoPost/Initiate Workflow for oracle.j2ee.ws.client.jaxws.JRFSOAPFaultExce
ption: Client received SOAP Fault from server :
Invoices scenario change the Starting Participant to look for Creator/Requester/Owner of the
JBO-56012: SQLException from preparing or
transaction and not submitter. executing sql statement with original Jbo error
code JBO-27122. Please contact service
Note: From R13.19C there is a new feature available in Auto Post screen that will show provider on details.”
the Auto Post process submitted by the person that created the journal if the check is flagged.
When transactions are routed to an Inactive user “Error in workflow service Web “Error on escalating the task on expiration. The task has expired
those will not go in error state but: service operation invocation. and the system could not compute the management chain for
Verify that the SOAP connection user xyzw up to levels 2 up to title Manager to identify the next
Approval State :Assigned information for the server is user to escalate the task to. Make sure the escalation policy is
Approval Status : In Process correct.Error occurred while
specified correctly. Also verify that the users are seeded correctly
displaying the tree table.”
->no Approve/Reject action will be possible on the to compute the management chain.”
transaction.
This can happen when Maximum Escalation Levels is set for
Action: Withdraw the transaction, correct the rule example to 2 and Highest Approver Title to Manager, because it
in order not to be routed to an inactive employee will look to escalate the task to 2 levels having title as Manager
and resubmit for approval. and as the manager for user gabriela.patrascuMGR@oracle.com
is gabriela.patrascuDIR@oracle.com with Director title the
approval will go in Alerted state.
Tip: Exact details on why the task went to alerted state can
be see in BPM->Alerted Task->Comments section
Tasks can go in alerted state also when Starting Point for hierarchy is not identified
anymore .
Most common scenario is when the username was changed between the moment when
the journal was created and when the transaction was submitted for approval.
” Error in routing slip. The task is assigned to an invalid user S_C in realm jazn.com. The
routing slip is associated with the task definition
default/FinApInvTransactionsInvoiceApprovalComposite!
18100755_29112091/FinApInvoiceApproval. Verify that the user is specified correctly in
the routing slip in the task definition.”
Best Practice: Do not modify usernames as this can seriously impact the approval flow
and not only.
Tips:
Starting Participant: This will be the 1st participant for approval and
is not affected by any other condition like at-least, at-most, Top
Participant. When using getManager – using supervisory is equivalent
to using joblevel as joblevel references the supervisory hierarchy.
Top participant: If this participant comes in approval flow (and not
skipped), then approval request will not go beyond this participant. It
cannot be overridden by AT LEAST condition.
If the Manager assigned in Manage Users for the Invoice Requester has any
other job level than 6 the approval will go into error as it will look for the
supervisory of the Invoice Requester having Job Level at least 6 with at
most 6 so it will take into consideration only job level 6.
Best Practice:
Do not modify the usernames as the approval flows are not automatically changed
once you change the username and this can cause approval errors.
For role routing use Custom Roles to have an appropriate routing based on business
scenario and assign those to the users that should approve the transaction.
Tips & Tricks: Enable “Skip Creator for Approval List” in Configuration Tab from
the specific task and/or Assign to Creator’s Manager in order to avoid the creator to
be able to approve his own journal if he has the role to which the approval is routed.
The same applies to Approval Group as well.
If Auto-Claim is enabled everyone having the specific role will see the transaction in
“Requiring My Approval” otherwise one of the approvers will need to claim it first in
order to be able to see it in “Requiring My Approval” and available for the creator in
“Pending Approval from Others”.
Assign Managers to employees in Manage Users if you are using Hierarchy routing
Make sure users are active
Do not modify usernames once defined
Use Maximum Escalations Levels OR Highest Approval Title for Escalations
If you change Approval Group names you need to modify them in the rules as well as this is not done automatically
Enable “Skip Creator for Approval List” is you want to avoid creator of the transaction to approve his own transaction if he is part
of the approval flow
TIPs& TRICKs: Workflow rules are not checking the privileges assigned in roles so even if an user has only Employee and
Financial Analyst role which is Read Only (user will not be able to edit the journal in UI) and the approval is routed to him as he is
part of an approval group/supervisory/job level etc he will be able to take action-Approve/Reject the transaction.
->None ->at the moment when it finds the first line that has a PODistributionID null and Lookup is ITEM it will stop, will not
go through all the lines.
->At least one, once it finds the first distribution line matching the condition the iteration stops.
Copyright © 2019 Oracle and/or its affiliates.
Example of rule in Advance Mode using Line Level in Journals
Figure 10. Example of Rule in Advance Mode using Account Combination
YES in Journals
Tip: If you need to verify a specific segment and route for approval
based on it always use Account Combination or Concatenated Segment
as in the example and not the COA structure as this can cause
performance issues and produce timeout errors.
NO
Figure 11. Example of Rule with Upper Case and condition for different languages
If you are using in the approval flow attributes that are not mandatory in the transaction like Invoice Requester before adding the condition is
recommended to add one condition to check if the field is empty or not in order to verify first this condition.
Figure 12. Example of Rule with Requester Name
It is recommended not to change the Vote Outcome for Stages but if you really need to modify it, please test it accordingly to make sure it
satisfy your needs (Example: 2 stages ->1 AutoApprove ->One with approval required ->50% Vote Outcome)
The error below will be seen if Default Outcome for Voting is changed to By Expression instead of Approve/Reject without adding an expression.
3. Check if the rule that should evaluate for the transaction is enabled
Figure 17. Rule details for enablement
4. If all of them are enabled, check if the conditions in the rule are matching
your transaction
5. If the conditions are matching your transaction you can try to remove one
by one and retest or open an SR with Oracle Support to investigate further.
Copyright © 2019 Oracle and/or its affiliates.
3. Best Practices and Tips for migrating the rules from one
instance to another
• Composite instance versions should be the same in both instances
1
c) If a and b are fine go back to Administration tab and add your email address available in
the system on which you should receive the notification to “Test Notification Email Address
“ and if you still don’t receive the notification, add in a different email address to see if you
receive the notification on another address
If while using a different email and not the company one you are receiving the notification
this means there might be some restrictions at your company server level or outlook
conditions and you will need to check with your IT team as from Oracle the notifications are
sent.
! Please remove the Test Notification Email Address once the test is completed.
Go to specific task FinFlJournalApproval/FinApInvoiceApproval/FinExmWorkflowExpenseApproval and in Configuration Tab verify if Task Aggregation is set to None and set
it to Once per Task (in the same task if the participant is returned multiple times then the participant will only receive one worklist task for action or review) or Once per Stage (in the same
task if the participant is returned multiple times within the same stage then the participant will only receive one worklist task per stage for action or review)
1. Prerequisites:
a) Sign in with application consultant job
b) Download BI Desktop and install
Navigator->Schedule Processes-
>Approval Groups Report no
parameters are needed as it will list all
the groups.
The Approval Group Report can be
seen in xlsx or xml.
Navigator->Schedule Processes->Workflow
Rules Report ->in parameters select
Invoices/Journals or Expenses and Submit
Rules can be extracted in xlsx or xml.
You can use this report to see your rules from
period to period and if those were modified.
This report can be scheduled as any other BI
report.
Figure 38. Output of the Workflow Transactions Listing Report for Pending Transactions
Navigator->Schedule Processes->Workflow Transactions
Listing (Lists transactions that are pending or rejected in the
workflow)
Report can be seen in xlsx or xml.
Figure 37. Output of the Workflow Transactions Listing Report for Rejected Transactions
Figure 40. AutoPost Criteria Set with “Use Batch Creator as Approval Submitter”
Figure 43. Notification showing from creator and not from submitter
Figure 41. AutoPost Process run by different user than creator of journal
Navigator->Schedule Processes->Synchronize
Transaction Workflow Status (This process
ensures that the workflow status is updated
correctly in SOA and Oracle Fusion
Applications.)
->2 options: View Transaction Workflow
Status or Synchronize Transaction Workflow
Status.
Figure 44. Output of the Synchronize Transaction Workflow Status for View
1.Run the report for View Transaction Workflow Status to see the stuck transactions
Figure 45. Output of the Synchronize Transaction Workflow Status for Synchronization
2. Run the report for Synchronize Transaction Workflow Status to update the status
in the application or withdraw the transaction
Gabriela Patrascu
The preceding is intended to outline our general product direction. It is intended for information purposes only,
and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or
functionality, and should not be relied upon in making purchasing decisions. The development, release,
timing, and pricing of any features or functionality described for Oracle’s products may change and remains at the
sole discretion of Oracle Corporation.
Statements in this presentation relating to Oracle’s future plans, expectations, beliefs, intentions and prospects are
“forward-looking statements” and are subject to material risks and uncertainties. A detailed discussion of these
factors and other risks that affect our business is contained in Oracle’s Securities and Exchange Commission
(SEC) filings, including our most recent reports on Form 10-K and Form 10-Q under the heading “Risk Factors.”
These filings are available on the SEC’s website or on Oracle’s website at http://www.oracle.com/investor. All
information in this presentation is current as of September 2019 and Oracle undertakes no duty to update any
statement in light of new information or future events.