SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Hi Michael,
It depends on what you mean by programatically.
It is possible to start a processor from another processor. (See section 9.9 in the Smart Connector Developer's guide). However, this assumes you are running the code from Smart Connector. If you are talking about executing a Smart Connector processor via a web service, then No, there is nothing built into Smart Connector that allows this. But in theory you could write a custom REST endpoint in Smart Connector that leverages the ActionBroker api (described in section 9.9).
9.9 Coordinating Actions
From time to time, circumstances may arise in your Extension development where one Processor needs to spawn another. SmartConnector supports this functionality via a dependency injected instance of the IActionBroker interface. Additionally, all Processor and EWS Server Processor sub-classes have an ActionBroker property available to them. See Figure 86 for an example.
See Mongoose.Common.IActionBroker interface for available properties and methods.
Best Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi Michael,
It depends on what you mean by programatically.
It is possible to start a processor from another processor. (See section 9.9 in the Smart Connector Developer's guide). However, this assumes you are running the code from Smart Connector. If you are talking about executing a Smart Connector processor via a web service, then No, there is nothing built into Smart Connector that allows this. But in theory you could write a custom REST endpoint in Smart Connector that leverages the ActionBroker api (described in section 9.9).
9.9 Coordinating Actions
From time to time, circumstances may arise in your Extension development where one Processor needs to spawn another. SmartConnector supports this functionality via a dependency injected instance of the IActionBroker interface. Additionally, all Processor and EWS Server Processor sub-classes have an ActionBroker property available to them. See Figure 86 for an example.
See Mongoose.Common.IActionBroker interface for available properties and methods.
Best Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Thank you Jeff!
Mike
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.