-1

Is it possible to call a java function or an automation script whenever an attribute's value is changed. No matter if the value is changed from GUI or directly in DB (bypassing Maximo)?

AhmedRana
  • 486
  • 9
  • 22

2 Answers2

1

Maximo does offer eAuditing function.

I am not sure how you expect an application to keep track of direct database changes since the application is not involved in the change. Changes in the GUI can be tracked using the eAudit functionality.

Sun
  • 2,595
  • 1
  • 26
  • 43
1

Yes and no. You can call the script or a Java function when the value is changed via the application - there is no way to do it, if it is changed directly in the database - at least not immediately when the field is changed. The only way to do this would be to have two fields, i.e. FIELD1 and FIELD1OLD, and to have an escalation that would check the content of these fields. Whenever FIELD1's value would be changed (for example via database), the contend of both fields would be different. Your custom Java code would the write the content of FIELD1 to FIELD1OLD, and at the same time execute your custom code.

Might not be a great way to do it, but is the only way, if you want to change the content of the field directly in the database.

neuromouse
  • 921
  • 1
  • 12
  • 32