Table of contents
Open Table of contents
Preparation: Enable In-App Notifications
Go to Power Apps —> Click on the “App” menu —> Find your app —> Click on the “three dots” —> Click “Edit”

Click the Settings button at the top of the app editing page.

Click the Features tab —> Enable In-App Notification —> Save

If everything goes smoothly, you should see the Notification table in the Table section.

Method 1: Using Cloud Flow
Step 1: Create a Flow
Open the solution —> Click New —> Automation —> Cloud Flow —> Automated

Enter a meaningful Flow name —> Search using keywords (input: Dataverse) —> Select the When a row is added, modified or deleted trigger —> Create

Step 2: Configure the Flow
(1) Configure the When a row is added, modified or deleted trigger, then click “+ New Step”
| # | Attribute | Content |
|---|---|---|
| 1 | Change type | Modified |
| 2 | Table name | Accounts |
| 3 | Scope | Organization |
| 4 | Select columns | ownerid |

(2) Search using keywords (input: Dataverse), select Add a new row action.

(3) Configure the Add a new row action, then click the Save button.

Note: Variables need to be selected via “Add dynamic content.”
| # | Attribute | Content |
|---|---|---|
| 1 | Table name | Select Notifications |
| 2 | Title | Enter Client assignment reminders |
| 3 | Body | Enter Customer [Variable: Account Name] has been assigned to you, please contact the customer in time. |
| 4 | Expiry(seconds) | Enter 1200 |
| 5 | IconType | Success |
| 6 | Owner (Owners) | Enter /systemusers(Variable: Owner(Value)) |
| 7 | Data | Enter the following JSON, replacing entityLogicalName with account, and RecordId accordingly |
{
"actions": [
{
"title": "Open Account record",
"data":
{
"url": "?pagetype=entityrecord&etn=account&id=变量:Account",
"navigationTarget": "newWindow"
}
}
]
}data.json
Step 3: Test the Flow
Open a customer record and assign it to yourself. If everything goes well, you will see a pop-up notification in the upper right corner.

At the same time, users will also see the notification in the Power Apps mobile application:

Method 2: Using Client API
todo…
Method 3: Using Csharp
todo…