Forum Discussion

DKoh's avatar
DKoh
Copper Contributor
Feb 21, 2019

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...
  • Terry_McCullagh's avatar
    Feb 26, 2019

    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

Resources