Skip to content

Commit 50621f2

Browse files
committed
Update parameter-example.jpg to use formatDateTime iso toString
1 parent a91012d commit 50621f2

8 files changed

Lines changed: 34 additions & 5 deletions

File tree

content/en/docs/refguide/modeling/application-logic/workflows/workflow-elements/multi-user-task.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,13 @@ To add a parameter to the **Task name** or the **Task description**, do the foll
375375

376376
{{< figure src="/attachments/refguide/modeling/application-logic/workflows/workflow-elements/user-task/parameter-example.jpg" alt="Parameter Example" class="no-border" >}}
377377

378-
{{% alert color="info" %}}Make sure that the attribute you use in the expression is of the string type.{{% /alert %}}
378+
{{% alert color="info" %}}
379+
Make sure that the attribute you use in the expression is of the **String** type. If your attribute is a different type, you must convert it using a build-in function:
380+
381+
* For **Date and time** attributes, use the `formatDateTime()` function to define the desired display format.
382+
* For all other types (such as **Integer**, **Decimal**, or **Boolean**), use the `toString()` function.
383+
{{% /alert %}}
384+
379385

380386
4. In the **Template** setting, write the text you would like to display and type **Index** of the parameter you would like to include. For example, you can add a template for the **Task description** specifying the name of the workflow and what the workflow due date is :
381387

content/en/docs/refguide/modeling/application-logic/workflows/workflow-elements/user-task.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,12 @@ To add a parameter to the **Task name** or the **Task description**, do the foll
174174

175175
{{< figure src="/attachments/refguide/modeling/application-logic/workflows/workflow-elements/user-task/parameter-example.jpg" alt="Parameter Example" class="no-border" >}}
176176

177-
{{% alert color="info" %}}Make sure that the attribute you use in the expression is of the string type.{{% /alert %}}
177+
{{% alert color="info" %}}
178+
Make sure that the attribute you use in the expression is of the **String** type. If your attribute is a different type, you must convert it using a build-in function:
179+
180+
* For **Date and time** attributes, use the `formatDateTime()` function to define the desired display format.
181+
* For all other types (such as **Integer**, **Decimal**, or **Boolean**), use the `toString()` function.
182+
{{% /alert %}}
178183

179184
4. In the **Template** setting, write the text you would like to display and type **Index** of the parameter you would like to include. For example, you can add a template for the **Task description** specifying the name of the workflow and what the workflow due date is :
180185

content/en/docs/refguide10/modeling/application-logic/workflows/workflow-elements/multi-user-task.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,13 @@ To add a parameter to the **Task name** or the **Task description**, do the foll
379379

380380
{{< figure src="/attachments/refguide10/modeling/application-logic/workflows/workflow-elements/user-task/parameter-example.jpg" alt="Parameter Example" class="no-border" >}}
381381

382-
{{% alert color="info" %}}Make sure that the attribute you use in the expression is of the string type.{{% /alert %}}
382+
{{% alert color="info" %}}
383+
Make sure that the attribute you use in the expression is of the **String** type. If your attribute is a different type, you must convert it using a build-in function:
384+
385+
* For **Date and time** attributes, use the `formatDateTime()` function to define the desired display format.
386+
* For all other types (such as **Integer**, **Decimal**, or **Boolean**), use the `toString()` function.
387+
{{% /alert %}}
388+
383389

384390
4. In the **Template** setting, write the text you would like to display and type **Index** of the parameter you would like to include. For example, you can add a template for the **Task description** specifying the name of the workflow and what the workflow due date is :
385391

content/en/docs/refguide10/modeling/application-logic/workflows/workflow-elements/user-task.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,13 @@ To add a parameter to the **Task name** or the **Task description**, do the foll
121121

122122
{{< figure src="/attachments/refguide10/modeling/application-logic/workflows/workflow-elements/user-task/parameter-example.jpg" alt="Parameter Example" class="no-border" >}}
123123

124-
{{% alert color="info" %}}Make sure that the attribute you use in the expression is of the string type.{{% /alert %}}
124+
{{% alert color="info" %}}
125+
Make sure that the attribute you use in the expression is of the **String** type. If your attribute is a different type, you must convert it using a build-in function:
126+
127+
* For **Date and time** attributes, use the `formatDateTime()` function to define the desired display format.
128+
* For all other types (such as **Integer**, **Decimal**, or **Boolean**), use the `toString()` function.
129+
{{% /alert %}}
130+
125131

126132
4. In the **Template** setting, write the text you would like to display and type **Index** of the parameter you would like to include. For example, you can add a template for the **Task description** specifying the name of the workflow and what the workflow due date is :
127133

content/en/docs/refguide9/modeling/application-logic/workflows/workflow-elements/user-task.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,13 @@ To add a parameter to the **Task name** or the **Task description**, do the foll
7070

7171
{{< figure src="/attachments/refguide9/modeling/application-logic/workflows/workflow-elements/user-task/parameter-example.jpg" alt="Parameter Example" class="no-border" >}}
7272

73-
{{% alert color="info" %}}Make sure that the attribute you use in the expression is of the string type.{{% /alert %}}
73+
{{% alert color="info" %}}
74+
Make sure that the attribute you use in the expression is of the **String** type. If your attribute is a different type, you must convert it using a build-in function:
75+
76+
* For **Date and time** attributes, use the `formatDateTime()` function to define the desired display format.
77+
* For all other types (such as **Integer**, **Decimal**, or **Boolean**), use the `toString()` function.
78+
{{% /alert %}}
79+
7480

7581
4. In the **Template** setting, write the text you would like to display and type **Index** of the parameter you would like to include. For example, you can add a template for the **Task description** specifying the name of the workflow and what the workflow due date is :
7682

10.2 KB
Loading
10.2 KB
Loading
10.2 KB
Loading

0 commit comments

Comments
 (0)