Entity Creation/ Updation
How to create a When Entity
- From the Left Hand Side Navigation, Click "When Entity" from the "Rule Catalog", A popup modal opens where fillin the necessary details and save.
- The new when entity created is now listed in the when Entity table.
How to create a Then Entity
- From the Left Hand Side Navigation, Click "Then Entity" from the "Rule Catalog", A popup modal opens where filling the necessary details and save.
- The new then entity created is now listed in the then Entity table.
Key-highlights
- Once a when/then entity is created, users are not allowed to change the Entity Display Name, Entity Key, Entity type, Request type.
- Entity key should be unique.
- User can add additional projects/ possible values, but cannot remove the projects/possible values already added.
- If you dont have the write permission, the "Add" button stays disabled.
- Before creating a rule make sure the desired when and then entities are assigned to that project.
- Only then enabled projects will be listed for then entity creation.
- The "Required" field and the "Rich Text Editor" will only be available for use in the Config project.
How to update an Entity
- click on the desired when/then entity from the table opens the entity modal where you can edit and save the changes
- Once a when/then entity is created, users are not allowed to change the Entity Display Name, Entity Key, Entity type, Request type.
- User can add additional projects to the existing selection but can't remove the already saved projects.
- similarly user can add additional possible vales but not allowed to remove the already saved values.
What Read only user can do
- Users those who have "rule_entities_read_write" or "tenant_admin" will be able to Add new entities or update an existing entity.
- "Add" button will be disabled for the users with read only permission.
- On click of existing entity from the table opens the entity edit page in disabled mode.