SlideShare a Scribd company logo
1 of 4
[UISU-3260] Approval Flow
Requirements:
1) Fields to be added to Cart:
1) Approval before Omprompt - checkbox
2) Approvers - Text
2) Fields to be added to Order:
1) Approval before Omprompt - checkbox
2) Approvers – Text
3) Add a new status picklist value called "Awaiting Approval" in Order.
4) Email Template to be created that is sent to the approver.
Rationale to create new fields:
Order and Cart Object:
1) Approval before Omprompt – This field is used to ensure whether the current order
goes through the approval process or not.
2) Approvers – This field is used to store the ids of the buyers (aka contacts under
account)
Steps Approval Assignment/Email Notification
1) Create an LWC component for the approval process to be placed in the checkout
summary subflow. The LWC component will display the contact names under the
account as a picklist for the list of approvers.
2) The LWC component will first ask the user if the approval process is required? If yes,
update the "Approval before Omprompt" checkbox field in cart to true.
3) Fetch the account Id from the cart Id and show the list of contact names (approvers)
in the picklist.
4) On click of the approver, an apex class updates the field "Approvers" to the approver
Id in cart which will be the user id of the contact. When the approver is changed, the
apex class is called again which overrides the "Approvers" field in cart.
5) When the "Place Order" button is clicked, the fields "Approval before Omprompt"
and "Approvers" is copied from cart to order fields “Approval before Omprompt”
and “Approvers” respectively.
6) Create the approval process on the Order object with entry criteria and the approval
step to be submitted manually.
7) Create an approval process on the order object with entry criteria
8) Assign the email notification template to the approval flow
9) On the initial submission action of the approval process, the status of the order is
changed to "Awaiting Approval" and an email alert is sent to the approver.
10) On the approval step, assign the approver to submit it manually.
11) In the subflow "Payment And Billing Address", the approval process action is called
after the apex action which then triggers the approval process (OOTB) on the order
object. Record Id, Approver Id and Submitter Id are passed to the approval process.
12) After the apex action copies the field values from cart to order, using the get records
element, fetch the approvers fields from order and pass it to the approval action.
13) On the approval action in flow, pass the order id and the user id of the contact to the
assigned approvers.
14) When the approval action is triggered in the flow, the approval process is triggered,
and the approver is notified via email.
15) Once the approver approves the order, the “Approved” checkbox in the order object
is marked true.
Questions:
1) Is contacts under the accounts the list of approvers? or is there another list of
approvers that will be assigned to the contact?
2) Will there be multiple approvers?
3) What is the content of the email that is to be sent to the approver and how will they
approve?
4) How will approver approve the order?
5) Will there be a notification alert inside the system?
User story on how order will be approved:
1. Approver logs in to the system
2. Notification alert will be displayed in this section
3. A new tab is added “Items for Approval”
4. When “Items for Approval” tab is clicked, the approval page will then display the list
of orders for approval. This will be the table
Action PO Number Order Date
VIEW ORDER WEBSF-VH-011221-0824-105 01-12-2021
VIEW ORDER WEBSF-VH-011221-0824-106 01-12-2021
5. When View Order is clicked, the approver is redirected to the Order Details Page
6. There will be an Approve and Reject button
7. When Approved, an email will be sent to the Omprompt
8. Order status will be changed to Approved
9. When Rejected, no email will be sent.
Process Flow:
Note: No order is sent to
Omprompt before approval
using this class
dPOC.docx

More Related Content

Similar to dPOC.docx

Replacement modules
Replacement modulesReplacement modules
Replacement modulesPaytm
 
Replacement modules
Replacement modulesReplacement modules
Replacement modulespaytmslides2
 
Replacement modules
Replacement modulesReplacement modules
Replacement modulesPaytm
 
Tracking of returns
Tracking of returnsTracking of returns
Tracking of returnsPaytm
 
Ordertocashcycle 111011122119-phpapp01
Ordertocashcycle 111011122119-phpapp01Ordertocashcycle 111011122119-phpapp01
Ordertocashcycle 111011122119-phpapp01ssantosh1234
 
JATIN RELAN (11BEC0532) TRAINING PPT
JATIN RELAN (11BEC0532) TRAINING PPTJATIN RELAN (11BEC0532) TRAINING PPT
JATIN RELAN (11BEC0532) TRAINING PPTJATIN RELAN
 
Openbravo - Payment Out Approval
Openbravo - Payment Out ApprovalOpenbravo - Payment Out Approval
Openbravo - Payment Out Approvalthirumalaik
 
ICT Job Requisition Site
ICT   Job Requisition SiteICT   Job Requisition Site
ICT Job Requisition SiteKel' Laquian
 
Approving requisitions 2013 02-27
Approving requisitions 2013 02-27Approving requisitions 2013 02-27
Approving requisitions 2013 02-27Surya Baldwa
 
Managing payments
Managing paymentsManaging payments
Managing paymentsPaytm
 
Payment lifecycle
Payment lifecyclePayment lifecycle
Payment lifecyclePaytm
 
Replacement modules
Replacement modulesReplacement modules
Replacement modulesPaytm
 
P2P Cycle in Oracle Cloud Fusion
P2P Cycle in Oracle Cloud FusionP2P Cycle in Oracle Cloud Fusion
P2P Cycle in Oracle Cloud FusionJade Global
 

Similar to dPOC.docx (20)

Replacement modules
Replacement modulesReplacement modules
Replacement modules
 
Replacement modules
Replacement modulesReplacement modules
Replacement modules
 
Replacement modules
Replacement modulesReplacement modules
Replacement modules
 
Advanced collections process
Advanced collections processAdvanced collections process
Advanced collections process
 
Tracking of returns
Tracking of returnsTracking of returns
Tracking of returns
 
