Is there a way to resume a Flow after an @Future Apex method is completed? Right now I have an arbitrary Wait element but that's a hack workaround and not reliable of course.
Cross posted in Salesforce Success Community
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
Unfortunately not, the complete terminology of the future methods is that the methods execute asynchronously whenever the resources are available. Which means that it might finish execution in a couple of seconds to even a minute.
As a result, there's nothing that you can do to "resume" the flow. But you can divide the flow in two parts, one that executes before the future method, and the other one that depends on the updates made from the future method. This way both your operations would be performed.