alexed1 / LightningFlowComponents

A collection of unofficial Flow extensions that can be used to enhance Salesforce Flow and Orchestrator.
http://unofficialsf.com
Other
572 stars 571 forks source link

"Validation Checker" - No results from scheduled flow #1555

Open jesse-altpart opened 2 months ago

jesse-altpart commented 2 months ago

Steps to reproduce

Inserted the flow action into a scheduled flow set to run on all Lead records (~4k in the system) Action works as expected in debug context of single records Action will not work when Flow undergoes normal scheduled execution

Expected behaviour

This is a fairly simple flow. If the record fails validation the results are persisted into a simple custom object. If it works in debug the expectation/hope is it would work under normal circumstances

Actual behaviour

Nothing. I see no debug logs when trace is tied to the ValidationException apex class or tied to all automation. No flow errors. I have tried different versions of the flow with error routes tied to the action but no improvement there. The screenshot is the most basic version.

Screenshots

image

Debug Logs

If applicable, please insert debug logs here

Debug Log Information ``` Paste the output of the logs here. ```
ericrsmith35 commented 1 month ago

This action was designed to work in a screen flow and isn’t bulkified to handle thousands of records in a scheduled flow.