LCA hook filter.

Question : 

How does the beforeReferenceAttributeAdded LCA hook function when used with the filter: "equals(clientType, 'Reltio UI')"?

 

Answer : 

When a filter is applied within the beforeReferenceAttributeAdded LCA hook, the request header will include a globalId with the value “Reltio UI” only if the request originates from the Reltio UI itself. In contrast, if an entity is created using external tools such as Postman, utility scripts, or the dataloader, this specific header will not be present. Consequently, the condition that checks for the globalId will not be satisfied in these cases. Therefore, if it is necessary for the LCA action to be executed regardless of the source of the request, the globalId must be explicitly added to the request headers to ensure the condition is met and the action proceeds as intended.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.