# invokeFlow

invokeFlow() function is the Standard function available in 200OK.

**Description** : The invokeFlow function executes a designated Auto Launched Flow and retrieves the output value. Essential parameters include the flow name (mandatory) and the output variable (mandatory).

**Syntax** :  fx\_invokeFlow(\<Flow Name>,\<input1>-\<value1>,\<input2>-\<value2>, ... ,\<Output Variable>)

**Example** : fx\_invokeFlow(Sample\_Flow,Company-CEPTES,City-Banglore,outputVar)\` demonstrates its usage, where 'Sample\_Flow' is called with input parameters 'Company' and 'City', yielding the result in the 'outputVar' variable.

Here we go with simple scenario using the above function.

**Scenario** : In a business process automation system, administrators aim to streamline data processing workflows by invoking predefined flows. Using the fx\_invokeFlow function, they trigger specific flows with relevant input parameters and capture resulting output for further processing.

**Autolaunched Flow** **:**&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/PqGmnP_mhKkuSJQnwSY9macwzB5zM1cZWwHo31cW-tsAhEHCNAqhJk4f5dyhlDEZr4GeFwrg_UYNtYkcZDige_D9vs76nT_E_ta7oqxpUvCZqhdgvr7Qb5_BjYEWyVGWTK2MClCmF4YJ0GfNUMBmj_Y" alt=""><figcaption></figcaption></figure>

\
**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/xTcEipZCH-xEB_5r5DHxh-mrR5JCx14VnjPB6uLCdUHitkuwTqLerM3sUIwEX9LtFg81TA1K7jc9YsgulK4yi-5UpJXwPg__PBQrAQn20Dj4KQsRTf2VapmRNVnaodWNYkIRkW0NUhpVg5nBueGd_hA" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/n3HcIJ0j4LJHYrdaZDPvXd_2Mg8d3nYwlSzFF_72_FCmEDuiblFH7_cuCJRbthrtgCjYfvWOZcNGxvTXlDtA8skRUPoIkh8dByOlwyxpbNI8MWRJemyrxey2GTLaAhaCJeTeYvuYvOTvRFlRVrN2rx8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/Qwd2ZojI0hZ-u9mgxzgvD2QXI3EMSfYsjTuXaMupgNIJYlH08qaXSpl5G_RH0xZdlsJirOBXY2aEZQ3cMrQM9fG-108lQwV-wTvlD3uQ8rmnI2MUWdoLsU3cSjgT8ixw1mTu89B5L_bnDqwf1p08_Mg" alt=""><figcaption></figcaption></figure>
