Formatting Values

Description

Description fields of Targetprocess entities contain HTML-formatted text. It should be processed properly by special methods of Tool object. Raw text cannot be included to emails 'as is'.

Process Description of Assignable entity:

${tool.Process($entity.Description)}

Process Description of Comment:

${tool.Process($tool.ApplyStyleToMention($entity.Description,"padding: 0 2px; margin: 0; background: #fff2cc;"))}

Date

Values in Date fields can be formatted with proper precision:

${entity.CreateDate.ToString("dd-MMM-yyyy")}
${entity.CreateDate.ToString("hh:mm tt")}
${entity.CreateDate.ToString("HH:mm:ss.ffffzzz")}

More examples about formatting date: https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tostring?view=net-8.0