While writing many scripts, you might encounter the same steps in many of your scripts. For example, they should close the opened window after completing a process. Instead of repeating the same steps for closing a window in each script, you can create one script to handle those steps. Then call it in every script that needs it.
Before talking about the Call Task action, you must understand your task behavior. A task may or may not contain parameters and return value. It depends on how the task is created. When it does not have parameters and return value, you will not need to input any parameters and a variable to store the return value when calling it.
So, what is the “Call Task” action?
According to its name, Call Task Action calls another task in the current task.
Call Task has four properties:
Project Name: The project that contains the task you want to call. Click the edit button to open a dialog to choose the project in the Workspace.
Task Name: The task to be called. Click the edit (pen) button to open a dialog to choose any task created under the Project Name.
Parameter: The parameters of the called task. If the task is created with parameters, then any data could be passed in this parameter property.
Return Variable: The variable to store the return variable from the task. If the task has a return value, Call Task will get the value and save it in the variable.
Here are examples of calling a task with and without parameters and a return value:
Call Task without a parameter and return value:

Call Task without a parameter and return value:

Watch these videos to see the demo:
Call Task without Parameters and Return Value:
Create a Task with Parameters and Return Value:
Call Task with Parameters and Return Value: