Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

REQ RITM parent relationship

Brendan Hallida
Kilo Guru

Hi all,

I have found something uncanny - however it may be uncanny to me, but not to others.

I am looking to dot walk from Catalog Task form to the request - via parent.parent.watch list, however I have found that OOB the request is not set as the RITM's parent.

find_real_file.png

I have a few questions regarding this:

  1. Is there a reason for this?   Should I leave it how it is, or is it ok for me to fill in the RITM parent?
  2. If it is ok to do so - what is the best way to approach this?   A run script in the workflow?   A BR?
  3. Or - is there a better way to display the request.watch list on the catalog task form?   (I have posted that question here request watch list on catalog task form )

Cheers,

Brendan

1 ACCEPTED SOLUTION

srinivasthelu
Tera Guru

Hi Brendan,



Reference fields expect sys_id's



so,


  1. current.parent = current.request ;


Should do



Thanks


Srinivas


View solution in original post

15 REPLIES 15

srinivasthelu
Tera Guru

Its dictionary.



Right click the field- > configure dictionary -> Read only tick box.



Hope that helps



Srini


Hi Srini,



It seems that it is already unticked.


find_real_file.png



find_real_file.png


That was right clicking on Request.watch list.


srinivasthelu
Tera Guru

I was talking about Request field on catalog task. Sorry for the confusion



Srini


Ahhhhhhh! that works!



Will need to weigh up the pros and cons of this - by removing the read only status on the request field allows users to change the request.   That shouldnt be an issue, but you never know...



I wonder if this can be done with ACLs....   Anyone know how this could be achieved?


srinivasthelu
Tera Guru

Hi Brendan,



Just Curious, have you tried, Request Item. Request.watch list



Seems to be working.



Capture.JPG