Defining a multipart filter

When we first introduced filter capabilities, we highlighted the possibility of creating multipart filters. Unlike last time where we wanted POS messages, we are going to extend the expression to be allowed a POS report for only flights that have the ICAORef values for British Airways (BA) or KLM Royal Dutch Airlines (KLM).

The first step is to recreate the filter, as we explained earlier in the chapter. Once that is complete, click on the ()+ button; this will provide a menu with the All of and Any of values. As we want ICAORef to be accepted with a value of either BA or KL we should click on Any of.

This will display a new expression block where we can drag and drop ICAORef from the inputs side into the top field and set the bottom field to BA. To add the second condition as part of the Any Of list we click on the + symbol while the BA entry is still in the view, and then repeat this to define the KLM option. At the end of the process, the expression should appear as follows:

Defining a multipart filter

The last step is to edit the Expression Name to IsPOS. With that complete, as before we can save the condition and exit the Condition Builder. The integration is also complete, so we can save the entire integration and return from the integration editor back to the integrations list view, where we can activate the completed integration.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset