Skip to content

Commit d6397d2

Browse files
authored
Update action-json.md (#5417)
* Update action-json.md fix where expression syntax * Update action-json.md
1 parent a7308d5 commit d6397d2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

hub/apps/develop/actions/action-json.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,21 @@ This article describes the format of the action definition JSON file format for
3535
"inputCombinations": [
3636
{
3737
"inputs": ["UserFriendlyName"],
38-
"description": "Greet ${UserFriendlyName.Text}"
38+
"description": "Greet ${UserFriendlyName.Text}",
39+
"where": [
40+
"${UserFriendlyName.Length} > 3"
41+
]
3942
},
4043
{
4144
"inputs": ["UserFriendlyName", "PetName"],
42-
"description": "Greet ${UserFriendlyName.Text} and their pet ${PetName.Text}"
45+
"description": "Greet ${UserFriendlyName.Text} and their pet ${PetName.Text}"
4346
}
4447
],
4548
"contentAgeRating": "child",
4649
"invocation":
4750
{
48-
{
4951
"type": "Uri",
5052
"uri": "contoso://greetUser?userName=${UserFriendlyName.Text}&petName=${PetName.Text}",
51-
},
52-
"where": [
53-
"${UserFriendlyName.Length > 3}"
54-
]
5553
}
5654
},
5755
{

0 commit comments

Comments
 (0)