How can we create a user id as an operator in pega?

We have to fetch 1 lakh records from an external database and that includes columns like user id,name etc,so this user id that we fetch that needs to be created as an operator id in pega?So the fetching part i am using a data set as we have over 1 lakhs of records but how can we create that fetched user id as an operator in pega?like save it back to Data-Admin-Operator-Id?

Once you have details of your operator to be create is enough to use obj-save and commit to get record create. Alternatively for more reusable and abstract pattern, you might want to use savable data page: Pegasystems Documentation

Leverage OOTB CreateOperator activity along with a Queue Processor to create Operator records. This approach automatically retries up to three times if the operator creation fails. It also makes it easy to track failed records and retry them later if needed.

@TanyaS58

Inside data flow activity have the below mentioned logic.

  • Have a model operator with all the basic details setup in your environment.
  • In data flow activity copy the model operator information completely into a shadow/temporary page.
  • After that override the needed values based on your external source in temporary/shadow page.
  • After you modified the needed values, then perform deferred save followed by commit. This will create a new profile inside system.

linking a useful article here.

Thanks.

Hi @RameshSangili so basically after calling the data set we need to call the OOTB activity and inside that we need to call QP or should it be like calling DataSet->CallingQP->inside QP calling the ootb activity?Plz correct me if my understanding is wrong here

Thanks @ArulDevan