rbv_api.attach()
Purpose
This Object Script method creates a relationship between two records and returns
true
if a new relationship has been successfully created.
Formulas used in Object Script triggers can include other API methods and regular Platform template functionality, such as loops. Object Script methods have no effect if called outside of update triggers.
Syntax
rbv_api.attach(relName, objName1, Id1, objName2, Id2)
Parameters
relName
Integration name of the relationship
objName1
Integration name of the first object
Id1
ID of the first object record
objName2
Integration name of the second object
Id2
ID of the second object record
Return value
true
, if association succeeded