Invoking a Subprocess

Learn how to invoke a subprocess using the invoke keyword.

Overview

Invoking a subprocess is one of the three ways a parent process can call a subprocess in Kognitos. When a subprocess is invoked using the invoke keyword, the parent process does not manage its execution or output.

How Can I Invoke A Subprocess?

This section explains how to call a process within another process as a subprocess using the invoke keyword.

Syntax

invoke {subprocess name} with
      {inputs}

Input Parameters

  1. subprocess name: The name of the subprocess.

  2. inputs: Any data elements the subprocess needs to run.

Example

In this example, the subprocess verify applicant qualifications is called with the resume as input.

invoke verify applicant qualifications with
      the resume

Last updated

Was this helpful?