Skip to main content
Call Subprocess
Ossi Galkin avatar
Written by Ossi Galkin
Updated over 7 months ago

The Call Subprocess element is used to call an external Subprocess. A Subprocess is a special kind of Process that can be executed by other Processes. The parameters given to a Call Subprocess element correspond to the Manual Trigger parameters defined in the Subprocess.

The return type of a Call Subprocess is dynamic and is defined by the Subprocess. Values and objects returned from a Subprocess to the calling Process are first serialized and then de-serialized in the caller. Therefore, if you return an object from a Subprocess, you can access it by dot notation without additional conversions.

Call Subprocess can have Error Handlers attached.

Remote Subprocesses

A Subprocess call can be configured to be a remote call by enabling "Remote call" under "Show advanced settings". To configure a remote Subprocess call, the destination Agent Group needs to be defined for each Environment. Remote Subprocesses are executed over a Service Bus connection. There is a message sent as a request and another message as the result response. This may cause a delay in the execution either due to congestion or network latency. It 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 that cannot be handled with the built-in retries.

Example Remote Subprocess Call Configuration:

If the process is run in:

  • Crossplatform Environment, the Subprocess will be executed in the Crossplatform Agent Group.

  • Development Environment, the Subprocess will be executed in the Development Agent Group.

  • Test Environment, the Subprocess will not be executed, and Process execution will fail.

Did this answer your question?