Timeline for Validation Rule Conflicting with Flow
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 30, 2022 at 21:50 | vote | accept | NoviceAdmin80 | ||
| Nov 30, 2022 at 16:07 | answer | added | Derek F | timeline score: 1 | |
| Nov 30, 2022 at 4:08 | comment | added | NoviceAdmin80 | @DerekF - Please disregard my last message. You were right. The answer actually was changing it to a before-save record-triggered flow. We actually had 2 flows that triggered from the Opportunity changing to closed. When I updated both to before-save record-triggered flows, it worked. Thank you! | |
| Nov 30, 2022 at 2:22 | comment | added | Moonpie | Sanity check: That validation error text is verbatim your custom error text on that particular Validation Rule? And is that text only on that Validation Rule? | |
| Nov 30, 2022 at 0:05 | comment | added | NoviceAdmin80 | @DerekF - I edited my validation rule to go by profile, and I updated the flow to run before-save, and I'm still getting the same error. I don't know why because my Validation rule formula is bases on PRIORVALUE(IsClosed)=True. Thank you for your help | |
| Nov 30, 2022 at 0:04 | answer | added | Daryl | timeline score: 0 | |
| Nov 29, 2022 at 23:49 | comment | added | Derek F | Also, is this a before-save record-triggered flow, or an after-save record-triggered flow? Based on the Order of Execution, I'd think that an after-save flow would be liable to run into validation rules. | |
| Nov 29, 2022 at 23:47 | comment | added | Derek F | Though this isn't the source of your issues, I believe that custom permissions are generally recommended over using $User (and $Profile and $Role?). This official looking blog goes over setting it up and use in a validation rule. | |
| Nov 29, 2022 at 23:35 | history | edited | cropredy | CC BY-SA 4.0 | added 48 characters in body |
| Nov 29, 2022 at 23:34 | history | asked | NoviceAdmin80 | CC BY-SA 4.0 |