AnsweredAssumed Answered

How to get server context from within workflow action?

Question asked by gyro.gearless on May 11, 2010
Latest reply on May 13, 2010 by brian.robinson
Hi friends,

something that puzzles me:

I'd like to send notification EMails from within some workflow actions to user. These emails contain a list of documents involved in the workflow; and i would like to have each document shown in the email to be a clickable link into the Alfresco repository.

So, how would i get the server name and the application context from within  a workflow action? I.e, the "" prefix necessary to create the proper links? Is there some bean which i could query? (The workflow action is implemented as Java class, so i would have access to all Spring beans around).

Any hint welcome… :-)