Skip to content

Commit 1a6dccd

Browse files
authored
Merge pull request #10616 from hugomendix/patch-38
Update parameter-example.jpg to use formatDateTime iso toString
2 parents 6d53be6 + c34ed07 commit 1a6dccd

8 files changed

Lines changed: 30 additions & 5 deletions

File tree

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,12 @@ 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 of a different data 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 %}}
379384

380385
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 :
381386

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 of a different data 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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,12 @@ 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 of a different data 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 %}}
383388

384389
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 :
385390

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,12 @@ 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 of a different data 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 %}}
125130

126131
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 :
127132

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ 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 of a different data 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 %}}
7479

7580
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 :
7681

10.2 KB
Loading
10.2 KB
Loading
10.2 KB
Loading

0 commit comments

Comments
 (0)