Open action
- Updated: 2025/06/04
The Open action in the Python Script package opens the session.
Settings
Note: When you execute the Python script using the Import existing
file option and if the input file name is different from the system file
name, for example, system file name is
JiraTest.py
and the filename you
provided in the bot is jiratest.py
, the bot execution
fails.The Import existing file field is case-sensitive. If you are uploading a script from a file on your desktop, ensure you use the same naming convention for the filepath.
- In the
Python
field, choose one of the following options:
- In the Import existing file option, select an existing
Python Script file.Note: If you are uploading a script from a file on your desktop, the file and any dependencies must be in a standalone folder. When you select a file for upload, all files and folders at the same folder level are uploaded.
- In the Manual input option, enter the Python Script.
- In the Import existing file option, select an existing
Python Script file.
- In the Python runtime version field, select
2 or 3 to specify the runtime
version.Note: Select the runtime version based on the version of Python installed on the device.
- Select any of the following tabs to create a Python session:
- Local session: Specify a session name that can be used only in the current bot.
- Global session: Specify a session name that can be used
across multiple bots, such as parent bots and
child bots.Recommendation: The parent and child bots should have the same package version.
- Variable: Specify or create a session variable of subtype Python script session.