Distribute default filters

By default, Helmut4 does not provide a way to distribute filters between users.

In the example below, a “blueprint” user has configured various filters for all available types:

  • FX

  • IO

  • CO Assets

  • CO Panel

The API exposes dedicated endpoints under the user section to manage search filters. You can find the complete list here: http://repo.moovit24.de:8889/?urls.primaryName=Helmut4%20-%20Users#/SearchFilters

Distribute default filters

The workflow is divided into two main parts:

Part 1

  1. Iterate over the blueprint user’s profile to retrieve all available filters and add them to the target user’s profile without modifying any existing filters.

  2. If a filter that was previously distributed from the blueprint user has been changed, delete the old version before adding the updated filter—with an appropriate note attached.

  3. Returned status:

    1. 200 - created = means a new filter has been added

    2. 200 - updated = means a filter has been updated

    3. 409 - none = means no changes have been found

Distribute and/or update filters

Part 2

The JavaScript node passes a JSON result structured with several keys, covering each filter’s properties—such as filter name, type, criteria, status, and change.

These data are extracted, and a dedicated HTML page is rendered to present them in a user-friendly format via a send-message node.

Generate html report from filter processing

Last updated