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
- Log in to the Automation Orchestrator Client.
- Navigate to .
- Click New Workflow.
-
Enter a name for the workflow
and click Create.
- On the Inputs/Outputs tab, add the following workflow input parameters.
Input Parameter | Type |
---|
name | string |
---|
host | string |
---|
port | number |
---|
- On the Schema tab, add a scriptable task element.
- Select the scriptable task and name it Create connection.
- 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);
- Save the workflow.
- Click Run.
- Enter the workflow input parameters.
- Click Run.
The printed connection ID is displayed on the Logs tab.
- (Optional) To review the input parameters used in your workflow, navigate to .