cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CameronTCD
Helper II
Helper II

Variables & Selecting Times

I have a Flow that grabs meetings, filtered by subject & timespan.

This gets me a singular outcome every time. As seen below, I have three of these actions running in paralel meaning that I have three meeting instances.

 

From here, I take the date and the location of each meeting (will always be either Skype or Classroom) and compose these into an email. An example of this can be seen below.

 

I want to determine the time of each of these meetings.

 

I want it to determine;

If the location of the meeting is 'Skype', the time will be '12:00.

If the location of the meeting is 'Classroom' the time will be 16:00'

 

I think that there may be a way to do this using variables however I'm not up to scratch on using them and as such have had no luck... 

 

Help would be much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @CameronTCD,

 

What's the format of the time 12:00, is it string or time?

If it is string, you can do like the following:

if(equals(body('Get_event_(V3)')?['location'],'Skype'),'12:00')

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
abm
Super User III
Super User III

Hi @CameronTCD 

 

You can use the expression if condition to check the value and set the values.  Please see below.

 

exp3.png

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
v-litu-msft
Community Support
Community Support

Hi @CameronTCD,

 

What's the format of the time 12:00, is it string or time?

If it is string, you can do like the following:

if(equals(body('Get_event_(V3)')?['location'],'Skype'),'12:00')

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (40,558)