Skip to content

Commit 637d81b

Browse files
authored
Merge pull request #103772 from AbhishekGarg/patch-1
Rectify syntax for setProperty for child property
2 parents 203f530 + 1eb3869 commit 637d81b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/logic-apps/workflow-definition-language-functions-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ addProperty(<object>, '<property>', <value>)
761761
To add a parent property to an existing property, use the `setProperty()` function, not the `addProperty()` function. Otherwise, the function returns only the child object as output.
762762

763763
```
764-
setProperty(<object>['<parent-property>'], '<parent-property>', addProperty(<object>['<parent-property>'], '<child-property>', <value>)
764+
setProperty(<object>, '<parent-property>', addProperty(<object>['<parent-property>'], '<child-property>', <value>)
765765
```
766766

767767
| Parameter | Required | Type | Description |
@@ -4050,7 +4050,7 @@ setProperty(<object>, '<property>', <value>)
40504050
To set the child property in a child object, use a nested `setProperty()` call instead. Otherwise, the function returns only the child object as output.
40514051

40524052
```
4053-
setProperty(<object>['<parent-property>'], '<parent-property>', setProperty(<object>['parentProperty'], '<child-property>', <value>))
4053+
setProperty(<object>, '<parent-property>', setProperty(<object>['parentProperty'], '<child-property>', <value>))
40544054
```
40554055

40564056
| Parameter | Required | Type | Description |

0 commit comments

Comments
 (0)