cancel
Showing results for 
Search instead for 
Did you mean: 

get hostname in extend of AbstractBpmnActivityBehavior class

marcantoine
Champ in-the-making
Champ in-the-making
Hi,

Is it possible to get the hostname of the deployed Activiti instance ?
I'm currently extend a Service Task a my service require a callback to Activiti.
It's for that who I need to get the hostname. I have actually look in ActivityExecution properties but I found nothing for that.

Thank,
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
No, the java side of things will not have any such environment information. Unless your web container adds it somewhere globally, you won't be able to get it. The only was is then to use a global configuration setting somewhere.

marcantoine
Champ in-the-making
Champ in-the-making
It can be logic.
Thanks.