- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2020 12:00 PM
We are currently using Discovery to manage our inventory. We have discovery schedules setup with an specific location that run every day for different IP addresses range. However, we are running into the issue that the Company field is not being populated for the CIs, therefore the assets created don't have a company either. When I run Discovery, the location is set up properly, but the company stays empty. I have tried different types of Business Rules, but nothing seems to work. We are not domain separated, which means all of our inventory is in the global domain.
Is there something that can set the Company of the record to be the company of the Location?
Thank you.
Solved! Go to Solution.
- Labels:
-
Enterprise Asset Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2020 12:04 PM
Did you try a business rule that runs on insert and update IF the company is NULL? Then in the Set Actions set the company to the same as location.company? This shouldn't require scripting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2020 12:04 PM
Did you try a business rule that runs on insert and update IF the company is NULL? Then in the Set Actions set the company to the same as location.company? This shouldn't require scripting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2020 05:11 AM
Yes, I have created a Business Rule with those conditions and the action you are suggesting, but it still doesn't work, the company is still being set to empty for new records and it does't populate the company for the existing ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2020 12:09 PM
Michael,
Where do you put IF company is NULL?
Thanks,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2020 05:27 AM
Hi Astrid,
Few things to be checked,
- Does the Run As account has access to Company Table?
- Are we hard coding the Company Name, if so check one of discovered CI in XML view, the company name would have been set as sys_id
Regards,
Bala T