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
Alex Valavanis 10Alex Valavanis 10 

Screen flow Update records

Hello,
I created a screen flow which basically gets and updates 3 fields from a custom objects.
Flow works ok however when i add values these values don't update.
Issue is that i want to update the those fields on the Account Object (as the fields are formula fields).
Could you please tell me how to resolve?

Also - If i wanted to  add a validation rule, where would i add this? I would like the validation to be:
- ​​​​​AND( ISBLANK(Organisation__r.LEI__c), OR( ISBLANK(Organisation__r.Company_Number__c), ISBLANK(Organisation__r.Name_of_Company_Register__c) ) )

User-added image
User-added image
ShirishaShirisha (Salesforce Developers) 
Hi Alex,

Greetings!

I don't think you can handle validation rules in flow.However,you can display the message which you want on the screen as suggested here (https://salesforce.stackexchange.com/questions/63710/any-way-to-handle-validation-rule-errors-nicely-in-flows).

In order to have validation rule you would need to either go with the Triggers and create the validation rule separately along with the flow.

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri