ATF- Failure Error like "Unable to set field Value,as field is not editable"

AmulyaPallapot
Tera Contributor

Hi,

I have created a ATF on Employee Relation (sn_hr_er_case)Table , and tried to set the field values in agent workspace , It throws an error like below 

Performed the following in 'Agent Workspace':
FAILURE: Unable to set field 'template' to value 'c267745c1bb342d04cf8eb91b24bcb6e'. Field 'template' is not editable

But When I try to set the same Field Value in standard UI , it is setting the value , with out any error .

And also checked ,the field is editable as well and the person has the role to access that field .

 

Now I want the ATF to work in HR Agent Workspace , currently I am in Vancouver release .

 

Please , If any one can help me on this , means a lot to me .

Thanks in Advance .

 

Thanks,

Amulya P

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @AmulyaPallapot 

 

Please check is that field is editable when you do manual testing. if not then  ATF will give the error. 

*************************************************************************************************************
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
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

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

Hi @Dr Atul G- LNG ,

 

Thanks for your response , I have checked that ,the field is editable when I do manual testing. 

 

Thanks,

Amulya P

 

Hi @AmulyaPallapot 

 

You are setting up value via Template and there is showing error. Check the template once.

*************************************************************************************************************
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
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

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