Workflow
- Workflow refers to a system that manages repetitive processes and tasks that occur in a specific order.
- The functionality of the Workflow in the management console is explained.
Recommended version
Product (Component) | Version | Note |
---|---|---|
Genian ZTNA (Policy Server) | V6.0 or later |
Common settings
- ${ }
- The value displayed as ${ } in the input field is replaced with the actual value when executed on the server.
- this keyword
- If the Response Body Template is set to ${this}, it means that the result data from the Response is displayed without filtering.
- If the data is {"result": "true", "message": "success"}, the Response Body Template set to {"res": "${this.result}"} will be filtered to output {"res": "true"}.
- request keyword
- If you pass parameters when calling the Workflow (POST), you can use the parameter values by referring to request as ${request.userId}.
- Copy icon
- The data displayed in the Response Body is filtered according to the Response Body Template defined.
- If the Response Body Template is not defined, the execution result is displayed as is.
- The data displayed in the Response Body can be copied to the next process by clicking the copy icon.
- To use the value, copy and paste it in the format of ${dgdgadgasdgadg.ni_ipstr} in the previous process. ${previous process ID. result column value}
- RAW DATA icon
- The RAW DATA icon is output in the Response Body when the process is executed.
- If the RAW DATA icon is clicked, the response original data is copied to the clipboard.
Setup
- Go to Preferences > General > Workflow.
- Click on the Create button in the Tasks combobox to move to the UI for creating a new Workflow.
- Enter the Flow name.
- Click on the left icon >> to define and use values that are common to each process.
- The values set here can be used by copying and pasting them in the format of ${dgdgadgasdgadg.ni_ipstr} in the previous process. ${previous process ID.result column value}
- Set the Name, Request URL, Method, Headers, etc.
- Click the Test button to verify that the set values are working properly.
- Use the Response Body Template to filter the result appropriately.
- For example, {"res": "${this.result}"} can be set to create a result that is processed based on the value of result in the JSON data of the Response.
- Click the + icon to create the next process.
Execution
- Workflow list screen URL information is called using POST method to execute it.