Hi Rashi!
It's complex. When you consult a record, Maximo sends it to you, you have it open on your screen, you are not modifying it yet. You start to modify it (changing the description for example), but you have not modified it yet because the change is not impacted... it is still on the screen. Should the script notify? Let's assume that the script notifies at that moment, then you later regret what you were modifying and leave it as it was and do not save any changes and then the notification was wrong. And if you decide to notify on save and there are 10 users editing the same record, successive scripts would fire against the initial user when it was then changed many times.
I do not see it. It is very complex in my opinion.
What we have is a custom that only allows you to modify a record when you are the owner (OWNER) and we use it in SR and WO. If you are an OWNER, the fields to modify are enabled. If you are not the OWNER, everything is blocked.
Then, there are groups of people (OWNERGROUPS). If you and the owner are in the same group (the same OWNERGROUP), then the system leaves you enabled the "TAKE OWNERSHIP" button to become the owner. At that moment you take away the property and become the new owner.
There are object type scripts that evaluate the changes in them and you can create one that is activated in the "Save" event (for me it is the most appropriate) of the BEFORE_SAVE type to be able to compare the OLD_OWNER and the NEW_OWNER and send an email to OLD_OWNER in case they are different.
Regards!
------------------------------
Martin Fabra
ARSAT S.A. - Actively seeking employment
------------------------------
Original Message:
Sent: 06-11-2024 17:51
From: Rashi Ghosh
Subject: Maximo communications
Can Maximo notify users that a record (such as a service request or work order) is currently being edited by another user, to prevent simultaneous updates
#EverythingMaximo
#MaximoApplicationSuite
#MaximoUserGroups
------------------------------
Rashi Ghosh
UCSF
------------------------------