Generate permalink in Event Handler

I want to generate a permalink to a document from a process that gets fired as an event handler. The process would be running in a cluster. So it wants the link to be like “https://loadbalancedhost:8080/nuxeo/nxdoc/default/UUID” even though the process might be running on instance-a, or instance-b or instance-c. So far I have not been able to find any code that does this, or figure out a way to do it, if it is even possible. Help is appreciated. Thank you.

0 votes

0 answers

1282 views

ANSWER