/scripts/ahub.form.attachments.js
0

How to stop 'Saving' of Change Request if there are any validation errors

May 12, 2017 at 06:18 AM

108

avatar image
Former Member

Hello All,

As we know that we cannot submit a change request unless and until there a no validation errors. I want to achieve the same at the time of 'saving' a change request.

Therefore I want that, while creating a change request, when I click on "Save" button then system must not save that CR if there are validation errors.

How to achieve this ?

Thanks.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Loga Nathan Duraisamy May 12, 2017 at 01:18 PM
0

Hi Swathi,

System checks CR data before save so check for error messages to abort further processing. Code in feeder class or CR handler class.

Thank you

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks for your answer.

Can you please tell which feeder class/ handler class ?

0
Pavan Bhamidipati May 29, 2017 at 06:54 AM
0

Hi,

In the process event method of the feeder class, validate the data and make the event result to FAILED it should work.

EV_RESULT = FAILED.

Thanks, Pavan


1.png (6.9 kB)
Share
10 |10000 characters needed characters left characters exceeded
Skip to Content