Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Action name

CreateLongDescriptionElementList

Class name

com.cdrator.misc.action.CreateLongDescriptionElementList

Available from core version

8.7

Description

Creates a list of LongDescriptionElements based on a mail template. The values are retrieved by using MethodCaller.The mail template must be in text format. It must and contain a key, value and style delimited by some configurable character(s) . The key will be added in LongDescriptionElement.Text The value must be in the format SUBSCRIPTION.getService.getSimCard.getPin1 which will be resolved and put in LongDescriptionElement.Value. The objects used for retrieving the values must be in context.Last a style object must be included - it sets the LongDescriptionElement.HighLight field. (Only 'bold' will set highlight to true)Example: Pin1,SIMCARD.getPin1,normal - delimiter is ',' SIMCARD must be in context and text will be set to Pin1 and value resolved.Of course more lines can be added.An existing list can be passed in and the resolved list will be added to this existing list. If there is no list to add simply pass in 'Collections emptyList()'

Return value

List: List of LongDescriptionElements

Properties

  1. delimiter: Delimiter used for splitting the mail template text into key/value pairs. It must be a regular expression. Example : ',' will split at , and newline
Parameters
  1. String: template
  2. WfContext: context
  3. List: addToExistingList

 

CreateLongDescriptionElements

...