What does current and parent refer to?

Harshit Sharma1
ServiceNow Employee
ServiceNow Employee

Say we have a table 'X' and table 'Y' is a related list for this table.

 

Then if table 'Y' has a UI action button say 'New', we have two parameters available for it "current" and "parent". What does current and parent refer to?

1 ACCEPTED SOLUTION

Harish KM
Kilo Patron
Kilo Patron

Hi @Harshit Sharma1 that is how relation ship is created between parent and child tables

here table Y is a child table and current refers to the table record mentioned on UI action table where this UI action will be visible

parent refers to table x that is parent.sys_id will give you table x record.

Regards
Harish

View solution in original post

2 REPLIES 2

Harish KM
Kilo Patron
Kilo Patron

Hi @Harshit Sharma1 that is how relation ship is created between parent and child tables

here table Y is a child table and current refers to the table record mentioned on UI action table where this UI action will be visible

parent refers to table x that is parent.sys_id will give you table x record.

Regards
Harish

Harshit Sharma1
ServiceNow Employee
ServiceNow Employee

Thanks @Harish KM