Skip to main content
Introduction to Call Subprocess

Calling Subprocesses

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

Call Subprocess

Call Subprocess is used to call a Subprocess. A Subprocess is a special kind of Process that can be executed from other Processes. The parameters given to Call Subprocess corresponds 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 deserialized in the caller. Therefore, if you return an object from a Subprocess you can access it by using dot notation without additional conversions.

Just like main Processes, Subprocesses can also be configured to take parameters in the Manual Trigger.

The parameters have to be strongly typed before passing to Subprocess, because the default type for these is Int64. Therefore, if there is a need to pass something else, the parameters have to be set in the main Process. After clicking 'Add parameter' it is necessary to give a Key value to the parameter. The Key operates as the name of the parameter and it is required so that it is accessible within the Subprocess. Every other option is optional but recommended. It is also possible to pass secret values by enabling the Secret option. This will make the value of the parameter unreadable.

Did this answer your question?