Example
The example demonstrates how to declare input and output fields that use a document reference, showcasing how structured data can be mapped efficiently within a flow service.
Procedure
- From the navigation page, go to Projects and select a project.
- Click Integrations > Flow
services and select a flow service. A flow editor page is displayed.
- Click Define I/O icon and define the input fields channel and message.
- Click View/Edit Pipeline and define the pipeline mapping.
- Click Run. The Input values dialog
appears. Note: If you do not define any input fields in a flow service, then the Input values dialog box does not appear and the flow service runs directly.
- Specify the input values as general and Hello Team
!!! and then save the value set as
slack_valueset_1.Note: If you do not define any input fields in a flow service, then the Input values dialog box does not appear and the flow service runs directly.You can run the flow service without saving the value set too. A value set is a placeholder to store runtime input values. If you want to run the same flow service with the same input values, you can use the same value set. This approach is useful when you have multiple input fields. Value sets are stored in your browser’s local storage and the value sets are retained till the local storage is cleared.
- Click Run.
- View the result. The values for the input fields channel and message are displayed.