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
inbox outbox 7inbox outbox 7 

Can we do validation in flow with the retrieved data from external services before updating the record?

Let's say we have process integration, the order is created in a backend system, we send the order details and the user gets the order status and order number and some other field called field_c, this field_c has to be validated before being updated in saleforce. 
Can we do that?
 
AnkaiahAnkaiah (Salesforce Developers) 
Hi,

Yes you can do it in record trigger flow. Refer the below example.
https://salesforcetime.com/2021/09/25/complex-validation-rules-using-record-triggered-flows/

If this information helps, Please mark it as best answer.

Thanks!!
inbox outbox 7inbox outbox 7
Validation has to be done on data that we get from a remote system. The callout is from UI and so we can't use record triggered flow here, we are using screen flow.