Right trim
Value resolver – Abstract
Purpose: Removes trailing whitespace characters from a string passed as input value.
The Right trim value resolver removes trailing whitespace characters from a string passed as input value.
If no value ($null) is present as input value, no value ($null) is returned.
For input values that are not strings, their string mapping is processed.
Configuration
The Right trim value resolver expects a string as input value and does not use any parameters.
Example
Whenever a Lobster Data Platform / Orchestration client session is logged in via login or the browser is reloaded with an already logged in session, it is then checked whether a notification (in the form of a text file) exists for the current calendar day. If this is the case, the text from this file is displayed in a message box.
The administrator can upload messages per calendar day to a non-public folder set up for this purpose of the Lobster Data Platform / Orchestration server file system (./upload/billboard/alert/).
The format for the file name is arranged as follows: <Stichtag im Format yyyyDDmm>_all.txt so e.g. 20220630_all.txt for a message that is displayed on 30th June 2022.
To prevent the message windows from being unnecessarily large, whitespace (spaces and before all blank lines) at the end of the message should be automatically removed.
Runtime example:
Configuration:
The 'Client logged in' and 'Client reloaded' events (see Login (Events)) are selected as Triggering events for event handling. The Validating rule uses an Entity property rule to determine whether the agreed directory contains a message for the current calendar day:
►NOTE◄
|
|