web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Workflow configuration to ensure tasks are performed appropriately.

(3) ShareShare
ReportReport
Posted on by 362
Dear Experts,
 
I have a requirement from client that, when creating PR, user must be able to input reference price for the budget checking purpose. Since we are using "item" for service, user can not input the price at "Draft" status. I work around by assigning user as workflow's first level. The only one purpose is to ensure before coming to approvers, PR lines must have price.
 
I try to set up the workflow like this. But there is error as shown below. Are there any advices?
 
 
By the way, for "Employee" role with standard duty, can they complete a task in workflow?
 
Regards,
I have the same question (0)
  • Suggested answer
    CA Vijay Krishna Profile Picture
    178 on at
    D365F&O | Workflow configuration to ensure tasks are performed approriately.
    Hi
    You must remove the loop-back connection and redesign your logic so that all decisions move forward.
    Here are two alternative approaches:
    Option 1: Split the conditions logically
    Instead of looping, create sequential conditions:
    Start
      ↓
    Check if Reference Price is Entered?
      → No → Reject / Return to Requestor
      → Yes → Review Purchase Request
           ↓
       Final Approval → End
     
    This way, the workflow validates the price before approval without looping back.
    Option 2: Use a “Manual Task” instead of looping
    Create a manual step for the requester to verify or enter a missing price:
    Start
      ↓
    Task: Requestor verifies price entry
      ↓
    Condition: Is Reference Price Available?
      → No → End (Reject)
      → Yes → Review Purchase Request → End
    This avoids a backward pointer while still enforcing price verification.
    About Your Role Question
     Yes
    The workflow assignment policy explicitly assigns the task to that user or role
    The user has the “Maintain purchase requisitions” privilege (duty PurchReqMaintain).
    If the user only has “view” or “create” rights, they cannot change.
  • PT-01100339-0 Profile Picture
    362 on at
    Workflow configuration to ensure tasks are performed appropriately.
    Hi,
     
    I understand, but what if they complete the task without input the price? That's why I try to make a loop.
  • Suggested answer
    CA Neeraj Kumar Profile Picture
    4,906 on at
    Workflow configuration to ensure tasks are performed appropriately.
    Hi,
     
    If my understanding is correct, my solution would be ; 
     
             
        Start    
             
        Review Node    
             
      Automatic Actions: If price <> 0, then Complete    
             
      Assignment Workflow Originator    
             
             
             
        Approval Node    
      Automatic Action: If price = 0, reject the workflow    
        It will go back to the workflow originator    
             
      Step 1: Run this step - condition if Price <> 0    
        Here you can define as much level of approval as you want.    
             
             
             
        End    
             
     
    Alternate approach that i have implemented at our client for similar requirement:
    Since client didn't want the user to enter the unit price on the purchase requisition line, they setup the purchase price on the item master level, and to ensure that unit price are filled in, we setup the purchasing policies "Purchase requisition control rule" where we made the unit price as "required" [it can also be made mandatory conditionally]. in case you want more details about this, you can let us know.
     
    Regards,
    Neeraj Kumar
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 304

#2
Siv Sagar Profile Picture

Siv Sagar 202 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 173 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans