For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
We have specific business requirement to have different levels of approvals, to accomodate that requirement, we need to create a new stage and add the purchase order buyer to that stage as the approver.
To add creator as the approver, we need to use Expression builder, can anyone advise how to include task creator as the approver by using Expression Builder
Please provide business use case that's leading to this requirement.
Hi Suman,
We have a requirement to include same approver twice in the process in Serial (one for Reassigning to someone and another is actual approval)., so our thinking is to create a new stage.
Please advise us.
Thanks,
Sabarish.
Hi,
If you are planning to use BPM worklist for PO approvals for your requirement, then following values would help you to acheive it.
Case 1 : Buyer is the Approver
Use,
List Builder : Resource, Response Type : Required
User : PurchasingDocumentHeader.buyerUserName
Case 2 : Task Creator as Approver
Use,
List Builder : Resource, Response Type : Required
User : Task.creator
Above Approver setups would work based on the conditions you use.
Hope it helps,
Regards,
Harshith E S
Hi E S,
Thanks for the steps. I tried case 2, but not successful. If possible can you please help me how to include Task.Creater in the Expression Builder.
Thanks,
Sabarish.
Would you be able to try:
1) Add Approver - Supervisory
2) Set starting participant to: HierarchyBuilder.getPrincipal(task.creator,-1,"","")
3) Set top participant to: HierarchyBuilder.getPrincipal(task.creator,-1,"","")
4) Number of levels to: 1
Thank you,
Kim
Hi Kim,
When I do the solution you provided I am getting a Validation Error.
Please check the Image
Would you be able to explain the use case for adding a task creator as an approver in a little more detail?
Attached is an image of the instructions for sending to the task.creator for approval.
Do you have remaining open questions?
Hi Kim,
we found a work around on how to add same approver to the same stage. So this satisfies our requirement.
Has anyone found a white paper/document that outlines how to use the BPM worklist... like detailed instructions? I only have a document for how to use advanced mode: a worked example, but I was looking for something more general.
Would you be able to try:
1) Add Approver - Supervisory
2) Set starting participant to: HierarchyBuilder.getPrincipal(task.creator,-1,"","")
3) Set top participant to: HierarchyBuilder.getPrincipal(task.creator,-1,"","")
4) Number of levels to: 1
Thank you,
Kim