Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Workflow (Rejected by one of the approver)

Posted on by 11
I need to setup the approval workflow as if one of the approver rejected the request for approval, the posting for all the approver is ''Reject'' at the Approval Entries.
 
Setup:
1. Workflow User Group
The sequence is in flat. All in 1 for all included at the Workflow User Group.
2. Payment Journal Workflow.
At the Workflow, the approver is Workflow Approver. 
 
Scenario
Straight Rejection
Requester sends approval request
One of the approvers reject
 
Problem: Upon the rejection of one of the approver, the Approval Status is still ''Pending Approval''.
 
 
At the Approval Entries, only the one that approved posted Reject at the Status.
 
What I need to setup is, after one the approver rejected the Request for Approval, the Approval Status at the Payment Journal should be ''Rejected''. and at the Approval Entries, all the posting for the Status is ''Rejected''.
 
I cannot send another Request to Approve until all the Approver Reject on their end. 
Categories:
  • Suggested answer
    Tarik Jerkovic Profile Picture
    Tarik Jerkovic 78 on at
    Workflow (Rejected by one of the approver)
    Hi Ivan,
     
    You are welcome.
     
    As I saw on last your print screen your setup isn't correct for cancel. Please look my and setup like this for cancel action. 
     
  • Ivan Jay Profile Picture
    Ivan Jay 11 on at
    Workflow (Rejected by one of the approver)
    Hi @Kamal Khakhkhar. Thank you. It worked on my end. I rearranged some of the events and then response. It worked on me. I have a problem, now. I cannot cancel the Approval Request. Also, an error shown: 
    This is the setup for the Approval request batch is cancelled: 
    Thank you.
  • Suggested answer
    Kamalkhakhkhar8 Profile Picture
    Kamalkhakhkhar8 13 on at
    Workflow (Rejected by one of the approver)
    Hii There,
    as per requirement there is no code is written to update the same sequence in workflow user group, you need to update through event to modify all records on same sequence. we did that in v22.3 ! working properly.
     
    in short update/Modify the sequence through event.
     
    thank you.
    Kamal Khakhkhar 
  • Ivan Jay Profile Picture
    Ivan Jay 11 on at
    Workflow (Rejected by one of the approver)
    Thank you Sir @Tarik Jerkovic, up until now, you manage to show me the setup for workflow. I imitated the setup that you shared. Now, if I one of the approver rejected, all of the posting at the approval entries has posting of rejected, and if an one of the approver approved the request, the posting at the Approval Entries is approved.
    This is my posting.
     
    But there's something that's blocking the, if I cancel the Approval at the Payment Journal. I think, I need to resolve this by creating a new workflow, with the previous setup that you recommend.
  • Tarik Jerkovic Profile Picture
    Tarik Jerkovic 78 on at
    Workflow (Rejected by one of the approver)
    Hi Ivan,
     
    This is my setup, when i tested your situation:
    1. All
     
    2.Rejected
     
    3. Canceled
     
    I hope so this will help.
     
     
  • Ivan Jay Profile Picture
    Ivan Jay 11 on at
    Workflow (Rejected by one of the approver)
    Hi Sir, I tried to check the Workflow Event Hierarchies. Upon checking, I have a setup like yours. The posting at the approval entries is still Open for 2 of the approvers and only one is only reject. I still cannot send another request after rejection, until all the approvers reject the request from their personal BC Account. 
    I have here the setup for a journal batch is rejected: 
    The setup of my workflow is for Payment Journal. 
  • Suggested answer
    Tarik Jerkovic Profile Picture
    Tarik Jerkovic 78 on at
    Workflow (Rejected by one of the approver)
    Hi Ivan,
     
    I tested your situation and managed setup like you described, and working perfect.
     
    First solution: Workflow User Group same seq.
     
     
    Secound solution: Workflow User Group different seq.
     
     
     
     
    Please look at Worflow Event Hierarchies:
     
    Row Approval of a general journal batch is requested.    Check if column is enabled for reject and cancel
     
     
     
    I hope so this help if not please paste all setup regarding workflow.
     
    BR
    Tarik Jerković
  • Ivan Jay Profile Picture
    Ivan Jay 11 on at
    Workflow (Rejected by one of the approver)
    Hi Sir, I tried the setup for the Workflow. It did not work; it might be because I am doing a workflow for Journal. This might be used only for documents. The company needs the sequence to be flat. Do you have links to establish that there are no out of the box process of this at the Business Central?
  • Suggested answer
    Tarik Jerkovic Profile Picture
    Tarik Jerkovic 78 on at
    Workflow (Rejected by one of the approver)
    Hi Ivan,
     
    Did you set the 'Then Response' to 'Reopen the document' after rejection, and is it your intention to reopen the document after a rejection? If you want a chain of people in the approval process, you need to forward the approvals in sequence order, ensuring that each step has a different sequence number rather than assigning the same sequence number to all steps.
     
    I hope so this is help to your needed or you need different setup?
     
  • Ivan Jay Profile Picture
    Ivan Jay 11 on at
    Workflow (Rejected by one of the approver)
    HI Sir. In your previous implementation, does this scenario familiar with what you creatated with customization. So, there are no out of the box at the current version of our Business Central?  Our current version is Version: W1 25.0.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans