Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse SmartHome » Automation - Multiple actions(New rules engine)
Automation - Multiple actions [message #1718032] Fri, 18 December 2015 16:22
Smart Home is currently offline Smart HomeFriend
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

Previous Topic:Channel states/commands on the event bus
Next Topic:writeOnly channel
Goto Forum:
  


Current Time: Thu Apr 25 07:03:54 GMT 2024

Powered by FUDForum. Page generated in 0.02828 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top