Could you plese tell me how can I define (programmatically) the port of running Alfresco instance?
I'm writing advanced workflow and I should include the link to the Alfresco instance into users' e-mails. The purpose is to obtain ServletRequest object from JBPMSpringActionHandler instance. But I simply can't think how to do this.