Skip to content

Commit 8d54ced

Browse files
committed
changed img as well as the JSON filter
1 parent e487cce commit 8d54ced

File tree

3 files changed

+18
-19
lines changed

3 files changed

+18
-19
lines changed

docs/actions-and-automations/create-self-service-experiences/create-self-service-experiences.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -321,34 +321,33 @@ For example, you can create the following widget to vizualize how `Action runs`
321321
- `Action runs` of a specific self-service action.
322322

323323
Click on `filters`, then on `{...} Edit JSON`, and add the following snippet with your action title and relevant time frame.
324-
Below is an example JSON:
324+
Below is a JSON example for `Create s3 bucket` self-service action in the last month:
325325

326326
<details>
327327
<summary><b>filters JSON example (click to expand)</b></summary>
328328
``` json showLineNumbers
329-
{
330-
"combinator": "and",
331-
"rules": [
332-
{
333-
"property": "created_at",
334-
"operator": "between",
335-
"value": {
336-
"from": "2025-07-23T21:00:00.000Z",
337-
"to": "2025-08-23T21:00:00.000Z"
338-
}
339-
},
340-
{
341-
"property": "action",
342-
"operator": "=",
343-
"value": "<THE_ACTION_TITLE>"
329+
{
330+
"combinator": "and",
331+
"rules": [
332+
{
333+
"property": "created_at",
334+
"operator": "between",
335+
"value": {
336+
"preset": "lastMonth"
344337
}
345-
]
346-
}
338+
},
339+
{
340+
"property": "action",
341+
"operator": "=",
342+
"value": "Create s3 bucket" // Change the value to your action name
343+
}
344+
]
345+
}
347346
```
348347
</details>
349348

350349
6. Click `Save`.
351350

352351
This will result in a widget similar to the following:
353352

354-
<img src='/img/self-service-actions/actionRunsByStatusPieChart.png' width='50%' border='1px' />
353+
<img src='/img/self-service-actions/actionRunsPieChartExample.png' width='70%' border='1px' />
-56.3 KB
Binary file not shown.
79.4 KB
Loading

0 commit comments

Comments
 (0)