Skip to main content
All CollectionsFrends FundamentalsFirst Introduction - Subprocesses
Introduction to Subprocesses and Process hierarchy
Introduction to Subprocesses and Process hierarchy

Basics of Subprocesses

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

Introduction to Subprocesses

This course will introduce you to the concept of Subprocesses. Here you will also learn where and how to use them.

There are two kinds of Processes available in Frends: Regular Processes and Subprocesses. Subprocesses are like regular Processes but they can be called through regular Processes or other Subprocesses. Subprocesses can be used to share the same functionalities with other Processes. Subprocesses can also function as Triggers for the main Processes and they can be called from another Agent group by a remote Subprocess call. Subprocesses are listed in the Subprocess list view which you can access by clicking on the Subprocesses tab next to Process tab. Here you can view, update and add Subprocesses.

Process hierarchy

Subprocesses are used to wrap smaller parts of Processes to create reusable microservices for other Processes to use. This enables a Process hierarchy where you can create a Frends Process which executes a Subprocess, which then executes another Subprocess and so on. This hierarchy can be used to create an orchestration layer where you can isolate for example access to a specific system inside a Subprocess.

Subprocesses also simplify the whole hierarchy making it easier to search the structure for errors as well as easier to modify the structure in general. One Subprocess can be used by multiple Processes which will make the structure more simple. This will also make it more adjustable and flexible for changes. Error handling can be implemented by using Subprocesses and Subprocesses can also be used as a Trigger to regular Processes. Subprocesses can also be called by another Agent group in the same Environment by implementing a remote Subprocess call.


โ€‹

Did this answer your question?