PP101 – How to Approve Work Items in D365FSCM Seamlessly Using Microsoft Teams

image-42-1024x262 PP101 - How to Approve Work Items in D365FSCM Seamlessly Using Microsoft Teams

Introduction

In today’s fast-paced business environment, efficiency is key. One area where we can significantly improve efficiency is in the approval process of work items within D365FO. By integrating Power Automate with Microsoft Teams, users can handle approvals directly from Teams, eliminating the need to constantly switch between applications.

Prerequisites:

  1. Make sure you have power app premium license allocated to your account.
  2. Make sure you have system administrator or system customiser role to Power platform environment
  3. Following two virtual entities are configured to use in your dataverse environement
  4. WorkflowWorkItemEntity
  5. SystemUserEntity
  6. You have solution created to hold workflow

Step-by-Step Guide:

Step 1: Trigger the Flow on Row Addition or Modification

  1. Create a new flow:
    • Open Power Automate.
    • Click on Create and select Automated flow.
  2. Set the trigger:
    • Search for the Dataverse trigger When a row is added, modified or deleted.
    • Select this trigger and click Create.
  3. Configure the trigger:
    • Change type: Select Added or Modified.
    • Table name: Select Work items (mserp).
    • Scope: Select Organisation.

Step 2: List Rows from User Information

  1. Add a new step:
    • Click on + New step.
  2. Select the action:
    • Search for Dataverse List rows action.
  3. Configure the action:
    • Table name: Select User information (mserp).

Step 3: Parse JSON Data

  1. Add another step:
    • Click on + New step.
  2. Select the action:
    • Search for Parse JSON and select it.
  3. Configure the action:
    • Content: In the Content field, select value from the dynamic content.
    • Schema:
      • Copy and paste schema

Step 4: Parse JSON Data – 2

  1. Add another step:
  1. Click on + New step.
  2. Select the action:
    • Search for Parse JSON and select it.
  3. Configure the action:
    • Content: In the Content field, select Body from the dynamic content.
    • Schema:
      • Copy and paste schema

Step 5: Compose Email address

  1. Add another step:
  1. Click on + New step.
  2. Select the action:
    • Search for Compose and select it.
  3. Configure the action:
    • Inputs: In the Inputs field, add Expression from the dynamic content.
body('Parse_JSON')[0]?['mserp_alias']

Step 6: Start and Wait for Approval

  1. Add Another step: Click on +New Step
  2. Select the action: Search for Start and wait for approval and select it.
  3. Configure the action:
    • Approval Type : Select Approv/Reject – First to Respond
    • Title: Give title such as D365FO workitem Approval xxxx
    • Assigned To: Outputs from Compose action
    • Item Link: your environement link followed by &mi=WorkflowWorkListAssignedToMe

Final Workflow

image-375x1024 PP101 - How to Approve Work Items in D365FSCM Seamlessly Using Microsoft Teams

Conclusion

By following these steps, you can create a seamless approval process within Teams, making it easier and faster for users to manage approvals without leaving their collaboration environment.

Expand Your Knowledge: See More Power Platform Blogs

Share this content:

I am Yogeshkumar Patel, a Microsoft Certified Solution Architect and ERP Systems Manager with expertise in Dynamics 365 Finance & Supply Chain, Power Platform, AI, and Azure solutions. With over six years of experience, I have successfully led enterprise-level ERP implementations, AI-driven automation projects, and cloud migrations to optimise business operations. Holding a Master’s degree from the University of Bedfordshire, I specialise in integrating AI with business processes, streamlining supply chains, and enhancing decision-making with Power BI and automation workflows. Passionate about knowledge sharing and innovation, I created AI-Powered365 to provide practical insights and solutions for businesses and professionals navigating digital transformation. 📩 Let’s Connect: LinkedIn | Email 🚀

Post Comment

Table of Content