@@ -5,40 +5,40 @@ services: logic-apps
5
5
ms.suite : integration
6
6
ms.reviewer : estfan, azla
7
7
ms.topic : how-to
8
- ms.date : 01/01/2018
8
+ ms.date : 08/21/2022
9
9
---
10
10
11
11
# Create, edit, or extend JSON for logic app workflow definitions in Azure Logic Apps
12
12
13
13
When you create enterprise integration
14
14
solutions with automated workflows in
15
15
[ Azure Logic Apps] ( ../logic-apps/logic-apps-overview.md ) ,
16
- the underlying logic app definitions use simple
16
+ the underlying workflow definitions use simple
17
17
and declarative JavaScript Object Notation (JSON)
18
18
along with the [ Workflow Definition Language (WDL) schema] ( ../logic-apps/logic-apps-workflow-definition-language.md )
19
19
for their description and validation. These formats
20
- make logic app definitions easier to read and
20
+ make workflow definitions easier to read and
21
21
understand without knowing much about code.
22
- When you want to automate creating and deploying logic apps ,
23
- you can include logic app definitions as
22
+ When you want to automate creating and deploying logic app resources ,
23
+ you can include workflow definitions as
24
24
[ Azure resources] ( ../azure-resource-manager/management/overview.md )
25
25
inside [ Azure Resource Manager templates] ( ../azure-resource-manager/templates/overview.md ) .
26
26
To create, manage, and deploy logic apps, you can then use
27
27
[ Azure PowerShell] ( /powershell/module/az.logicapp ) ,
28
28
[ Azure CLI] ( ../azure-resource-manager/templates/deploy-cli.md ) ,
29
29
or the [ Azure Logic Apps REST APIs] ( /rest/api/logic/ ) .
30
30
31
- To work with logic app definitions in JSON,
31
+ To work with workflow definitions in JSON,
32
32
open the Code View editor when working
33
33
in the Azure portal or in Visual Studio,
34
34
or copy the definition into any editor that you want.
35
- If you're new to logic apps , review
36
- [ how to create your first logic app] ( ../logic-apps/quickstart-create-first-logic-app-workflow.md ) .
35
+ If you're new to Azure Logic Apps , review
36
+ [ how to create your first logic app workflow ] ( ../logic-apps/quickstart-create-first-logic-app-workflow.md ) .
37
37
38
38
> [ !NOTE]
39
39
> Some Azure Logic Apps capabilities, such as defining
40
- > parameters and multiple triggers in logic app definitions,
41
- > are available only in JSON, not the Logic Apps Designer .
40
+ > parameters and multiple triggers in workflow definitions,
41
+ > are available only in JSON, not the workflow designer .
42
42
> So for these tasks, you must work in Code View or another editor.
43
43
44
44
## Edit JSON - Azure portal
@@ -54,11 +54,11 @@ and then from the results, select your logic app.
54
54
select ** Logic App Code View** .
55
55
56
56
The Code View editor opens and shows
57
- your logic app definition in JSON format.
57
+ your workflow definition in JSON format.
58
58
59
59
## Edit JSON - Visual Studio
60
60
61
- Before you can work on your logic app definition
61
+ Before you can work on your workflow definition
62
62
in Visual Studio, make sure that you've
63
63
[ installed the required tools] ( ../logic-apps/quickstart-create-logic-apps-with-visual-studio.md#prerequisites ) .
64
64
To create a logic app with Visual Studio, review
@@ -72,26 +72,26 @@ or as Azure Resource Manager projects from Visual Studio.
72
72
or [ Azure Resource Group] ( ../azure-resource-manager/management/overview.md )
73
73
project, that contains your logic app.
74
74
75
- 2 . Find and open your logic app's definition,
75
+ 2 . Find and open your workflow definition,
76
76
which by default, appears in an
77
77
[ Resource Manager template] ( ../azure-resource-manager/templates/overview.md ) ,
78
78
named ** LogicApp.json** .
79
79
You can use and customize this template for
80
80
deployment to different environments.
81
81
82
82
3 . Open the shortcut menu for your
83
- logic app definition and template.
83
+ workflow definition and template.
84
84
Select ** Open With Logic App Designer** .
85
85
86
86
![ Open logic app in a Visual Studio solution] ( ./media/logic-apps-author-definitions/open-logic-app-designer.png )
87
87
88
88
> [ !TIP]
89
89
> If you don't have this command in Visual Studio 2019, check that you have the latest updates for Visual Studio.
90
90
91
- 4 . At the bottom of the designer, choose ** Code View** .
91
+ 4 . At the bottom of the workflow designer, choose ** Code View** .
92
92
93
93
The Code View editor opens and shows
94
- your logic app definition in JSON format.
94
+ your workflow definition in JSON format.
95
95
96
96
5 . To return to designer view,
97
97
at the bottom of the Code View editor,
@@ -117,12 +117,12 @@ Follow these general steps to *parameterize*, or define and use parameters for,
117
117
118
118
## Process strings with functions
119
119
120
- Logic Apps has various functions for working with strings.
120
+ Azure Logic Apps has various functions for working with strings.
121
121
For example, suppose you want to pass a company name from an order to another system.
122
122
However, you're not sure about proper handling for character encoding.
123
123
You could perform base64 encoding on this string, but to avoid escapes in the URL,
124
124
you can replace several characters instead. Also, you only need a substring for
125
- the company name because the first five characters are not used.
125
+ the company name because the first five characters aren't used.
126
126
127
127
``` json
128
128
{
0 commit comments