- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-10-22 06:33 AM
Thanks
------------------------------
vinod chinthakindi
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-10-22 08:20 AM
You can copy the Sort action in the 'Utility - Collection' business object into a new Action.
Once done, delete the Ascending Order action input and data item, as these are not required for the new action.
Adjust the code start to match the below:
When you call the Action, the [Sort Field] Input Parameter would list the fields to sort by and their order. Each field separated by a comma. For example:
[FieldName1] ASC, [FieldName2] DESC
------------------------------
Carl Carter
Senior Developer
Blue Prism
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-10-22 08:20 AM
You can copy the Sort action in the 'Utility - Collection' business object into a new Action.
Once done, delete the Ascending Order action input and data item, as these are not required for the new action.
Adjust the code start to match the below:
When you call the Action, the [Sort Field] Input Parameter would list the fields to sort by and their order. Each field separated by a comma. For example:
[FieldName1] ASC, [FieldName2] DESC
------------------------------
Carl Carter
Senior Developer
Blue Prism
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-10-22 08:30 AM
------------------------------
vinod chinthakindi
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-05-24 04:45 PM
Hi
Can you share complete start, end, code properties for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-05-24 09:50 PM
There is a little trick to turn the Sort Collection action in Blue Prism's Utility - Collection Manipulation VBO into a multi-column sorter. You simply list out your columns and their sort directions separated by a comma but leave out the sort direction of the last column. Set the Ascending Order parameter accordingly to the sort direction of that last column.
The Sort Collection action does essentially the same thing as the code in the replies above but it adds either " ASC" or " DESC" to the Sort Field string depending on how the Ascending Order parameter is set.
RBC
Toronto, Ontario
Canada
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-03-25 12:27 PM
This worked like a Charm! Thank you.
