Hi Jason,
Thanks, we also thought for the same.
------------------------------
Tanishk Rathi
Tata consultancy services
------------------------------
Original Message:
Sent: 06-23-2023 10:57
From: Jason Uppenborn
Subject: How to bypass the java filed validation to call the automation script on field?
I think the preferred way to do this would be to create your own attributes, MYACTSTART and MYACTFINISH, and have autoscripts on those that do the validation you want for the Attribute Launch Point -> Validation event and then for the Attribute Launch Point -> Run action event do something like `mbo.setValue("ACTSTART", mbo.getDate("MYACTSTART"), mbo.NOVALIDATION)`.
------------------------------
Jason Uppenborn
Cohesive
Original Message:
Sent: 06-22-2023 02:08
From: Tanishk Rathi
Subject: How to bypass the java filed validation to call the automation script on field?
Hi All,
We have a java class validation on ACTSTART and ACTFINISH field in WO object. Now the class does not allow to insert the future date for both the field and requirement is to remove the validation of java class and call the automation script on those field. Without changing the default functionality.
Is it possible to bypass java validation?
Thank you in advance!
#Workorder #maximo #ibm #validation
#Assets
------------------------------
Tanishk Rathi
Tata consultancy services
------------------------------