You are not logged in.
Pages: 1
Can someone explain how the and/or operator works in conjunction to the criteria?
I'd like to have a rule that if it is entered by email AND the title is AAA or BBB or CCC then it follows the actions assigned.
Thanks,
Dan
Offline
Witch rule ? witch version of GLPI ?
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
Sorry.
Business Rule
V 0.83.2
Thanks,
Dan
Offline
> I'd like to have a rule that if it is entered by email AND the title is AAA or BBB or CCC then it follows the actions assigned.
This is not possible.
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
Can I get that to happen if I have several rules?
Rule 1 = entered by email AND the title is AAA
Rule 2 = entered by email AND the title is BBB
Rule 3 = entered by email AND the title is CCC
Thanks,
Dan
Offline
Yes
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
Thanks!
Thanks,
Dan
Offline
You can also use a single rule:
Operator : AND
Criterias
Source = email
Title "regex verify" /(AAA|BBB|CCC)/
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
ok.... can you please explain that further for me, as I don't understand it fully.
Thanks,
Dan
Offline
Would this be correct?
Title regular expression checks /(pano|monitor|phone)/
Thanks,
Dan
Offline
Yes.
But use the "test" button under the rule to verify
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
This type of info should be in the documentation. (or have I just missed it?)
Thank you - you are a tremendous help!
Thanks,
Dan
Offline
Pages: 1