Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:Perseo
Description
Created question in FIWARE Q/A platform on 19-10-2018 at 11:10
Please, ANSWER this question AT https://stackoverflow.com/questions/52889847/how-could-i-do-the-following-example-with-fiware-perseo-fe
Question:
How could I do the following example with Fiware-Perseo-fe
Description:
I am trying to execute the following example:
I have created two entities in orionCB.
service= test
subservice=/subtest
I want that the rules are:
1.- if typeEvent is 1, the used attribute will be plus 1 and the free attribute will be less 1
2.- if typeEvent is 0, the used attribute will be less 1 and the free attribute will be plus 1
is it possible to do with perseo rule and subscription?
More information:
when the rules have been executing, the result will be:
-----> typeEvent:1
{ "id":"accumulator1", "type":"accumulator", "used":133, "free":82, "total":200, }---> typeEvent:0
{ "id":"accumulator1", "type":"accumulator", "used":131, "free":84, "total":200 }Activity
- All
- Comments
- History
- Activity
- Transitions