Background task processing

Hi,

I wanted to know if there is some way of running a somewhat long task on backendless?

The scenario:

  • Front end sends a request to kick-off a process
  • Process starts and can take up to 30-40 seconds
  • When it’s done, a message is published to a channel the frontend is subscribed to.

i can only think of hoping to trigger API calls on the backend this way:

  • Request received → trigger API → get result and trigger the next API → get result and publish message.

Is there any way of possibly making a flow like this work?

Trying to minimize points of action on the frontend.

Thank You.