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.

Supported features

Genian ZTNA Workflow supports the following features:

  • Multiple Webhook

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

  1. Go to Preferences > General > Workflow.
  2. Click on the Create button in the Tasks combobox to move to the UI for creating a new Workflow.
  3. Enter the Flow name.
  4. 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}
  1. Set the Name, Request URL, Method, Headers, etc.
  2. Click the Test button to verify that the set values are working properly.
  3. 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.
  1. Click the + icon to create the next process.

Execution

  • Workflow list screen URL information is called using POST method to execute it.