Why to consider async code execution
In Chapter 3, Evaluating the Performance of an OmniStudio Implementation, we looked at tools for measuring the performance of OmniStudio applications. Have you had a chance to give them a try? If so, did you identify any areas for improvement?
When you have identified a performance issue in one of your app’s components and removing it is not an option, you have two choices. You can either tune this component, make it run faster, or you can allow it to continue running slowly but allow your users to continue without having to wait. The first option is usually more involved—and we will be looking at several ways to increase the performance of OmniStudio components in the following chapters. On the other hand, allowing the component to run in the background may only take a couple of clicks to accomplish.
Not all components can run in the background, but if we’re dealing with an Integration Procedure or an Integration Procedure...