Forum Discussion
Inconsistent behaviour populating Word template from Microsoft List via Power Automate
Q1 coming out blank. "Populate a Microsoft Word template" maps to the internal ID of each content control, not its name. If the template was edited after the flow was built, or that control was copied from another one, the action can still point at an ID that no longer exists. Re-select the template file in the action so it reloads the controls, then re-map Q1. Also check the column type: a Choice, Lookup or Person column returns an object, so you need the Value (or DisplayName) property rather than the whole field.
Q2 reverting. This is almost always another flow, or an earlier stage of the same process, running "Update item" with values it read before the user's change. That writes the old Q2 back over the new one. To confirm, turn on version history for the list and look at who changed Q2 and when. It will usually show the flow's account straight after the user's edit. To fix it:
- In each "Update item", only map the fields that stage actually changes.
- Add a "Get item" just before you populate the template, and use its values rather than the trigger's, so you always have the latest data.
- Set the trigger's concurrency to 1 and add a trigger condition, so two runs can't overlap on the same item.