Logic of Creating and Running a Task

This article explains the logic and order of running a task and a route in it.


To start a task, you need to run an incoming configuration, and it runs transformers in an incoming configuration, then transformers in a route.

Afterward, when you run a route, transformers in outgoing are executed.

If you check the box in incoming "enable real-time processing" it will run both incoming and a route (but you still need to run an incoming to create a task). 

The task is performed by running an incoming configuration: incoming and transformer in it, then outgoing configuration, and transformer in it. 

Stages of running a task:

So, you run an incoming configuration. What happens during this process?

1. The task has been created.

2. It runs an incoming configuration. 

3. Transformer in a route is executed.

4. Outgoing configuration is executed.

After you run a route, only outgoing is left since incoming and transformers from the route have been executed, so an outgoing configuration will be executed at this stage.

After this, the task changes its status to "Finished". 

You can also create an input transformer. It is executed before the actual incoming configuration. You can use it to construct dynamic data you need to pass with a request, such as today's date.