2

Why assignment rules did not execute when invoked by a flow? The invocable apex method within the flow didn't invoke the assignment rules because of two reasons: Flow elements (for Create & Update) do not have options to specify Database.DMLOptions (assignmentRuleHeader.useDefaultRule= true) at the moment. This was probably one of the reasons why you ...


1

I ended up resolving this by moving all the logic to Apex and having it invoked by Process Builder instead of Flow. I used this article, which mentioned some strangeness with the order of operations and used a time-based action to side-step it: https://automationchampion.com/tag/run-lead-assignment-rules-for-flow/ Edit: importantly, I moved the record ...


Only top voted, non community-wiki answers of a minimum length are eligible