Skip to content

Commit

Permalink
Update plain_rules.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega authored Oct 3, 2023
1 parent 5e35d43 commit 6cf1e4f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/API/plain_rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ There are two kind of rules:
"type": "email",
"template": "No signal in temperature",
"parameters": {
"to": "brox@tid.es",
"from": "dca_support@tid.es",
"to": "brox@acme.com",
"from": "dca_support@acme.com",
"subject": "temperature no signal"
}
}
Expand Down Expand Up @@ -338,8 +338,8 @@ email can be set in the field `subject` in `parameters`.
"type": "email",
"template": "Meter ${Meter} has pressure ${Pressure} (GEN RULE)",
"parameters": {
"to": "someone@telefonica.com",
"from": "cep@system.org",
"to": "someone@acme.com",
"from": "cep@acme.com",
"subject": "It's The End Of The World As We Know It (And I Feel Fine)"
}
}
Expand All @@ -355,8 +355,8 @@ Additionally, Email action could include a `smtp` field to include SMTP configur
"type": "email",
"template": "Meter ${Meter} has pressure ${Pressure} (GEN RULE)",
"parameters": {
"to": "someone@telefonica.com",
"from": "cep@system.org",
"to": "someone@acme.com",
"from": "cep@acme.com",
"subject": "It's The End Of The World As We Know It (And I Feel Fine)",
"smtp": {
"port": 25,
Expand Down Expand Up @@ -905,8 +905,8 @@ could be used by a rule so
"type": "email",
"template": "Meter ${Meter} has pression ${Pression} (GEN RULE) and system is ${BloodPressure__metadata__crs__system}",
"parameters": {
"to": "someone@org.com",
"from": "perseo_cep@telefonica.com",
"to": "someone@acme.com",
"from": "perseo_cep@acme.com",
"subject": "MD VALUE: ${BloodPressure__metadata__crs__system}"
}
}
Expand Down

0 comments on commit 6cf1e4f

Please sign in to comment.