You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/cmd/flow/run/run-get.mdx
+167-4Lines changed: 167 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,14 @@ m365 flow run get [options]
25
25
: The name of the environment where the flow is located
26
26
27
27
`--includeTriggerInformation`
28
+
: (deprecated. Use option `withTrigger` instead) If specified, include information about the trigger details
29
+
30
+
`--withTrigger`
28
31
: If specified, include information about the trigger details
32
+
33
+
`--withActions [withActions]`
34
+
: If specified, include information about all actions when no action names are specified, or provide a specified list of actions separated by commas to include only the relevant action details
35
+
29
36
```
30
37
31
38
<Global />
@@ -44,7 +51,7 @@ If the Microsoft Flow with the name you specified doesn't exist, you will get th
44
51
45
52
If the run with the name you specified doesn't exist, you will get the `The provided workflow run name is not valid.` error.
46
53
47
-
If the option `includeTriggerInformation` is specified, but the trigger does not contain an outputsLink such as for example with a `Recurrence` trigger, this option will be ignored.
54
+
If the option `withTrigger` is specified, but the trigger does not contain an outputsLink such as for example with a `Recurrence` trigger, this option will be ignored.
48
55
49
56
## Examples
50
57
@@ -57,7 +64,19 @@ m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
57
64
Get information about the given run of the specified Power Automate flow including trigger information
58
65
59
66
```sh
60
-
m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --includeTriggerInformation
67
+
m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --withTrigger
68
+
```
69
+
70
+
Get information about the given run of the specified Power Automate flow including details about all associated actions.
71
+
72
+
```sh
73
+
m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --withActions
74
+
```
75
+
76
+
Get information about the given run of the specified Power Automate flow including exclusively the details of 'Action_Internal_Name1' and 'Action_Internal_Name2' actions
77
+
78
+
```sh
79
+
m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --withActions "Action_Internal_Name1,Action_Internal_Name2"
61
80
```
62
81
63
82
## Response
@@ -157,9 +176,9 @@ m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
157
176
</TabItem>
158
177
</Tabs>
159
178
160
-
### `includeTriggerInformation` response
179
+
### `withTrigger` response
161
180
162
-
When using the option `includeTriggerInformation`, the response for the json-output will differ.
181
+
When using the option `withTrigger`, the response for the json-output will differ.
163
182
164
183
<Tabs>
165
184
<TabItemvalue="JSON">
@@ -233,3 +252,147 @@ When using the option `includeTriggerInformation`, the response for the json-out
233
252
</TabItem>
234
253
</Tabs>
235
254
255
+
### `withActions` response
256
+
257
+
When using the option `withActions`, the response for the json-output will differ.
0 commit comments