ATF: FAILURE: Unable to set field 'comments' to value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 08:58 AM
In ServiceNow, Kingston Version, Using ATF, In "Set Field Values" Step, I am not able to set "Comments" field, which is of "Journal Input" Data Type. When I try running ATF/ATC, then it gives the below error/exception, actually in my workflow using ATF I want to simulate "Rejection" step and then need to enter mandatory comments in "Comments" field in form:
-----------------------------
Successfully set field 'state' to value 'rejected'
FAILURE: Unable to set field 'comments' to value 'Rejected due to some info missing.'. Field 'comments' is not editable. See screenshot.
------------------------------------
Please let me know the solution/work around for that. Thanks!
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2018 07:07 AM
If you manually follow all steps in the ATF can you modify the comments at that point? As a non admin/the person the ATF impersonates.
This sounds like there is something blocking editing the comments, so perhaps moving state to rejected makes comments uneditable for the end user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2018 11:30 AM
Joni,
Ya, I can manually enter the Comments, using workflow, as same user that I impersonate using ATF/ATC.
But that Comments field is not "String" field, but "Journal Input" field of Service Now. That seems to be bug with service now.
As that field becomes non-editable with ATF, what you suggest?