Overview

This section gives an overview over the the scenario that is employed in this sample, as well as the query table that will be created in the Build it Yourself section.

Scenario

The scenario for this sample is the insurance claim process, in which an insurance company assesses a customer's claim and decides whether or not it will pay for it. The process is triggered when a message is received that contains information about the customer, as well as about the insurance claim. In the next step, a human task is created and an employee of the insurance company will review the given claim information. Depending on the employee's decision, the claim will be approved or rejected.

Note:

This is the process that is also being used in the Query Properties sample.

In this scenario, the employee frequently needs to list all review tasks that still have to be assessed, and for which he or she is authorized to perform the review. Therefore, it is necessary to create a query on the available insurance claim review tasks.

Query table

The query table that will be created for this scenario has to contain all task instances that are in the state ready and that are participating tasks, because the employee only needs review tasks that still have to be assessed. Moreover, only those tasks should be included for which the employee is a potential owner. For each task instance, the ID and the name have to be included in the query table, as well as the description of the task.

In addition, the query table has to provide the ID and the name of each task's process.

Finally, the query table should also include the detail information of each review task, consisting of the customer ID, the claim description and the claim amount. This allows the employee to directly see the details for each review task in the list of tasks that still need to be processed.

Query table definition file

The file created by the Query Table Builder is a query table definition file, which has the file extension .qtd.