The CreatorCon Call for Content is officially open! Get started here.

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

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

as you can see the request is in he fields "request" instead. so your parent.parent.watchlist would be parent.request.watchlist I guess.



//Göran


Hey Goran,



parent.request doesnt seem to be an option.   The below image has already been dotwalked to parent



find_real_file.png




Cheers,


Brendan


srinivasthelu
Tera Guru

HI Brendan,



That should be fine.



Also, I have looked at your other post, the reason you were not able to edit the watch list field is because the request field on catalog is read only. You make it writable then you should be able to see watch list editable.




Thanks


Srinivas


Hi Srinivas,



Thanks for confirming.   I think that adding the request watch list would be the more desirable way forward.



Do you know where I can make it writable on the catalog task form?   is it in the acl's?   I can't seem to find the right one..



Cheers,


Brendan