Supported macros for the Assisted Text Authoring widget
This table shows the supported macros for the Assisted Text Authoring widget:
| Macro | Syntax | Description | Sample value |
|---|---|---|---|
DATE(day) |
DATE(day) |
Returns a date value based on the number of days from today. | DATE(0) |
IIF(list, condition, output) |
IIF(list, condition, output) |
Iterates through each record in the specified list, evaluates the condition, and returns the output when the condition is true. RECORD refers to the current record in the list. |
IIF(ListItemHierarchyTask, {RECORD.HIE0} === {GetItemBasicTask.HIE1}, "Hierarchy Level 1: {RECORD.TX15}") |
IIF(condition, output) |
IIF(condition, output) |
Evaluates the condition and returns the output when the condition is true. | IIF({languageDescriptionVariable} === "", "Describe this item in five sentences in an appealing way.") |
UserContext |
{UserContext.<field>} |
Retrieves values from User Context (MNS150MI/GetUserData). | {UserContext.CONO} |