======= GetAllTasks ===== Returns all tasks of the message and its elements (attachments, envelopes and documents). The parameters are optional: * Code: a regular expression to obtain tasks with a specific code. * Error text: a regular expression to obtain tasks with a specific error text. * TaskMessage: a numeric value from [[en:troubleshooting:errorcodetable|]]. For example, 2201 for filtering for mapping errors. ==== syntax: ==== GetMessageTasks(Code, Error text, TaskMessage) ==== Examples ==== In the MessageSelector, select all the messages: * that contain a mapping task (code 2201) and * the error text "Selection is empty /SelectionBase/InputMessages[ GetAllTasks('', 'Selection is empty', 2201 )] In Mapping: {{:transformation:mappings:funktionen:allgemein:mapping_get_all_task.png|}}