cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mike44
Helper I
Helper I

Create and update calendar event in Outlook from Excel spreadsheet

I need to create a flow which creates and updates calendar events in Outlook from an Excel spreadsheet.  I found a solution here (https://powerusers.microsoft.com/t5/Building-Flows/Update-Events-in-Calendar-When-Excel-is-Updated/m...), however, I keep getting errors.  I believe my issue is with the condition.  I can't replicate the condition in the above solution.  I can't build the expression as suggested and I'm not sure what choice to make for EventID in the middle drop down  and the value to enter for the 3rd field.  Here's a screen 

Mike44_0-1632267974589.png

I'm probably being to vague, hope not.  I can provide additional info. if needed.

1 ACCEPTED SOLUTION

Accepted Solutions
eric-cheng
Solution Sage
Solution Sage

Hi @Mike44 ,

 

Can you please:

 

1) Take a screenshot of the top part of your flow to show your loop

2) Add a Compose action before your condition

3) Add EventID into the Compose as an input

4) Click on ... and Peek Code and paste the value.  Should look like the below

ericcheng_0-1632281729385.png

 

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

View solution in original post

4 REPLIES 4
eric-cheng
Solution Sage
Solution Sage

Hi @Mike44 ,

 

The flow is looping through each Event ID from the spreadsheet and checking if it is empty or not.

 

You can use the empty() expression on the left and then true on the right e.g. 

 

empty(items('Apply_to_each')?['YOUR COLUMN NAME'])

 

ericcheng_1-1632269638652.png

 

 

Also, unrelated to your question but is your condition inside a Apply to each loop?

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

I tried that and this is the message I get.

 

message.PNG

eric-cheng
Solution Sage
Solution Sage

Hi @Mike44 ,

 

Can you please:

 

1) Take a screenshot of the top part of your flow to show your loop

2) Add a Compose action before your condition

3) Add EventID into the Compose as an input

4) Click on ... and Peek Code and paste the value.  Should look like the below

ericcheng_0-1632281729385.png

 

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

View solution in original post

Thank-you for your help.  I've finally have it working successfully.  Below is finished results:

1.PNG2.PNG3.PNG4.PNG5.PNG6.PNG

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (3,186)