You are not logged in.
Pages: 1
Topic closed
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
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
Logical operator = or
Active = yes
First rule:
OCSNG TAG is 10
Entity Assign Campus1
Second rule:
OCSNG TAG is 11
Entity Assign Campus2
Offline
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
Yes the tag is in OCS
Offline
Update
I was running version .80 and recently updated to .83.3 and the rules are now functioning as they should.
Offline
Pages: 1
Topic closed