You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-05-31 19:42:34

neight
Member
Registered: 2012-05-31
Posts: 7

The engine stops on the first checked rule

I am having problems creating rules for assigning a computer to an entity.  I am in a school district and have mutiple campuses which I have assigned as their own individual entities.  I have OCSinventory running and importing into GLPI and would like to enable rules to automatically assign equipment to an entity based off the OCSinventory TAG.  I have created 2 of the rules and when testing, found that everything is assigned to the first rule regardless if it meets the criteria for the rule or not.  I noticed on the top of the page that it says "The engine stops on the first checked rule" which if I understand this correctly, GLPI is checking the first rule and stops assiging it to the only option available which is the first rule.

I need to know if I am missing something in creating a list of rules that the criteria will be checked and assign to the proper entity or if this is a useless rule set.

Thanks

Offline

#2 2012-05-31 20:01:24

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: The engine stops on the first checked rule

More information about your rules please ?


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#3 2012-05-31 21:30:48

neight
Member
Registered: 2012-05-31
Posts: 7

Re: The engine stops on the first checked rule

Logical operator = or
Active = yes

First rule:
OCSNG TAG    is    10
Entity    Assign    Campus1

Second rule:
OCSNG TAG    is    11
Entity    Assign    Campus2

Offline

#4 2012-06-01 08:43:10

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: The engine stops on the first checked rule

And in OCS, you have the TAG ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#5 2012-06-02 16:08:43

neight
Member
Registered: 2012-05-31
Posts: 7

Re: The engine stops on the first checked rule

Yes the tag is in OCS

Offline

#6 2012-06-05 20:29:42

neight
Member
Registered: 2012-05-31
Posts: 7

Re: The engine stops on the first checked rule

Update

I was running version .80 and recently updated to .83.3 and the rules are now functioning as they should.

Offline

Board footer

Powered by FluxBB