Python

Comments

  • [font=Arial, sans-serif]I just noticed that there is a python execution module in Decisions: do you have documentation on how to integrate python with Decisions?[/font]

  • [font=Roboto, Arial, Helvetica, sans-serif]Our Documentation does cover the use of our [/font][url=https://documentation.decisions.com/docs/python-module]Python Module[/url][font=Roboto, Arial, Helvetica, sans-serif]. You would need to have the latest [/font][url=https://www.python.org/downloads/]Python interpreter[/url][font=Roboto, Arial, Helvetica, sans-serif] downloaded and to specify the path to it in Python Module Settings. Decisions can generate steps for individual Python scripts added to Python projects and there is a step, Execute Python Script, for running raw Python scripts. Python steps in Decisions will only output strings under the 'Success' path, so if you intend to pass an object from the script to Decisions, it should be in XML or JSON format. The outputs of your scripts can also be written to a text file or inserted into a database then read into Decisions and converted to its proper type(s). Here is an example of Decisions executing [/font][font=Consolas, \"Courier New\

  • Can you provide some doucmentation around how to use the Python module to send input arguments and getting output from the Script, In general the documentation needs to improve, most of the times there is no proper description of how certain functionalities can be used.

Sign In or Register to comment.