Order inventorysolution
Order inventorysolutionOrder inventorysolution
Order inventorysolution
 
Ordertocashcycle 111011122119-phpapp01
Ordertocashcycle 111011122119-phpapp01Ordertocashcycle 111011122119-phpapp01
Ordertocashcycle 111011122119-phpapp01
 
p2p (2).pptx
p2p (2).pptxp2p (2).pptx
p2p (2).pptx
 
JATIN RELAN (11BEC0532) TRAINING PPT
JATIN RELAN (11BEC0532) TRAINING PPTJATIN RELAN (11BEC0532) TRAINING PPT
JATIN RELAN (11BEC0532) TRAINING PPT
 
Newgen Accounts Payable Solution on Cloud
Newgen Accounts Payable Solution on CloudNewgen Accounts Payable Solution on Cloud
Newgen Accounts Payable Solution on Cloud
 
Openbravo - Payment Out Approval
Openbravo - Payment Out ApprovalOpenbravo - Payment Out Approval
Openbravo - Payment Out Approval
 
ICT Job Requisition Site
ICT   Job Requisition SiteICT   Job Requisition Site
ICT Job Requisition Site
 
Approving requisitions 2013 02-27
Approving requisitions 2013 02-27Approving requisitions 2013 02-27
Approving requisitions 2013 02-27
 
Managing payments
Managing paymentsManaging payments
Managing payments
 
Payment lifecycle
Payment lifecyclePayment lifecycle
Payment lifecycle
 
Test case, test sets and test scripts
Test case, test sets and test scriptsTest case, test sets and test scripts
Test case, test sets and test scripts
 
Interactive Customer Communication Management (CCM)
Interactive Customer Communication Management (CCM)Interactive Customer Communication Management (CCM)
Interactive Customer Communication Management (CCM)
 
Replacement modules
Replacement modulesReplacement modules
Replacement modules
 
Order to cash cycle
Order to cash cycleOrder to cash cycle
Order to cash cycle
 
P2P Cycle in Oracle Cloud Fusion
P2P Cycle in Oracle Cloud FusionP2P Cycle in Oracle Cloud Fusion
P2P Cycle in Oracle Cloud Fusion
 

Recently uploaded

Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxFurkanTasci3
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhijennyeacort
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Cantervoginip
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAbdelrhman abooda
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...ThinkInnovation
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 

Recently uploaded (20)

Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptx
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Canter
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 

dPOC.docx

  • 1. [UISU-3260] Approval Flow Requirements: 1) Fields to be added to Cart: 1) Approval before Omprompt - checkbox 2) Approvers - Text 2) Fields to be added to Order: 1) Approval before Omprompt - checkbox 2) Approvers – Text 3) Add a new status picklist value called "Awaiting Approval" in Order. 4) Email Template to be created that is sent to the approver. Rationale to create new fields: Order and Cart Object: 1) Approval before Omprompt – This field is used to ensure whether the current order goes through the approval process or not. 2) Approvers – This field is used to store the ids of the buyers (aka contacts under account) Steps Approval Assignment/Email Notification 1) Create an LWC component for the approval process to be placed in the checkout summary subflow. The LWC component will display the contact names under the account as a picklist for the list of approvers. 2) The LWC component will first ask the user if the approval process is required? If yes, update the "Approval before Omprompt" checkbox field in cart to true. 3) Fetch the account Id from the cart Id and show the list of contact names (approvers) in the picklist. 4) On click of the approver, an apex class updates the field "Approvers" to the approver Id in cart which will be the user id of the contact. When the approver is changed, the apex class is called again which overrides the "Approvers" field in cart. 5) When the "Place Order" button is clicked, the fields "Approval before Omprompt" and "Approvers" is copied from cart to order fields “Approval before Omprompt” and “Approvers” respectively. 6) Create the approval process on the Order object with entry criteria and the approval step to be submitted manually. 7) Create an approval process on the order object with entry criteria 8) Assign the email notification template to the approval flow 9) On the initial submission action of the approval process, the status of the order is changed to "Awaiting Approval" and an email alert is sent to the approver. 10) On the approval step, assign the approver to submit it manually. 11) In the subflow "Payment And Billing Address", the approval process action is called after the apex action which then triggers the approval process (OOTB) on the order object. Record Id, Approver Id and Submitter Id are passed to the approval process. 12) After the apex action copies the field values from cart to order, using the get records element, fetch the approvers fields from order and pass it to the approval action.
  • 2. 13) On the approval action in flow, pass the order id and the user id of the contact to the assigned approvers. 14) When the approval action is triggered in the flow, the approval process is triggered, and the approver is notified via email. 15) Once the approver approves the order, the “Approved” checkbox in the order object is marked true. Questions: 1) Is contacts under the accounts the list of approvers? or is there another list of approvers that will be assigned to the contact? 2) Will there be multiple approvers? 3) What is the content of the email that is to be sent to the approver and how will they approve? 4) How will approver approve the order? 5) Will there be a notification alert inside the system? User story on how order will be approved: 1. Approver logs in to the system 2. Notification alert will be displayed in this section 3. A new tab is added “Items for Approval” 4. When “Items for Approval” tab is clicked, the approval page will then display the list of orders for approval. This will be the table Action PO Number Order Date VIEW ORDER WEBSF-VH-011221-0824-105 01-12-2021 VIEW ORDER WEBSF-VH-011221-0824-106 01-12-2021 5. When View Order is clicked, the approver is redirected to the Order Details Page 6. There will be an Approve and Reject button 7. When Approved, an email will be sent to the Omprompt 8. Order status will be changed to Approved 9. When Rejected, no email will be sent. Process Flow:
  • 3. Note: No order is sent to Omprompt before approval using this class