Needs to update properties related to Operator

Hi All,

My requirement is to update pyCalendar and pyDefaultTimeZone properties related to some of the operators. If we update them directly in DB,Updated values are not flowing in pega.

How can I update these properties from pega and it should reflect to Operators as well?

Regards,

Vinay

@VinayDnyaneshwarM we would not recommend that you make changes directly on the database.

Instead were you able to find the below articles ?

I believe all relevant information is listed here:

@MarijeSchillern In our system there are some old operators which has wrong calendar and timezone. so we need to update them.but count is more so I have build and activity but its not working as expected. Its updating the blob column.Adding the snip for ref.

Hi @VinayDnyaneshwarM, try using Obj-Open/ Obj-Open-By-Handle before the Property-Set.

Hope this helps!

Thanks,

Saurabh

Hi @SaurabhG7134, Can you please tell me how can I incorporate this to this activity

@VinayDnyaneshwarM An Obj-Save cannot be done directly with the results from the Obj-Browse. Get the InsKey and use that to do a Obj-OPen-By-Handle , and THEN save the records back into the database using Obj-Save.

Hi @VinayDnyaneshwarM, please check the screenshot:

Notes: Operator Pg is a page of class of operator class, after this you can simply do Obj-Save on step page as OperatorPg and then commit as you had done earlier.

Hope this is helpful!

Thanks,

Saurabh.

@SaurabhG7134 ,Thank you so much..It worked for me