
| Step | Action | Details |
|---|---|---|
| 1. Set Up Excel File | Create an Excel file in OneDrive. | - Add a table with the following columns: Ticket ID, Time Assigned, Ticket Name, Description, Assigned To.- Save the file, e.g., OfficeTickets.xlsx in your desired OneDrive folder. |
| 2. Create a Flow | Open Power Automate and create a new flow. | - Go to Power Automate > Create > Automated Cloud Flow. |
| 3. Trigger Setup | Use Dataverse trigger: "When a row is added, modified, or deleted." | - Table name: Select your ticket table (e.g., Ticket).- Scope: Set to Organization or as per your requirement.- Configure the trigger to fire on updates. |
| 4. Add a Condition | Add a condition to check the ticket's queue and ownership. | - Condition: 1. Queue Name equals "Office".2. Owner/Assignee equals @{triggerOutputs()?['body/_ownerid_value']} (your user ID). |
| 5. Add Action: Excel | Use the action Add a row into a table from the Excel Online (Business) connector. | - File: OfficeTickets.xlsx (path in OneDrive).- Table: Select the table in the Excel file. - Map fields dynamically: - Ticket ID: @{triggerOutputs()?['body/ticketid']}- Time Assigned: @{utcNow()}. |
| - Additional fields: - Ticket Name: @{triggerOutputs()?['body/ticketname']}- Description: @{triggerOutputs()?['body/description']}- Assigned To: @{triggerOutputs()?['body/_ownerid_value']}. |