Follow these steps to generate an analytic query using nPath:
- From the Functions pane, select any function by its name or category.
- When the function appears on the right side of the page as a function card, click BUILD QUERY.The following page opens:
- Under Input data, select Database and Table options from the drop down.
- Click Next.The following page opens:
- Under Function parameters:
- Select starting and ending patterns.
- Mention minimum and maximum number of events. Minimum number is 2 and maximum is 5.
- Path length must be set to 25.
- Select the appropriate Mode from the drop down.
- In the Session field, enter the appropriate Field and Value information.To see the description of the Session field, hover over the information icon next to the field.
- Click View Query. This automatically builds the query based on the function and the data (input data and parameter values) you entered. The generated query appears in the Editor.