Using Allowed Parameter Values Scripts

The material in this document is for informational purposes only. Rampiva makes no representations or warranties with respect to this document or with respect to the workflow described herein. Rampiva shall not be liable for any damages, losses, costs or expenses, direct, indirect or incidental, consequential or special, arising out of, or related to the use of this material or the products described herein.

Introduction

This article describes how to use Allowed Parameter Scripts in Rampiva Scheduler.

Prerequisites 

  • Rampiva Automate v5 or later

  • Sample Allowed Parameter Values Script


Instructions

Using Allowed Parameter Values Scripts

1

Save the script to a file.

In this example, we’re saving the script from the article https://rampiva.atlassian.net/wiki/spaces/KB/pages/1382514697 to the file C:\scripts\subfolders.py.

2

Modify the script as needed.

The example script scans the location of the root folder defined in the script. If needed, update the rootdir value in the script to point to an existing folder.

3

Edit a workflow to use the script.

In this example, we are modifying the Sample eDiscovery Processing workflow from the Sample Library, by setting the Allowed Value of the Source Data Location parameter to:

python:C:\scripts\subfolders.py
4

Test the script by submitting a job and confirming that the parameter values are populated by the script.