on incident form,user shouldn't be able to put same ID for Change request and Caused by change field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2024 08:18 AM
Hello all,
I want to implement ATF - on the incident form, where user shouldn't be able to put the same ID for Change request and Caused by change fields.
If we give some X value to the change request field and the same value to the Caused by change filed as well, it should through an error as a pop up telling "you cant give same values to both fields".
I was able to set some value for the Change request as a first step, while setting the same value to Caused by change field, It is not taking value at all and giving the below while we run ATF.
"Failed to set field 'caused_by' to value 'XXXX' because the reference is NOT valid".
Please help me how can I resolve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 12:25 AM
Hi @BNaveenM
this is because you the field is reference field, and you are not passing the correct reference.
Could you share the set field value step screenshot.
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
01-08-2025 04:41 AM
Hi @BNaveenM ,
It may be because as Shaqeel mentioned or may be because of the Reference configuration of that field.
Check the Change request you are using to set for the field 'Caused by Change', whether it is satisfying the reference condition or not of that field.