Async You Later is a fun and flexible utility for running long or complex operations asynchronously in OutSystems using Fire and Forget patterns, ideal for scenarios like large PDF generation, export tasks, or any process that shouldn't block the UI.
It allows you to launch a process from the screen, return control immediately to the user, and then continue listening for a result (or feedback) in a clean, modular way.
To get started:
Clone the AsyncYouLater_Customizations moduleThis template helps you organize custom logic and actions modularly.
AsyncYouLater_Customizations
This allows you to have multiple customization modules if needed, for different use cases.
Update the module referenceOpen the AsyncYouLater_Start action and update the module name reference to match your cloned module.
AsyncYouLater_Start
Update the service action name (if changed)If you've renamed the service action AsyncYouLaterSwitch, be sure to update that reference as well inside AsyncYouLater_Start.
AsyncYouLaterSwitch
Customize parametersIn the Structures folder, you'll find the CustomParameters structure. Feel free to extend it with any parameters needed for your specific async flows.
Structures
CustomParameters
Implement your logic in AsyncYouLaterSwitchThis is the core extension point: use it to define your behavior based on different Type values. Each “type” corresponds to a unique async process you want to support.
Type
Split the Customizations module into a separate app so users can manage multiple async scenarios cleanly
Improve this documentation with more use cases and patterns
Enhance the demo to showcase common real-world async flows