ATF Issue
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 04:30 AM - edited 12-28-2023 04:32 AM
Hi,
I have a scenario where I have a variable which is populated not by a table, but my API. I am not sure how to add data to a variable populated by API. My Team lead gave me a client script and asked me to use it. I am not sure how I do it. Kindly help.
var current_assignment_group = g_form.getDisplayBox('assignment_group').value;
var siem = g_form.getValue('siem_app_logging');
//alert('value of siem field is ' + siem);
if(current_assignment_group == 'SECURITY ANALYTICS AND ORCHESTRATION' && siem == '' ){
g_form.setMandatory('siem_app_logging', true);
}
Regards
Suman P.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 08:07 AM
Hi @Community Alums
https://developer.servicenow.com/blog.do?p=/post/using-atf-rest-api-test-steps/
Check this link.
*************************************************************************************************************
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]
****************************************************************************************************************
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]
****************************************************************************************************************