• John Hillstrom
  • NEWBIE
  • 0 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I have a collection of a custom object 'payments' that stores all the payments with a certain status. 
Then these payments are displayed in a datatable and users can select multiple payments. 
As a result I now have another collection with the selected record Ids. 
How can I get a third collection of only payments with Ids that do not appear in the selected collection without using multiple loops- I keep on hitting limits.
I tried creating an apex class but it seems like invocable methods cannot get and return lists.