Automation - Multiple actions [message #1718032] |
Fri, 18 December 2015 16:22 |
Smart Home Messages: 109 Registered: February 2015 |
Senior Member |
|
|
Hi,
I want to have two actions, first one generates List<String> which is transferred to the second action. Do you have any example how to define the output of first action and the input of the second one? I just need the input / output sections.
I am also a little bit confused with the output from the action. The action return values which are added to the context. Is this the mechanism that the first action send the data to the second action?
And,
When the outputs are added to the context, the rule engine adds the rule id to the key value. Why?
please note that some code in the execute function is redundant:
if (outputs != null) {
context = getContext(rUID);
updateContext(rUID, a.getId(), outputs);
}
[Updated on: Fri, 18 December 2015 16:40] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02828 seconds