In the workflow, you can configure by adding a Widget node. Take the weather inquiry application in single workflow mode as an example to configure the Widget, showing the configuration process and application effect.
Steps
1. In the application development interface, click create a new app, enter application name, application description, select single workflow mode, and click create.
2. On the flow management page, manually input the new workflow name and description, then click confirm.
3. Enter the canvas to edit the workflow. When necessary to introduce a Widget, drag the Widget node to the canvas, select it, then click confirm. After debugging is correct, enable the workflow and publish the application.
Note:
When configuring the Widget node, please ensure the data structure output by the previous node matches the required input variable format of the Widget. Data format mismatch will cause rendering to fail.
The workflow process is as shown below:
The Widget is only used for result display, so the issuance method selects direct backward circulation.
For Widget node configuration instructions, please see Widget Node. 4. Dialogue effect demonstration.
When querying Shenzhen weather, return in the form of a Widget.