web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Error in Flow due to Time Format for different user in an organisation

(0) ShareShare
ReportReport
Posted on by 160

Hi,

I have a flow that calculates the duration of each status in tasks. every time the status changes, I get in a field the duration that was spent on this status.(I'm using from the Audit history to calculate this)
I use in my flow a formula to format the time for all date fields the same. I.e. all date fields what I use here, like UTCnow() or Created on and etc.... are formatted in my flow in a similar form and all with this formula: formatDateTime(outputs('Get_Time_Changing'), 'MM-dd-yyy HH:mm')

pastedimage1635096566091v1.png


Now when other user tries to run the flow with his account, he gets an error at the formatting step: ''Template language expressions in the inputs of the action "Time_Changing" in row "1" and column "23129" cannot be processed: An invalid value was specified in the "formatDateTime" function for the date/time string "10/14/2021 22:18". The datetime string must conform to the ISO 8601 format.''

Although I can always calculate the duration in Task with my user without any problem.
I'm really clueless here as I actually did the formatting within my flow and it shouldn't care who is running the flow with what time format on their system.
Does anyone have any suggestions or idea?

Thanks in advance!

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 120 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 119

#3
Erin Lubben Profile Picture

Erin Lubben 73

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans