Parent - child Table

mjocasio23
Tera Expert

I have an application table which consist of a Parent - Child relationship.    I have two child

tables which uses common field from the parent table..... I have a field A which I dynamically execute a script include base on a dependent field B.

Now Table child 1 runs a different reference tables that Table Child 2.    If I define this on the parent table I only get on option which makes sense to implement at the child Table.

If I do the implementation at the child table IT only provides me the last option that I make reference too.

 

How exactly you do this? Can Dictionary Override help on this?

 

2 REPLIES 2

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello,

 

If I get your requirement correctly then you would want the same field at the child table to behave differently. If so then create the field at the Parent level and at the child level you can use Dictionary override option to change the behavior.

https://docs.servicenow.com/bundle/jakarta-platform-administration/page/administer/data-dictionary-tables/task/t_DefineADictionaryOverride.html

 

Thanks,

Pradeep Sharma

 

I trying to used the override dictionary for reference qualifier. https://docs.servicenow.com/bundle/jakarta-platform-administration/page/script/server-scripting/concept/c_ReferenceQualifiers.html. Using the dynamic reference option.

find_real_file.png

I trying to reference two difference script at  the child table...... Table A will reference script Z and Table B will run the script X.   I will only get one of the script reference...... Also the reference Table will be difference at the child level. so the child table A will used a reference Table and a dynamic ref script difference than child Table Z.