While running ATF the values of set Field value and Field value validation should be same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 02:33 AM
while setting values on risk form under particular section - Entity & Applicable Attributes
the same set of values should be replicated on same Risk's form Related List (Risk assessment instance) Assessable attributes section
so on set field values on Risk form the same values should be validated on Risk assessment instance form using Field value validation
But problem here is set field value takes backend value for Applicable as 1 and for none as 3(Product applicability=1)
where in it's not matching Field value validation values ( Product applicability =Applicable) with which ATF fails.
if someone has worked on such issues, please share your thoughts below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 03:09 AM
are you sure the choice values are same?
you are trying to set field values on form and then again same on Related list?
share your complete steps
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 10:27 AM
Yes @Ankur Bawiskar As said, i am trying to set field values on risk form and validate the same on related list ---Risk assessment instance form
Steps to replicate:
1. Go to risk ---sn_risk_risk
Active is true and State is monitor ----used Record Query
2. after opening using ---Opening Existing record
3. Under section Entity and Applicable attributes --- used Set field values
Fill any values (applicable (1) , unknown(2) , none (3) using set field values
i.e 1-backend value, 2-unknown , 3-none
e.g Capability applicability ----Applicable
Business capability -------None
Countries applicability ---Applicable
4. UsedClick UI action to save record
5. Under the same record's related list ----Risk assessment instance ----used Validate Related list visibility (sn_risk_advanced_risk_assessment_instance)
6.State not in Closed or cancelled --- used Apply filter to list
7. Used open record in a list
8. Go to assessable attributes section on Risk assessment instance form
Validate using field value validation if set values are matching --- used Field value validation
e.g Capability applicability ----Applicable
Business capability -------None
Countries applicability ---Applicable
Expectation: Step 3= Step 8 , but actual result: Step 3 != Step 8
Hope this helps to understand the issue. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 03:37 AM
Hi @Snow preck
Can you share the failed screenshot of the page?
Sometime to me also it show the backend value in the set field step but on the form the real values gets inserted.
May be try reloading the page and then validating.
regards
Shql
***********************************************************************************************************************
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 09:51 AM