Question
Infosys
IN
Last activity: 8 Feb 2022 5:48 EST
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
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 8 Feb 2022 5:47 EST
ING Nederland
NL
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.
Pegasystems Inc.
GB
@VinayMalkarwe would not recommend that you make changes directly on the database.
Instead were you able to find the below articles ?
https://collaborate.pega.com/question/displaying-time-users-timezone
https://collaborate.pega.com/question/setting-dynamic-timezone-pega-timezone
I believe all relevant information is listed here:
https://collaborate.pega.com/question/date-time-calendar-displays-system-datetime-default
Infosys
IN
@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.
ING Nederland
NL
Hi @VinayDnyaneshwarM, try using Obj-Open/ Obj-Open-By-Handle before the Property-Set.
Hope this helps!
Thanks,
Saurabh
Infosys
IN
Hi @SaurabhG7134, Can you please tell me how can I incorporate this to this activity
ING Bank N.V.
NL
@VinayMalkarAn 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.
Accepted Solution
Updated: 8 Feb 2022 5:47 EST
ING Nederland
NL
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.
Infosys
IN
@SaurabhG7134 ,Thank you so much..It worked for me
-
Saurabh Gupta