Background execution of tasks

Hi everyone,

I am currently working on creating a custom service in Creatio, where I need to execute a large number of tasks and create records in multiple objects. These tasks take some time to execute, and to avoid any latency, I would like to create the first record and immediately return a response to the service caller. After that, I want the remaining tasks to run in the background, as they are independent and can be processed in parallel. The only dependency is on the initial record that needs to be created at the beginning.

How can I implement this approach for background execution of tasks in Creatio?

Thanks in advance for your help!

Like 0

Like

1 comments
Show all comments