# Rule Engine

**URL:** <https://forum.sierrawireless.com/t/rule-engine/6225>\
**Category:** Open AT\
**Created:** [March 25, 2013, 10:17am UTC](https://forum.sierrawireless.com/t/rule-engine/6225 "2013-03-25T10:17:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcaglar](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/mcaglar/32/4210_2.png) [@mcaglar](https://forum.sierrawireless.com/u/mcaglar)\
**Post date:** [March 25, 2013, 10:17am UTC](https://forum.sierrawireless.com/t/rule-engine/6225/1 "2013-03-25T10:17:49Z")

</div>

Hi everyone,

NOTE: Firstly I must say that I know English little bit!

I have some trouble with Rule Engine! I have to create a user defined rule over web site but I couldn’t make it well.

(Here are the rule engine and status code documentations: [geotelematic.com/docs/StatusCodes.pdf](http://www.geotelematic.com/docs/StatusCodes.pdf))

The rule that I have to create is: “If a car enters a geozone and stands in the zone more than X seconds (ignition ON or OFF) it will send me an e-mail!”

I’ve used several combinations like:  
$INZONE(“zone”) && $ELAPSED(61718,61716) \> 180  
$INZONE(“zone”) && $DORMANT(180)  
$INZONE(“zone”) && ($IGNITIONON(180) || $IGNITIONOFF(180))  
…  
and so on,

Could you please help me? ☹

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [March 25, 2013, 11:01am UTC](https://forum.sierrawireless.com/t/rule-engine/6225/2 "2013-03-25T11:01:53Z")

</div>

I can’t see that this has anything to do with Open-AT or Sierra Wireless ❓

😕

---

<div class="post-metadata">

**Author:** ![aliceta](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@aliceta](https://forum.sierrawireless.com/u/aliceta)\
**Post date:** [December 11, 2017, 4:46am UTC](https://forum.sierrawireless.com/t/rule-engine/6225/3 "2017-12-11T04:46:22Z")

</div>

A business rules engine is a software system that executes one or more business rules in a runtime production environment. The rules might come from legal regulation, company policy, or other sources
