Creating application logs for your processes

For those who are wondering, these are the exact steps that you need to perform to set up a filter for application log records with the new approach:

  1. Make sure that you have the “Expression tools plugin” revision 115202 or higher added to your component.
  2. Use the process “N_Application log - Write log with dynamic record reference” as mentioned above to write your logs.
  3. Make sure that you consume the concept N_ApplicationLog and create a virtual page for it:
  4. Add a new function to the virtual page called “is linked to record()” of the type “boolean”:
  5. Click on the plugin button to apply the “Expression tools” plugin to your new function:
  6. Chose the option “record links to me” from the available options and click OK. Do not worry about the red colors, it should work fine.
  7. Click OK again:
  8. Make sure you consume the feature “N_Record reference v2” for the “N_ApplicationLog” concept:
  9. Right click on your new function and then on “properties”:
  10. Go to the plugin configuration tab and fill in the fields with the consumed features. Then click OK:
  11. Your new function is now ready and can be used anywhere to filter application logs. For example, within other expressions for processes or as a filter for grids of application logs, for example: