I need to create a utility for getting the trigger mail as soon as the user tries to lock or unlock the services or modifying the services.
Trigger mail should have the details of the user name who locks the services, date, etc…
Thanks in advance
You can write utility by using getLockedNodesForUsers/getLockedNodesForAllUsers services present in wMRoot package. it will give you the document list of locked services -details like Owner, Host and LockTime etc.
But to check the change in flow.xml/node files - you need to purely write a java code.
Yes that is what you have to do with the custom logic and utilizing the WmRoot services to accomplish this custom task.