Execute linux command through Flow Designer

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 02:28 PM
Hi,
I'm trying to execute a linux command through flow designer/integration hub
I created a flow with a script step activity with the following script executing
(function execute(inputs, outputs) {
RunCommand('/path/to/myscript');
})(inputs, outputs);
running on:
Select Mid Server using: Any MID
RunCommand is not the right statement and this is failing with "RunCommand is not defined"... is it feasible? What I basicall want to do is to call a node script that I was able to do through ECC queue but i would like to use flow designer for that... The underlying use case is the integration with a technology that support node-like API (Hyperledger Fabric blockchain).
Thanks,
Nicola
Labels:
- Labels:
-
flow designer
-
IntegrationHub
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 09:49 PM
You need to create ECC queue probe command from flow designer script step.
You can call your command from ECC queue probe.
Regards,
Sachin