Using an entity filter

In this example, we will create the previously mentioned filter to show how it works.

We will start this part by adding a new filter. This can be done by clicking on the button Add filters. This will generate a new part of the form.

For the prototype, we are going to select a Value condition. This filter will check a value in our entity and determine if it will pass. Before we can check the value, we need to know where the value is located. This can be selected with an accessor. For the Accessor field, we can select a pattern accessor. This accessor will select our entity's data based on a pattern. The data is located under the status key, so we will be using status as our value.


We can now configure the condition. Click on the Add conditions button. A new form will be displayed. We want to check whether the value we selected with the accessor matches against a string. So for the prototype, we're going to select the Equals condition. This will expand the form even further. The data we are comparing against is a string. From the dropdown under the Value label, select String. The field next to it expects a value to which we are going to compare the value from the entity. We can fill in paid in this field.


The filter is now setup. To test this configuration we can click on the Test button in the sidebar. The result will look like the following:


We can see that nothing changed in our entity. To ensure the filter is working, we can change the value in our condition to something else. In the form, change the paid value to processing. Now hit Test again.


The entity has been filtered away.

To continue to the next step, we are going to remove our filter configuration. Click on the cross next to the Value condition dropdown. This will remove all the configuration for our condition.