Entity Class rule and Class by Entity Type

Matthias Ferstl
Kilo Guru

Hi community,

 

as far as I could see, Entity Classes can (or better must!) be assigned by the Entity Type.
So what do I do with Entity Class rules? Doc says it determines the class of any new object in a table, so why is assigning a Class via filter mandatory?

And most important: 
Which one overrules the other?

Couldnt find anything about it in the Docs and it would be great if you could provide some information or, if you have, sources.

Thanks in advance!

Please mark answers (not only mine) as helpful if they were
and "accepted solutions"This motivates others to take part, post solutions and find answers. Thanks! - Mat
7 REPLIES 7

Rafael Cardoso
Tera Guru
Tera Guru

Hi @Matthias Ferstl 

 

Entity Class Rules work together with Entity Classes and Entity Type. Entity classes define "class" of entities, like distinguishing a department from a business unit. Its how you categorise your entity records. Then "Entity class rules" automate the entity class assignment by assigning a class to anentity when created from a specific table.

For example, you create a new entity type to generate an entity for each new record in a specific table (e.g., table XYZ), and the system will use the entity class rule to automatically assign the appropriate class to that entity.

Raf


Helpful post? Don’t forget to bookmark it, give it kudos, or mark it as the answer to help the community grow!

Hey Raf,

 

thanks, but:

An assignment of an EC is mandatory in Entity Type Filters, so it (the class) is assigned by the Entity Type once,

just to be assigned by Class Rules again? Just found out that the assignment by class rules is deactivated OOB, which is good, i just wanted to avoid a assignment of classes that no one could explain.

Please mark answers (not only mine) as helpful if they were
and "accepted solutions"This motivates others to take part, post solutions and find answers. Thanks! - Mat

I’d recommend setting it up and considering it a best practice. You’ll likely end up using the class rules somewhere on the system or through future integrations. It’s also used by Jobs on Demand and other background processes. The setup takes less than 10 minutes, all you need to do is identify the tables you plan to use and assign the appropriate class. It’s a small effort now that prevents confusion down the line 👨‍🔧

Raf


Helpful post? Don’t forget to bookmark it, give it kudos, or mark it as the answer to help the community grow!