Hi Lorenzo - you could try this:
- Appian makes call to BP process A via WS
- Process A adds item to queue
- Process A starts Process B via command line interface
- Process A ends (and response is returned to Appian)
- Process B works item from queue
Or this:
- Appian starts process A via command line (also passing data as input parameters)
- Appian receives immediate confirmation that process has started
- Process A works case
The difficulty in both approaches is knowing which resource machine to use and what to do if the intended machine is already busy. A resource pool could help, but all pool members could be busy too. In the first example, process B could be started by scheduler and designed to keep waiting for items to appear in the queue, so process A would only need to add to the queue.
There are multiple options, but it depends on your use case and circumstances.
------------------------------
John Carter
Professional Services
Blue Prism
------------------------------