Back

Functions

  • 0
  • Flutter
Sandeep K. Dasari
1 Jun, 2023, 14:52

Call that created function inside the new function. and call this new function inside the first function with that payload.

TL;DR
The user is asking for help on implementing a relationship between two functions without relying on UI. They also provide a link to the Function SDK documentation for reference. They mention creating two functions and calling the second function from the first function with the desired payload. No specific problem or solution is mentioned in this thread.
Sandeep K. Dasari
1 Jun, 2023, 14:52

I mean, argument

Joshima
1 Jun, 2023, 14:53

elaborate a bit more please

Sandeep K. Dasari
1 Jun, 2023, 14:58

have an internal relationship inside those two functions without depending upon ui

Sandeep K. Dasari
1 Jun, 2023, 14:59

write your first function, and write your second function

Sandeep K. Dasari
1 Jun, 2023, 14:59

after completing writing, it's time to test.

Sandeep K. Dasari
1 Jun, 2023, 15:00

So, you can access your second function from first function through Function SDK right? check it: https://appwrite.io/docs/server/functions?sdk=nodejs-default#functionsCreateExecution

Sandeep K. Dasari
1 Jun, 2023, 15:01

Choose your language in this documentation

Sandeep K. Dasari
1 Jun, 2023, 15:02

And execute the second function inside first function by sending the data / arguments which you are want that second posses to complete it's task.

Sandeep K. Dasari
1 Jun, 2023, 15:02

and send response to the client from the second function after yo u have implemented your business logic.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more