Change the Locking message while transferring the assignment from one user to another
We have a requirement to change the message of Lock when try to transfer the assignment which is already locked by some user already i.e "(Data-Portal)Cannot obtain a lock on instance A-B-C-WORK C-2, as Requestor HAFAA7A10B250F12ADBDE7D0665832C78 already has the lock" as user doesn't want to see the requestor session id rather operator name who locks this assignment.
Kindly suggest me the possible ways.thank you in advance.
Please keep in mind that if the requestor that has the lock is an SLA activity running in the SLA agent context, or other non-interactive contexts, there won't be an operator id, since it will merely be "system". Also, if the operator has more than one interactive login, you may want to know WHICH one has the lock.
Thank you for the information.I agree with you but my requirement is not to change this message everywhere but when user try to reassign the task to a different user worklist or WB using drag and drop functionality from dash board.
If user is trying to reassign the task and it can't open the task due to a lock, and the lock is owned by the SLA, then if you display the username instead of the requestor id, the username will display as "system" instead of an actual user on your system.
However, getting back to your original question of how to actually make the change, I suggest you trace the generation of the message you want to change. That will tell you which rules are involved, so you can see which are editable. /Eric
Thank you for your reply. I tried of tracing the message when it is forming but am not able to find it as it is happening when Obj-Open-By-Handle is executing which is happening in the back-end.So I didn't find anyway to modify that.
If you can't change the key of which field value is looked up for displaying the message, can you over-ride the actual field value definition so that when that field value is looked up, it will pick up your modified one?