Last activity: 2 Jun 2018 5:35 EDT
Bulk Create Operator ID
What is the best way to create 7000 operator ID?
Bank of America
operator information can be placed into csv file and load the file through listener. call the OOTB activity Data-Admin-Operator-ID.CreateOperator (passing the required parameter values) from the service file activity.
If it is an Incremental Order then you can loop it upto 7000 using Param.pyForEachCount as your Operator ID.
But if you have a Sheet then you can use the service file or the OOTB Activity(pxUploadCSVResults) to upload the CSV file to create the operator records accordingly.
Could you please demonstrate step for this task?
The below article helps you in creating the file listener. You can use your file with operators details as an input for this and create operators.
If not through File listner , you can have a control in UI : "FilePath" on click of which you need to select a CSV file.
After the file has been chosen You need to run post activity where you have to set the file path, then you need to parse the file, and create the page list in clipboard, after that you need to compare the same with model operator and create the same .
There are several ways.
Read the below article, it shows how you can create a simple UI , Excel template and an Activity to get the job done.
Also there us an exchange component
Coforge Technologies DPA
I would like to understand why you want 7k operator to be created in one go, because if you are sso they should be created at login through Authentication service and other option I can suggest is register in order to create your operator by providing basic details that can be either using guest user/unauthenticated user provide basic details and register.
The best way would be to have a a CSV file with relevant details and create a utility in Pega to read the file and create operators using a Model Operator.