How to validate Details in Sections on Form

Vedika Benadkar
Tera Contributor

Hello All,

 

I need to validate details available in section of form.

Below I have opened a SLA definition. I want to validate details available in Start condition,Pause Condition which are sections on form.

Is there any way to take control of sections through ATF?

I tried with Field value validation test step.But somehow all the variables/fields are not available there

VedikaBenadkar_0-1704963530870.png

 

1 ACCEPTED SOLUTION

@Vedika Benadkar 

in the xml the condition should be like this -> active=true^priority=2^EQ

simply use the same in validation step

 

AnkurBawiskar_0-1704972597354.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Vedika Benadkar 

the condition fields in ATF needs to be validated with an filter condition which will be a hard-coded one

You need to see in XML what's the start condition value and then use the same value in Field validation step in ATF

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

Hello Ankur,

What exactly needs to be done for checking filter condition.

In my case I have condition fields as Start condition,pause condution.

If I want to check details under start condition,those are Active is true and priority is one of 1,2,3,4.

I used Field value validation step but there I did not find Priority option.Rest I validate dwith this step.

 

@Vedika Benadkar 

in the xml the condition should be like this -> active=true^priority=2^EQ

simply use the same in validation step

 

AnkurBawiskar_0-1704972597354.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader