CMS

Entity type property. Selector settings

7min

You can customize the entity selector based on your preferences.

Document image


To access the settings of the selector go to CMS/Workflow definition settings -> Properties -> Selector settings

Document image


On this tab, you can edit the number of search results and edit the view of the filtering table.

If the number of results is not set, only 6 items will be shown

Document image


Edit view

You can edit the table view of the entity selector by clicking on the 'edit view' button.

Document image


In the settings, you can set filters (which means that you can show only certain items), choose columns to display, and set the sorting.

Document image


If those settings are empty the filtering table will display only the titles of items.

Document image


Filters

You can set predetermined filters to show only those items that you need. Let`s look at the example - >

I have a process that sends emails to my customers, and I want to choose those customers that agreed to receive emails. To achieve this I need to set the filters like this ->

Document image


Now only customers that agreed to receive emails will show up in the selection.

Document image


The number of active filters is also displayed on the 'filtering table' icon.

Document image


The customers that have agreed to the emails will also be shown in the dropdown list of the entity selector

Document image




Computed filters

You can also use computed filters, this can create a more flexible selection. To enable a computed filter you need to click the 'lightning' icon when adding the filter to enable the computed mode.

Document image


Let`s look at the example - we want to browse only those contacts that are members of the organization that we select in our process. First, we need to get the 'property ID' of the organization property in our process.

Document image


In our process, this ID is 'company'.

Then we need to go to the settings of the selector of the 'contact' property.

Document image


Then we need to create a condition, where the organization of a contact should be the same as the organization that we selected in our process.

Document image


As you can see the organization`s entity ID should be the same as the entity ID of the organization in our process that is why the link to the property looks like that - company.entityId.

Now we can choose the organization, in our case, it`s Xpower N.V.

Document image


When we click on the 'contact' field only members of Xpower N.V. will be shown.

Document image