I have a Dataverse table which contains a Date column (date only). I want to use Power Automate to update this column with the current date (the date the workflow has run). This is in addition to some other updates to the rows.
I've tried a few different approaches:
1. utcNow() - if I use this directly in the 'Update a row...' action, it errors with The response is not in a JSON format. Example of output from utcNow() 2025-02-05T10:08:08.1505834Z
2. Using formatDateTime and parseDateTime combined with utcNow(). This errors with:
Unable to process template language expressions in action 'Compose' inputs at line '0' and column '0': 'The template language function 'json' parameter is not valid. The provided value '2025-02-05T09:58:38.3158496Z' cannot be parsed: 'Unexpected character encountered while parsing number: T. Path '', line 1, position 10.'. Please see https://aka.ms/logicexpressions#json for usage details.'.
3. Using the parse JSON action with utcNOW() as the input and the following schema (generated from sample payload):
When doing the above, I receive the following error message:
The 'content' property of actions of type 'ParseJson' must be valid JSON. The provided value cannot be parsed: 'Unexpected character encountered while parsing number: T. Path '', line 1, position 10.'.
-
I'm still fairly new to Power Automate, so appreciate this might seem quite basic. Essentially, I want to be able to use the 'Update a row in selected environment' to update a table column (which is a date), to the date the workflow has run.
Thanks!