The Python automation package enables you to invoke and execute a python script wherever necessary, throughout the flow of the process. This is made possible by using the RunPythonScript component available in the SmartDesigner tool. It is grouped under the Python Automation package.

When to use the RunPythonScript activity

This activity helps you invoke a python script to carry out operations during execution.

RunPythonScript

Figure 1

Activity Name

Picture

RunPythonScript

a                 

Technical Reference

Figure 2

2

Parameters Field:(Collection)

Provide the Name of the Argument, select the Direction from the dropdown as In. Select String as the variable Type and provide the value. Click on Ok.

Figure 3

3

t   In the Text field, define a string variable to store the executed output. 

a Activity: The RunPythonScript activity helps you execute/run a python script that comprises of any operations that is required to be invoked during the process.

Illustration

  • Double click on the activity and map the EnvironmentPath - path of the python exe that is being deployed with the ScriptPath  path of the executable script is stored.

Figure 4

5

Figure 5

4

 

5.0.3