I have a flow that sends a notification with a dynamic parameter, the parameter is read by a canvas app and navigates to the desired record.
This works fine if I use the pre selected app name, or add the json as shown below.
The Parameter 'RequestID' is picked up when the app opens from the notification and navigates to the correct record as expected
The problem is when I publish to UAT or PROD, it automatically changes the Your App section to the JSON as shown above, with the appidentifier from the previous environment. I have to then manually update the appidentifier for every notification.
So I decided to make the appidentifier variable using the Get Apps as Admin action
This works great, I get the appidentifier and can add it to the JSON
but now I have this new field
And when I paste the

json into it, it does not pass the parameter to my canvas app.
If I remove the variable from the Your App section and just make it plain json again then the dynamicParams field disappears and all is well again.
This happens with any variable I add to the Your App section, including environment variables.
So the questions are:
- Am I handling the change of appidentifier during deployment correctly, or is there a better way?
- Otherwise am I stuck with manually selecting the app, or modifying the appidentifier every time I deploy?
- Maybe the JSON I am using in dynamicParams should be different?