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 2023-04-28 15:48:41

AndiMb
Member
Registered: 2022-11-11
Posts: 12

What does "Automatic inventory" in a "Business rules for assets" mean?

Hi,

I'm trying to create a Business rule for assets in GLPI 10.0.7 to set the status of a computer to "active" or some other value, if the GLPI Agent is delivering the inventory data. I thought, I have to set the criteria "Automatic inventory" to "is yes" in the case of a GLPI Agent inventory. But this does not work. It only works, if "Automatic inventory" is set to "is no". The result is that a manual change of the computer data will trigger the rule. So, is this a bug or what does "Automatic inventory" stand for?

Regards,
Andreas

Offline

#2 2023-04-28 18:09:53

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: What does "Automatic inventory" in a "Business rules for assets" mean?

It seems like a bug. I believe that you are correct in that it is meant to indicate if the update was done automatically through an inventory process or manually. However, I don't see anywhere in the code that actually sets this to 1 or true and the default value of 0 seems to always be used.

You can report the bug on the GitHub:
https://github.com/glpi-project/glpi/is … report.yml


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-05-02 08:54:35

AndiMb
Member
Registered: 2022-11-11
Posts: 12

Re: What does "Automatic inventory" in a "Business rules for assets" mean?

I started an issue at github #14609

Offline

Board footer

Powered by FluxBB