
Announcements
As per title, using the "For a selected item" trigger for SharePoint, the new designer causes flows to fail where, for example, the Timestamp variable is used.
This appears on flows which work fine when last edited with the old designer, but opening the flow with the new designer causes it to fail on next run, even if nothing else is changed. The flow can then only be fixed by opening in the old designer, replacing the variable, and saving.
The error message is:
Unable to process template language expressions in action 'Create_item' inputs at line '0' and column '0': 'The template language expression 'triggerBody()['headers']['x-ms-user-timestamp']' cannot be evaluated because property 'headers' doesn't exist, available properties are 'entity'. Please see https://aka.ms/logicexpressions for usage details.'.
Hi , @michael25
Oh, i have encountered the same issue in the new designer. The dynamic content selected in new designer may be different between the old designer .
This error means that your triggerBody()['headers']['x-ms-user-timestamp'] does not have a headers attribute, resulting in an error.
The solution is to switch back to old designer and put the corresponding value back in.
Or just use the corresponding expression to get the value.
Since the new designer is a recently updated feature, it is inevitable that there may be some problems, so it is recommended that you switch to the old designer for development.
If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance!
Best Regards,
Yueyun Zhang