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
mayurmayur 

Closed/Lost opportunity stage should match with Omitted forecast category

I have time based Workflow on opportunity Object. As per our workflow criteria when 'Reservation End date and closed date equals today's date and Reservation Flag is true' the workflow fires and updates 2 fields namely 'Stage Name' and 'Close Date'. Aftre this before update Trigger Fires- updates field on opportunity. Workflow is working for some records but for some records geting below error • "Closed/Lost opportunity stage should match with Omitted forecast category". Not able to understand reason for this error.

Can any one help?

Thanks in advance.
Daniel ScharffeDaniel Scharffe
Hello Mayur,  Did you figure this out?  I am having a similar issue.  The code is updating the stage, but the forecasst category is not updating automatically.  This causes a similar errror you are getting.