A common pattern in compose apps is to trigger tasks from other tasks, this can be done either by creating an http trigger
and calling it with fetch(), or by using the callTask() function. Typically you’ll want to use callTask().
Copy
Ask AI
const result = await callTask("my-task", { some: "payload" });