Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recursive injection impossible over entities #397

Open
nsi-test opened this issue May 31, 2024 · 2 comments
Open

recursive injection impossible over entities #397

nsi-test opened this issue May 31, 2024 · 2 comments

Comments

@nsi-test
Copy link

I made a model in the root entity concerning updating inventory/asset numbers of monitors, as serial number being the defining field. The monitors I need to update are in various sub-entities of root. (allow line creation -> no, allow lines update -> yes, allow update of existing fields -> yes, entity -> root, sub-entities -> yes). The csv file is one for all. I would like to do it for all of them at once, but it is not possible. I have to go change the current entity for every group every time to execute the model successfully. This is very tedious. As far as I can see the recursive execution in that case is not possible. Why is that?
GLPI 10.0.14, Data injection 2.13.5.

@erique-souza
Copy link

I have the same problem, in my case they are computers trying to use the serial number as a comparison, but the same as described, the equipment is in several different entities and when I try to import it only imports/checks for the root entity and ignores the other entities

I was even able to select the entity I want to import and the import works like this, but if I need to do this for 3 thousand lines in different entities, this is a problem

@soupisawesome
Copy link

I have this problem as well.

I want to update several hundred assets across many entities. I made a model that is in the root and allow sub-entities. Does not allow line creation, but does allow line update.

The file of data doesn't say or have the ability to know the entity of the asset, but it knows the serial number and name of the item, so it should be able to find the asset.

In order to do this with the current version of datainjection, I would have to import the file 15 times, once for each entity. I would then have to export the failures file and compare them to make sure everything was imported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants