cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Variables & Selecting Times

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
Highlighted
Super User III
Super User III

Re: Variables & Selecting Times

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 blog

Power Automate Video Tutorials
Highlighted
Community Support
Community Support

Re: Variables & Selecting Times

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,156)