
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2020 10:54 AM
Hi,
I'm working on entity scoping and came across an issue.
I would like to have an entity class for vendors and for Companies.
but vendors are actually records within the company table as well.
so I can't create a rule to map the company table to either the vendor class or to the company class.
Does this mean I would need to populate the class on my own without an entity type rule?
I guess I can try to build this automatically using business rules.
Any ideas will be most welcomed
Solved! Go to Solution.
- Labels:
-
Integrated Risk Management (IRM)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2020 10:59 PM
Hi Alex,
Indeed at the moment you can only have a single Entity Class per Table. Without any filter. I know the Product team is looking at making this more flexible in the coming releases and probably at removing the entity Tier which bring more complexity that value.
So you are correct, if you want to set 2 - or n - Entity Classes on the same Table, you can set the 1st one with an Entity Class rule (for instance Companies), but you will have to update the Classes for the sub-types you will define outside of the Entity Class Rule process (Business Rule or other Script), for instance for Vendors, Customers, Regulators, etc... for other kind of records still in the same core_company table.
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2020 12:33 AM
See this idea: https://community.servicenow.com/community?id=view_idea&sysparm_idea_id=56dfc804dbf59850feb1a851ca96...
It is slightly different but I think it may be relevant to same point.