|
1 | 1 | ---
|
2 | 2 | title: Workflow dynamic content
|
3 |
| -description: This article describes how to use connectors in Purview dynamic content |
| 3 | +description: This article describes how to use dynamic content like built-in variables and expressions in Microsoft Purview workflows. |
4 | 4 | author: zeinam
|
5 | 5 | ms.author: zeinam
|
6 | 6 | ms.service: purview
|
7 | 7 | ms.subservice: purview-workflows
|
8 | 8 | ms.topic: how-to #Required; leave this attribute/value as-is.
|
9 |
| -ms.date: 02/23/2023 |
| 9 | +ms.date: 02/24/2023 |
10 | 10 | ms.custom: template-how-to #Required; leave this attribute/value as-is.
|
11 | 11 | ---
|
12 | 12 |
|
13 |
| -# Workflow dynamic content |
| 13 | +# Workflow dynamic content |
14 | 14 |
|
15 | 15 | [!INCLUDE [feature-in-preview](includes/feature-in-preview.md)]
|
16 | 16 |
|
17 | 17 | You can use dynamic content inside Microsoft Purview workflows to associate certain variables in the workflow or add expression functions to process values.
|
18 | 18 |
|
19 |
| -## Current workflow dynamic content |
| 19 | +Currently available are: |
20 | 20 |
|
21 |
| -Currently, the following dynamic content options are available for a workflow connector in Microsoft Purview: |
| 21 | +* [Built-in variables](#built-in-variables) - variables that represent values coming to the workflow from the items that triggered it |
| 22 | +* [Expressions](#expressions) - an expression is a formula, built from functions and variables that can process values in-workflow. |
| 23 | + |
| 24 | +## Built-in variables |
| 25 | + |
| 26 | +Currently, the following variables are available for a workflow connector in Microsoft Purview: |
22 | 27 |
|
23 | 28 | |Prerequisite connector |Built-in dynamic content |Functionality |
|
24 | 29 | |---------|---------|---------|
|
@@ -52,27 +57,24 @@ Currently, the following dynamic content options are available for a workflow co
|
52 | 57 | | |Term.Parent.Name |The name of parent term if exists |
|
53 | 58 | | |Term.Parent.Formal Name |The formal name of parent term if exists |
|
54 | 59 | | |Term.Created By |The creator of the term |
|
55 |
| -| |Term.Last Updated By |The last updator of the term | |
| 60 | +| |Term.Last Updated By |The last updater of the term | |
56 | 61 | |When term import request is submitted |Workflow.Requestor |The requestor of the workflow |
|
57 | 62 | | |Import File.Name |The name of the file to import |
|
58 | 63 |
|
| 64 | +## Expressions |
59 | 65 |
|
60 |
| -## Expression functions |
61 |
| - |
62 |
| -Workflow definitions in Microsoft Purview now allow you to use expression functions to process values in your workflows. |
63 |
| - |
64 |
| -For example: |
65 |
| - |
66 |
| - |
| 66 | +Workflow definitions in Microsoft Purview allow you to use expression functions to process values in your workflows. |
67 | 67 |
|
68 | 68 | To find functions [based on their general purpose](#ordered-by-purpose), review the following tables. Or, for detailed information about each function, see the [alphabetical list](#alphabetical-list).
|
69 | 69 |
|
70 |
| - |
71 | 70 | When you're building a workflow and want to add an expression function to a value, follow these steps:
|
72 | 71 |
|
73 | 72 | 1. Select the value you're going to edit.
|
74 | 73 | 1. Select the **Add dynamic content** button that appears underneath the textbox.
|
75 | 74 | 1. Select the **Expressions** tab in the dynamic content window and scroll to select your value.
|
| 75 | +1. Update your expression and select **OK** to add it. |
| 76 | + |
| 77 | +:::image type="content" source="./media/how-to-use-workflow-dynamic-content/use-expressions.png" alt-text="Screenshot showing a workflow text field with Use dynamic content highlighted and the expressions tab shown."::: |
76 | 78 |
|
77 | 79 | ## Considerations for using expression functions
|
78 | 80 |
|
|
0 commit comments