Forum Discussion

DKoh's avatar
DKoh
Copper Contributor
Feb 21, 2019
Solved

How to create an event with flow?

Hello ,

 

I want to create an Event when a new item is created on a SharePoint list.

But i don´t know how to full fill the Start / End Time

 

It should work like this

Start Time for the meeting: 1 day after / 11.30 / Duration 30min

End Time for the meeting:  12:00

 

What i have to do in the Formula? please send post a  screenshot

 

 

  • DKoh,

     

    You can try this.... this will create a 30 minute event 1 day after the create date of the item in Sharepoint.

     

    The expressions:

    start: 

    adddays(formatDateTime(triggerBody()?['Created'],' yyyy-MM-ddT11:30'),1)
    end: 
    adddays(formatDateTime(triggerBody()?['Created'],' yyyy-MM-ddT12:00'),1)

     

    Hope this helps...

     

    Terry

4 Replies

  • DKoh,

     

    You can try this.... this will create a 30 minute event 1 day after the create date of the item in Sharepoint.

     

    The expressions:

    start: 

    adddays(formatDateTime(triggerBody()?['Created'],' yyyy-MM-ddT11:30'),1)
    end: 
    adddays(formatDateTime(triggerBody()?['Created'],' yyyy-MM-ddT12:00'),1)

     

    Hope this helps...

     

    Terry

    • Sofiamojo's avatar
      Sofiamojo
      Copper Contributor

      Terry_McCullagh 

      Hi Terry, I saw that you provided great support to other users, albeit some time ago. 
      I am trying to create an automated event in Power Automate, an event to be scheduled 30 minutes after an assignment in Planner has been created. But despite several tries it won't work. Would be super grateful for your help!

       

       

       

      • Terry_McCullagh's avatar
        Terry_McCullagh
        Brass Contributor
        Sofia,
        Can you paste a screenshot of the relevant part of your flow and I will try to help?
        Terry
    • DKoh's avatar
      DKoh
      Copper Contributor
      Thank you, perfect!

Resources