Skip to main content
All CollectionsFrends FundamentalsFirst Introduction - Subprocesses
Introduction to Remote Subprocess call and execution
Introduction to Remote Subprocess call and execution

Calling Subprocesses remotely

Ossi Galkin avatar
Written by Ossi Galkin
Updated over 7 months ago

Remote Subprocess call

A Remote Subprocess call is a feature which allows a Subprocess to be called from another Agent Group. Both the calling Process or Subprocess need to deployed to the same Environment. A Subprocess call can be configured to be a remote call by enabling "Remote call" under "Show advanced settings". To use this functionality, the destination Agent Group needs to be defined for each Environment.

Here is an example remote Subprocess call configuration:

When Remote call is enabled, there are configurations that can be set to the Remote Subprocess call. It is possible to set 'Timeout in minutes' that will specify the time the main Process waits before closing the connection to the remote Subprocess. It is also possible to specify the Agent Groups that are used to run the remote Subprocess in different Environments.


Remote Subprocess execution

Remote Subprocesses are executed over a Service Bus connection. There is a separate message sent as a request and another message as a response with the result. This may cause latency for execution either due to congestion or network latency. This may make it unsuitable for use with HTTP or API Triggers due to the delay. The execution may even fail due to a Service Bus error which cannot be handled with the built-in retries.

The next article is Where to get help?

Did this answer your question?