• Iryna Zasikan
  • NEWBIE
  • 35 Points
  • Member since 2015
  • Cetrix Cloud Services

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Id 01pF000000452WnIAI = Database.executeBatch(new Batch_ExpDate_PricIn(), 190);

The id referenced is correct.  What am I doing wrong here?  
I want to use something like this in my trigger:
Map<Id, Id> result = anAttachmentList.stream().collect( Collectors.groupingBy( Function.identity(), Collectors.counting() ) );
Unfortuntly my Force.com IDE can't understand stream().collect.
Does anyone know is it available in Apex?
Id 01pF000000452WnIAI = Database.executeBatch(new Batch_ExpDate_PricIn(), 190);

The id referenced is correct.  What am I doing wrong here?