Need to pass passwords dynamically based on specific keywords within a CA Process Automation process.
The dataset contains multiple passwords, such as Password, Password1 and Password2. When the input matches a particular password name, only the corresponding password should be used.
CA Process Automation 4.3.x and 4.4
All Supported Operating Systems
You will need to write the custom logic in the pre-execution of the script operator.
Below is an example:
Process.input="password1";
//Process.input="password2";
Process.dynamicPass=eval(new String(Process.input))
if("password1"==Process.dynamicPass)
Process.resolvedPassword=Datasets["/Madhava/Dataset"].password1;
else if("password2"==Process.dynamicPass)
Process.resolvedPassword=Datasets["/Madhava/Dataset"].password2;
else
Process.resolvedPassword=Datasets["/Madhava/Dataset"].password3;//Default password
If you require further assistance with this configuration, please contact Broadcom Support for further assistance.