How to validate the problem priority field value is same the incident priority field via ATF?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 06:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 06:48 AM
You can only achieve it by setting the problem priority first and then validating it on incident.
Use record query and add filter such as priority etc.
And then validate the fields on incident.
*************************************************************************************************************
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
***********************************************************************************************************************
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
11-25-2024 11:38 PM
Record Query isn't working . I have priority fields values in both problem and incident forms.
Can you write the ATF steps here to validate that problem priority field matches with the incident priority field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 05:57 AM
Hi,
I had a similar requirement.
There is an operator "is same" for field validiations - but this is not exactly what was needed for me.
As I didn't find any OOT steps that are comparing field values in different objects I created a custom step configuration:
- Inputs: Table, Record ID, Field Name
- Script: Getting the value of the field from the record in the table
- Output: Value of the field
The steps of my test became pretty easy with that:
1. Create Incident
2. Get Incidents Priority Value (output of my custom step)
3. Create Problem from Incident
4. Validate whether Problems priority is the same as the output of my step 2.
Hope this helps.
Beate