ATF: FAILURE: Unable to set field 'comments' to value

Rockit
Kilo Contributor

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!

 

2 REPLIES 2

Joni5
Tera Expert

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.

Rockit
Kilo Contributor

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?