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

order activities

I have a list of activites being pulled from flow into a word template. (only phone calls and appointments)

 

When they populate a table they are shown in order by newest created activity first. - How do I reverse this to show the oldest created activities first. I would go by createdon date but not sure on expression or if I need to create a Compose?

 

Any feedback would be appreciated  

1 ACCEPTED SOLUTION

Accepted Solutions

createdon asc worked !

 

Thanks!!

View solution in original post

8 REPLIES 8
abm
Super User III
Super User III

Hi @Tsingh11 

 

Could you please post a screenshot of your flow?

 

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

flow - activities issue.JPG

abm
Super User III
Super User III

Hi @Tsingh11 

 

Under the Get Items action step set the order by as follows:

 

Suppose the filed name is createdby

 

createdby desc

 

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

Hi, sorry its probably my understanding. 

 

how would 'file name desc' sort the activities from oldest first to newest?

Hi @Tsingh11 ,

 

When you are specifying the order it retrieves the records in that order. 

 

Thanks

abm
Super User III
Super User III

Hi @Tsingh11 

 

It's not the filename you want most likely you need the created date. Have a look at the schema of created date or created on (I think) from the activity entity and set as desc order.

 

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

ah i get you, 

 

So i tried created on desc 

 

but its still showing newest activtities first. 

createdon asc worked !

 

Thanks!!

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,519)