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 :
Power Automate - Building Flows
Unanswered

Get Start and End date from Date field in Calendar event

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am trying to create an event(V4) from Leave request entity. I have Leave date field and I want to get From and To date from Leave date. How can I do that ?

 

I am also not able to add Leave date to Start and End date. It is giving an error.

 

Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)': The parameter with value '"@triggerOutputs()?['body/cdm_leavedate']"' in path 'item/start' with type/format 'String/date-time' is not convertible to type/format 'String/date-no-tz'.'.

 

How can I convert to target date time format.

paragchapre_0-1611146226978.png

 

I have the same question (0)
  • fchopo Profile Picture
    8,001 Moderator on at
    Re: Get Start and End date from Date field in Calendar event

    Hello @Anonymous 

    You could use an expression like:

    convertFromUtc(convertToUtc(triggerOutputs()?['body/start'], 'Central Standard Time'), 'Central Standard Time')

    Hope it helps!
    Ferran

     

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 797 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
developerAJ Profile Picture

developerAJ 319

Last 30 days Overall leaderboard