function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tinashe M ShokoTinashe M Shoko 

I want to create a new case when Opportunity is Closed Won and child Opportunity products meet certain criteria on custom fields

Hello,

I want to create a new case when Opportunity is Closed Won and child Opportunity products meet certain criteria on custom fields.

I have added to fields on the OpportunityLineItem object. These two fields lets call them field1 and field2 must be populated within 7 days of the opportunity being marked Closed Won. I therefore created an invocable process but now it is asking for sObject when I try to invoke it from the process where it checks if the Opportunity was marked Closed won. This first process send out an email, which works fine if marked close, I then created a scheduled action but in there I am unable to call my invocable process.

Please help.

User-added image