Is there an official way to declare data model and store and retrieve data from custom database tables within tasks

Hi @m.farahat

Often the functionality associated with finding a user’s manager is provided via a directory server

Another approach would be to provide a RESTful service that returns a user’s manager. You could try out this approach using json-server and Flowable’s Http Task.

You can send an email using Flowable’s Email Task.

Cheers
Rob