The code stage within "Filter Collection" currently only uses the DataTable.Select() method, which does not support this.
However, you could make a clone of this action and supply an input for number of rows you need. This will also require some changes to the object dependencies, which I'll list below.
In code options, add to External References:
System.Data.DataSetExtensions.dll
System.Core.dll
In code options, add to External References:
System.Linq (It boggles my mind that this isn't in here to begin with, but that's neither here nor there.)
Add input:
number - Number (Specifies number of top rows to pull)
Change line 3 to:
Add to ln 13:
Collection_Out = Collection_Out.AsEnumerable().Take(number).CopyToDataTable()
Edited to take top rows post-filter instead of pre-filter
------------------------------
Ami Barrett
Sr Product Consultant
Blue Prism
Plano, TX
------------------------------