I am developing a protocol to receive a command from an automation and return processed data. Looking at the documentation I saw that there are the InterApp classes, but It's not working.
These are the model classes I created:
I created an executor using the DIS Snippet and this is the CreateReturnMessage method:
This is the Executor Trigger
Below is the automation script code that sends the command and waits for the response from the element.
Am I missing something?
Thanks in advance
At first glance, the logic seems correct, however I would check the following things to make sure:
- Could you confirm in which part the flow is not working? Is it the QAction that is not receiving anything or is the automation that is not receiving a reply?
- As per the note in this page, the classes used must have the same namespace and when just placing them on a QAction or Automaction script they will have different namespaces
- Verify that the rest of the executor is correctly implemented and is reaching the CreateReturnMessage method (see: InterApp Executor)