Question
LCL
FR
Last activity: 15 Apr 2024 11:39 EDT
update pr_operators on authentication
Hi All,
To avoid the pr_operators update on pega authentification process, I have to add attribut extAssignFlag on the table Data-Admin-Operator-ID and set it with a non value only fo the non human operators.
I have to do this throw activity but my need is to identify the non human rows, which class attribut for Data-Admin-Operator-ID can be helpfull ???
Regards.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Maantic Inc
IN
Is your requirement is to filter out no human operators? You achieve that by checking "This is an unattended operator (robot)" present in Security of the OperatorID instance, then running your logic on this value.
LCL
FR
I have to create and run a onetime activity which sets the value of the “extAssignFlag” property to any String value (Obj open by handle for the Service Operator ID instance “UserID” but only for the non human operators (apps, listener etc ...)
Regards
Maantic Inc
IN
Ideally non-human operators should have "This is an unattended operator (robot)" pyType property checked. Based on this property value you can run your activity to set the "extAssignFlag" property. You can find more info here:
LCL
FR
@SohamM95 Thanks for the reply
In the table pr_operators, I see 2 Operator type : STANDARD and ROBOT.
Do you mean that the non human operators are those with non STANDARD type ???
Maantic Inc
IN
Yes correct. When pyType is true then pyOperatorType is ROBOT, else when pyType is false then pyOperatorType is STANDARD. So you can refer either of the properties.
LCL
FR
I checked in the pr_operators table and I saw that all the operators are of type STANDARD, I suppose that all the requestors APPS, BATCH, BROWSER are of type STANDARD ????
How can I filter APPS, BATCH ???
Regards.
Updated: 28 Mar 2024 9:40 EDT
Maantic Inc
IN
That is not possible from the pr_operators table. For that you have to query on the Code-Pega-Requestor class.
Maantic Global IT Solutions Pvt. Ltd
IN
@ahmedd13 You can try using role of operator. Assign role corresponding user and use role to identify user type.
LCL
FR
@SanjibMaji I can't see Role attribut with the class Data-Admin-Operator-ID ???
May be you are asking about a nother class
Pegasystems Inc.
US
@ahmedd13 Try this query, which will display a list of users that have made service calls to the system.
SELECT distinct pyuseridentifier FROM pegadata.pr_perf_stats where pxrequestortype = 'APP';
LCL
FR
@BrettAllen Hi Allen
This request failed on prod envt due to high volume.
On staging it give me some pyUserIdentifier with type APP but a lot of them are not present in the table pr_operators.
Those with this pattern AU21601710324691987
Regards
LCL
FR
@MarijeSchillern Yes, I still need assistance, Hi how can do this