Workflows have the ability to execute tasks concurrently using the
run_async field. This is ideal for tasks that are
independent or rely on external systems (e.g., APIs, background jobs).
run_async?run_async Can Be UsedYou can use run_async on:
ChipTaskCodeTaskDispatchTaskTaskSetWhen a task runs asynchronously, the result is not immediately usable - it
is a task handle. You must store it using
store_result_as or append_result_into and
wait for it later.
- name: "Start background report"
run_async: true
chip: reports.generate
params:
user_id: user.id
store_result_as: background_task
- name: "Wait for report"
chip: reasonchip.async.wait_for
params:
task: background_task
store_result_as: final_report
In this example:
background_task holds the async task referencereasonchip.async.wait_for waits for it to finishfinal_reportstore_result_as with run_async© 2025 South Patron LLC. All rights reserved.
AI everywhere.