0

Can anybody explain how I can run a process in the background of my apex app while continuing to use the app.

For example I want to run a long update from the frontend but it takes while, so instead of waiting for it to finish, I want to continue working while it runs in the background and when it is completed then I am notified.

Please note at all this is happening in the application, when I say continue to work, I mean continue to work in the application (frontend) and not the apex development section.

Thank you for your time!

1 Answer 1

2

You would want to use a job to run the long running update or whatever code you need to run. A good example of how to set this up can be seen in this article.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.