#[Solved]Trigger another function when one function returns response

2 messages · Page 1 of 1 (latest)

spiral sierra
#

Can I trigger another function when one function returns a response.

For example if I have a function Function A can I trigger function B when A completed execution and pass return data as a parameter.

pulsar anvil
#

As of now it think that functions trigger are disabled in the cloud.

But, in general you can make a function trigger when any status change of a different function.
Using the functions.*.executions.*.update event.

Then inside the B function you'll need to check that the function has finished successfully and then check the data.

You can find all functions events here: https://appwrite.io/docs/events#functions-events