Extreme API with Python

Table Of Contents
Extreme API with Python
Page | 76
Part no.9036931-00 Rev AA February 2021
When created, in this example as a string type, the variable becomes accessible from the Python Script
through the emc_vars dictionary.
Here’s a quick example, creating a Python Script in a workflow. You connect the script with the Start and
End gateways, using the arrows from one object to the other, then you can click on the Run button to
execute the workflow, after a save.
The script is:
print emc_vars['MyVariable']
emc_vars['MyVariable'] = "Extreme!"
print emc_vars['MyVariable']
Note: Directly modifying an entry of emc_vars is not recommended.