cancel
Showing results for 
Search instead for 
Did you mean: 

Master Agreement Validate Script

Former Member
0 Kudos

Dear Team,

Do we have any method that can be used in Master Agreement Validate Script  to capture the action, once Delete document button is hit in Master Agreement.

Thanks,

Rajesh

Accepted Solutions (1)

Accepted Solutions (1)

former_member190023
Contributor
0 Kudos

Hello Rajesh,

We had a similar request in the past and my investigations revealed that there is only a limited use of this:

1. Yes, you can capture the 'delete' action in MA using: doc.getFieldMetadata("DELETED_BY").get(doc)

2. The 'problem': capture action takes place in ESO core, meaning that:

2.1 - Not possible to apply further validations and raise an error message (error msg is bypassed and a generic one displayed)

2.2 - Possible to use only for sending notifications, updating other documents, etc (any action that will not throw an exception ... PS: use try-catch)

Regards,

Bogdan Toma

Answers (0)