After you install the Redis plug-in and install it on your vRealize Orchestrator server, you can create workflows. The Add redis connection workflow is a sample workflow that requires three input parameters: a name, a host name, and a port.

Procedure

  1. Log in to the vRealize 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. Select Create connection, and add the following script on the Scripting tab.
    var connectionId = RedisConnectionManager.save(name, host, port); 
    System.log("Created connection with ID: " + connectionId);
  9. Save the workflow, and click Run.
  10. Enter the workflow input parameters, and click Run.
    The printed connection ID is displayed on the Logs tab.
  11. (Optional) To review the input parameters used in your workflow, navigate to Assets > Resources.