# OOTB activity to create a new operator ID record

**URL:** <https://forums.pega.com/t/ootb-activity-to-create-a-new-operator-id-record/3323>\
**Category:** Blueprint and App Design\
**Tags:** java-and-activities, low-code-app-development, 8-7\
**Created:** [October 7, 2022, 1:33am UTC](https://forums.pega.com/t/ootb-activity-to-create-a-new-operator-id-record/3323 "2022-10-07T01:33:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CloeW938](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@CloeW938](https://forums.pega.com/u/CloeW938)\
**Post date:** [October 7, 2022, 1:33am UTC](https://forums.pega.com/t/ootb-activity-to-create-a-new-operator-id-record/3323/1 "2022-10-07T01:33:47Z")

</div>

Hello,

I want to create operator IDs by activity in background batch process. Per my research, **CreateOperator** activity seems to be a standard OOTB activity to reuse, but this activity has only limited parameters. I want to set first name, last name, full name, position, telephone, e-mail address, locale, timezone, workgroup, calendar, etc just like we create it from UI.

 ![CreateOperator.png](https://pega1.discourse-cdn.com/pega/original/3X/8/8/880ca0e16d423ea13bb8b39551c8c4e4cccad351.png)

Is there any other approach other than calling this activity? What would be the best practice?

Regards,

---

<div class="post-metadata">

**Author:** ![Kamineni\_Surya](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@Kamineni\_Surya](https://forums.pega.com/u/Kamineni_Surya)\
**Post date:** [October 7, 2022, 1:39am UTC](https://forums.pega.com/t/ootb-activity-to-create-a-new-operator-id-record/3323/2 "2022-10-07T01:39:28Z")

</div>

Hi @CloeW938,

You can pass the parameters.

---

<div class="post-metadata">

**Author:** ![CloeW938](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@CloeW938](https://forums.pega.com/u/CloeW938)\
**Post date:** [October 7, 2022, 2:37am UTC](https://forums.pega.com/t/ootb-activity-to-create-a-new-operator-id-record/3323/3 "2022-10-07T02:37:53Z")

</div>

@KamineniSurya

Are you saying that I should create another new activity (Save As CreateOperator) and add parameters myself? That is one way but I was wondering if there is any better OOTB approach because setting first name, last name, full name, e-mail address, etc is very basic and I would expect that product has OOTB stuff rather than developer creating the activity by themselves.

---

<div class="post-metadata">

**Author:** ![ArulDevan](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/aruldevan/32/23602_2.png) [@ArulDevan](https://forums.pega.com/u/ArulDevan)\
**Post date:** [October 7, 2022, 2:52am UTC](https://forums.pega.com/t/ootb-activity-to-create-a-new-operator-id-record/3323/4 "2022-10-07T02:52:20Z")

</div>

Hi @CloeW938: Can you check if AddNewOperatorRecord helps.

Thanks.

---

<div class="post-metadata">

**Author:** ![Kamineni\_Surya](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@Kamineni\_Surya](https://forums.pega.com/u/Kamineni_Surya)\
**Post date:** [October 7, 2022, 6:15am UTC](https://forums.pega.com/t/ootb-activity-to-create-a-new-operator-id-record/3323/5 "2022-10-07T06:15:21Z")

</div>

Hi @CloeW938,

Yes.Exactly

---

<div class="post-metadata">

**Author:** ![CloeW938](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@CloeW938](https://forums.pega.com/u/CloeW938)\
**Post date:** [October 7, 2022, 7:03am UTC](https://forums.pega.com/t/ootb-activity-to-create-a-new-operator-id-record/3323/6 "2022-10-07T07:03:30Z")

</div>

@ArulDevan

**AddNewOperatorRcord** takes _operatorType_ parameter.

 ![AddNewOperatorRecord.png](https://pega1.discourse-cdn.com/pega/original/2X/4/4c44da4deda9314804a956666777b2fe0872c7d3.png)

I entered “User” for _operatorType_ parameter.

 ![Pass Parameter.png](https://pega1.discourse-cdn.com/pega/original/2X/2/2ba2d8bea85ffaa900dfa22eaeecb0c02f3663b2.png)

I have created a DataTransform named “User” in advance as below.

 ![UserDT.png](https://pega1.discourse-cdn.com/pega/original/2X/9/9127f921d763000113217267f8a48d42df573fee.png)

I was able to create a specific operator ID. However, I would like to create ID dynamically rather than fixed one - let’s say, we have tempPage.pxResults in a clipboard and looping over this list, I would like to create many operator IDs. In order to do this, I need to pass information from temp.pxResults but I am unable to do this yet. Can you please show how to do this?

Regards,

---

<div class="post-metadata">

**Author:** ![CloeW938](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@CloeW938](https://forums.pega.com/u/CloeW938)\
**Post date:** [October 7, 2022, 7:57am UTC](https://forums.pega.com/t/ootb-activity-to-create-a-new-operator-id-record/3323/7 "2022-10-07T07:57:52Z")

</div>

@ArulDevan

Thanks, I was able to make it with your approach.

---

<div class="post-metadata">

**Author:** ![ArulDevan](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/aruldevan/32/23602_2.png) [@ArulDevan](https://forums.pega.com/u/ArulDevan)\
**Post date:** [October 7, 2022, 7:13am UTC](https://forums.pega.com/t/ootb-activity-to-create-a-new-operator-id-record/3323/8 "2022-10-07T07:13:01Z")

</div>

Hi @CloeW938: Can you try to set the data in the top level page within the loop and use the same page in your data transform?

Please let me know if this helps.

Thanks
