Last activity: 29 Mar 2023 2:53 EDT
How to Convert Opertor Id to Opertor Name in report
In case transfer one user to another use i used ressaign OOTB activity, Then i create for reassign cases .Here i will take original user and new user
In report Original user means it's show only id's not User name
Pxflow page there is no user name .
How to relsove this issue ,I need to show user name instead of used Id
@kirti Hi Can you please let us know if you are query from the Assign-Worklist class? If yes you can use this property "pxAssignedUserName".
@kirti are you writing your Report definition on work class? Can you please send the screenshot of your RD? Seems like you are showing original user and current user for all the cases. If my assumptions are right, you can use sub report on Assign-worklist to get the name. Pass pyuseridentifier(your pxflow()....) To sub report and use that as filter on sub report and fetch the operator name and use that in main RD column.
Updated: 13 Mar 2023 2:12 EDT
My RD in Work Class Only For current user i used assign-worklist calss
I attached RD and activity
@kirti Hi, Then you can use the "pxAssignedUserName" like i have mentioned
Updated: 9 Mar 2023 9:55 EST
@kirti Perfect. Please change the setting of originalusername like below.
OriginalUserName = D_pxOperatorDetails[OperatorId:.pyWorkPage.pxFlow(CreateNewInvoice).pyFlowParameters.AssignTo,ForceReload:false].pyUserName
Updated: 29 Mar 2023 4:16 EDT
Hi Krishna ,
For 1st assign case one user to another user original name not setting properly .But we reassign the case to another user it's work fine .
How to solve that issue ,please help me
@kirti Hi Kirti, for 1st assign case means initial routing you mean to say?
@Anoop Krishna Yes Krishna
@kirti ok. kirti, the first operator to which assignment got routed is the orginator. But if you run report initially, originator will not displayed. For that what you need to do is set originator in pre flow action of first assignment. Because currently you are setting originator on reassigning. You need to maintain a flag. So once it is reassigned, originator property should not be set again.
After creating a new invoice
I used DT on Preprocessing
How set the value
.originalusername =pyWorkPage.pxFlow(CreateNewInvoice).pxLastUpdate or
This is correct format ?
Please let me know
@kirti Yes right, pyWorkPage.pxFlow(CreateNewInvoice).pxRouteToUserName this is correct
@kirti Great to know that you fixed it. Wanted to know that if are trying to reassign all the assignments in a screenflow?
@Anoop Krishna Yes , Krishna
Thank you so much for your help .
@kirti okay 👍, welcome