AnsweredAssumed Answered

Dynamically generate 'Process.' variables

Question asked by ElwynnMartin on Apr 22, 2015
Latest reply on May 29, 2015 by ijreis

I'm trying to dynamically create 'Process.' variables based on a list of fields passed into PAM from Service Catalog. I would like to be able to create process variables with the same names as the fields passed in the SC forms. Say for example a userID is being passed in from catalog, I would like to be able to use a loop to iterate over an array of field names and dynamically generate a variable with the name of Process.userID. Currently we statically code every variable name(in multiple places) to create a process variable for it, a method that becomes error prone and time consuming as the number grows. 


Any ideas would be appreciated

Outcomes