Tuesday, June 16, 2020
Date Field Shows Wrong Date in Power Automate
We recently noticed the Power Automate Trigger body showing a date prior to the date selected in CRM.
This behavior was not expected because the field was set to Date Only and so the time zone would not cause this problem.
However, after discussion we found that :
The behavior of field was set to User Local and so when this field will be set it will be seen as per the user time zone settings as Power Automate processes the Date in UTC Format.
All existing date/time fields in CRM are set as User Local by default.
Given below are the two approaches by which we can get the proper date in Power Automate.
Create a new field in CRM with Format and Behavior set to Date Only.
The date for this field will be correctly captured by trigger in power automate.
Create a formula in Power Automate to add 1 day to the date coming from CRM, using add days expression.
Adddays(parameter from which date is coming from, number of days to add, format of date[optional])
Introduction: When your CRM and DocuSign are not connected, yet you wish to automate Closing Quote and saving your file in SharePoint, yo...
Introduction: In this post I plan to walk you through some concepts and functional aspects of CRM module of Dynamics 365. We will loo...
Introduction: This blog give the steps to access Recycle Bin of SharePoint using Microsoft Flows. Steps: In Actions, select &qu...
Introduction: In this post, we will read about solutions,Components and Import-Export of solutions in Dynamics CRM. Also we will see...