Not able to fill condition fields through ATF

Shaqeel
Mega Sage

Hi All,

 

My requirement is to set the condition fields.

Eg:  Status is In Service.

 

I have got this KB ARTICLE 

 

 

 

Here is the form:

Shaqeel_0-1718707909785.png

here I need to set the condition as shown.

 

I am using following script:

 

Shaqeel_0-1718708588191.png

 

 

 

The test fails with following summary:

Test failed due to JavaScript error executing step:

Shaqeel_0-1718708474247.png

 

 

 

 

Regards

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel
6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Shaqeel 

are you not able to set Set field value for that condition field?

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

Hi @Ankur Bawiskar 

 

Yes, I need to set condition fields like in the screenshot attached.

Status is In Service.

 

Regards

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

@Shaqeel

what happens when you use the Set Field Value step?

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

Hi @Ankur Bawiskar 

 

We cannot set condition field using Set field value step.

 

regards

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel