After you install the Redis plug-in on your Automation Orchestrator server, you can create workflows. This procedure provides an example of how to create a workflow that requires three input parameters: a name, a host name, and a port.

Prerequisites

  • Build a Redis plug-in.
  • Install the plug-in on your Automation Orchestrator server.

Procedure

  1. Log in to the Automation Orchestrator Client.
  2. Navigate to Library > Workflows.
  3. Click New Workflow.
  4. Enter a name for the workflow and click Create.
  5. On the Inputs/Outputs tab, add the following workflow input parameters.
    Input Parameter Type
    name string
    host string
    port number
  6. On the Schema tab, add a scriptable task element.
  7. Select the scriptable task and name it Create connection.
  8. Add the following script on the Scripting tab of the Create connection element.
    var connectionId = RedisConnectionManager.save(name, host, port); 
    System.log("Created connection with ID: " + connectionId);
  9. Save the workflow.
  10. Click Run.
  11. Enter the workflow input parameters.
  12. Click Run.
    The printed connection ID is displayed on the Logs tab.
  13. (Optional) To review the input parameters used in your workflow, navigate to Assets > Resources.