Skip to content

Commit 3d33ba4

Browse files
authored
Markdown manifestation with query results (#280)
* Snanshot of example queries for Markdown
1 parent ae015cc commit 3d33ba4

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

docs/03-concepts/13-workflow-queries-formatted-data.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,38 @@ This would render as:
8282

8383
---
8484

85+
## UI Examples
86+
87+
The following screenshots demonstrate how formatted query responses appear in the Cadence Web UI:
88+
89+
### Employee Database Query Results
90+
91+
This example shows formatted data returned from an employee database query, demonstrating how tabular data can be presented:
92+
93+
![Employee Database Query Results](img/employee-database-query.png)
94+
95+
*Employee records displayed in a structured table format showing Employee name, Title, and description columns with sample data for multiple employees.*
96+
97+
### Hello World Workflow Query Results
98+
99+
Here's an example of how query results are displayed for a simple workflow:
100+
101+
![Hello World Workflow Query Results](img/hello-world-workflow-query.png)
102+
103+
*The Hello World Workflow query interface showing basic workflow concepts and activity execution information, including real-world use case details and sample code links.*
104+
105+
### Query Interface
106+
107+
The Queries tab provides an interface for executing workflow queries with various predefined options:
108+
109+
![Cadence Web Queries Interface](img/cadence-queries-interface.png)
110+
111+
*The Queries tab showing available query operations including `__open_sessions`, `get_runtime_data`, and other predefined queries, along with an "Operator Runbook" option.*
112+
113+
These examples illustrate how the formatted data feature enhances the user experience by providing rich, structured displays instead of raw JSON responses.
114+
115+
---
116+
85117
## Go Implementation
86118

87119
### Type Definition
203 KB
Loading
209 KB
Loading
324 KB
Loading

0 commit comments

Comments
 (0)