SOLVED

How to create an event with flow?

%3CLINGO-SUB%20id%3D%22lingo-sub-354678%22%20slang%3D%22en-US%22%3EHow%20to%20create%20an%20event%20with%20flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-354678%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20create%20an%20Event%20when%20a%20new%20item%20is%20created%20on%20a%20SharePoint%20list.%3C%2FP%3E%3CP%3EBut%20i%20don%C2%B4t%20know%20how%20to%20full%20fill%20the%20Start%20%2F%20End%20Time%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20should%20work%20like%20this%3C%2FP%3E%3CP%3EStart%20Time%20for%20the%20meeting%3A%201%20day%20after%20%2F%2011.30%20%2F%20Duration%2030min%3C%2FP%3E%3CP%3EEnd%20Time%20for%20the%20meeting%3A%26nbsp%3B%2012%3A00%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20i%20have%20to%20do%20in%20the%20Formula%3F%20please%20send%20post%20a%26nbsp%3B%20screenshot%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F84068i6BFD95EC845CD52B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Calender%20event.PNG%22%20title%3D%22Calender%20event.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-354678%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-357439%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20create%20an%20event%20with%20flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-357439%22%20slang%3D%22en-US%22%3EThank%20you%2C%20perfect!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-357284%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20create%20an%20event%20with%20flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-357284%22%20slang%3D%22en-US%22%3E%3CP%3EDKoh%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20try%20this....%20this%20will%20create%20a%2030%20minute%20event%201%20day%20after%20the%20create%20date%20of%20the%20item%20in%20Sharepoint.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F84499i95D995BD2087E0AC%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22%7BC6B5B954-554C-45EB-992B-BF9F650AC024%7D.png.jpg%22%20title%3D%22%7BC6B5B954-554C-45EB-992B-BF9F650AC024%26amp%3B%23125%3B.png.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20expressions%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3Estart%3A%3C%2FSTRONG%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3Eadd%3C%2FSPAN%3E%3CSPAN%3Edays%3C%2FSPAN%3E%3CSPAN%3E(formatDateTime(triggerBody()%3C%2FSPAN%3E%3CSPAN%3E%3F%5B%3C%2FSPAN%3E%3CSPAN%3E'Created'%3C%2FSPAN%3E%3CSPAN%3E%5D%2C%3C%2FSPAN%3E%3CSPAN%3E'%20yyyy-MM-ddT11%3A30'%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3CSPAN%3E1%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3Eend%3A%26nbsp%3B%3C%2FSTRONG%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3Eadd%3C%2FSPAN%3E%3CSPAN%3Edays%3C%2FSPAN%3E%3CSPAN%3E(formatDateTime(triggerBody()%3C%2FSPAN%3E%3CSPAN%3E%3F%5B%3C%2FSPAN%3E%3CSPAN%3E'Created'%3C%2FSPAN%3E%3CSPAN%3E%5D%2C%3C%2FSPAN%3E%3CSPAN%3E'%20yyyy-MM-ddT12%3A00'%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3CSPAN%3E1%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETerry%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

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

 

Calender event.PNG

 

2 Replies
Highlighted
Best Response confirmed by DKoh (Occasional Contributor)
Solution

DKoh,

 

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

 

{C6B5B954-554C-45EB-992B-BF9F650AC024}.png.jpg

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

Highlighted
Thank you, perfect!