diff --git a/addons/actions.md b/addons/actions.md index 4c56e9ffd..62da8e978 100644 --- a/addons/actions.md +++ b/addons/actions.md @@ -84,6 +84,10 @@ executeCommandLine("path/to/my/script.sh", itemState1, itemState2); // When you need the output in your further rule processing var ScriptResponse = executeCommandLine(Duration.ofSeconds(60), "path/to/my/script.sh", itemState1, itemState2); + +// Space separated constants must be given as separate parameters as well +// e.g. path/to/your/script.sh xyz fred.file +var ScriptResponse = executeCommandLine(Duration.ofSeconds(60), "path/to/your/script.sh", "xyz", "fred.file"); ``` ### HTTP Actions