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
bharath kumar 52bharath kumar 52 

Issue with flow trigger

Hi All,

I have a flow on quote object which will get triggered on change of a status from "status a" to "status b" and I have another flow which will count the number of quotes in a particular status and updates the opportunity. But when i try changing the status from "status a" to "status b" the other flow gets triggered and throws me the following error in the update element of the flow which counts and updates the opportunity. 
We can't save this record because the “Submission Stage Update” process failed. Give your Salesforce admin these details. 
This error occurred when the flow tried to update records: FIELD_FILTER_VALIDATION_EXCEPTION: Value does not exist or does not match filter criteria.. 
You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 1448297641-117949 (1971948975)k up ExceptionCode values in the SOAP API Developer Guide. Error ID: 1448297641-117949 (1971948975)


I have tried debug mode and the logs too yet im not able to figure out if this is a generic salesforce error to contact support or something that can be fixed by myself.
Any help is greatly appreciated.

Thanks,
Bharath
PriyaPriya (Salesforce Developers) 

Hey Bharath,

Your second trigger is getting fired when the status of quote is getting changed. 

You have to trigger that flow once the quote record is get saved. 
Kindly refer this :- 
https://help.salesforce.com/s/articleView?id=release-notes.rn_forcecom_flow_fbuilder_after-save_trigger.htm&type=5&release=226 (https://help.salesforce.com/s/articleView?id=release-notes.rn_forcecom_flow_fbuilder_after-save_trigger.htm&type=5&release=226)

Kindly mark it as the best answer if it works.

Thanks & Regards,

Priya Ranjan