I'm using the PEX framework to create non-polling Business Services in Python. Below is the code I've used to instantiate my Python Business Service from the application I have written:
conn = iris.connect(...)
IRIS = iris.createIRIS(conn)
#...#"Demo.PEX.FlaskPEXService"The Service works fine, messages are received properly by the target Business Process as defined by my PEX service, however, every time I run Director.CreateBusinessService(), the created job terminates 'unexpectedly' once I close the IRIS connection.

.png)



.png)
This project is implemented as a tool for viewing temperature data taken from a temperature sensor installed in Rasperry PI and located in a remote place where there is Internet, for example, in .png)

.png)
.png)