access activit-app.properties file entries through script task

cancel
Showing results for 
Search instead for 
Did you mean: 
sshukla
Active Member

access activit-app.properties file entries through script task

Is there a way to access activit-app.properties file entries through script task? lets say i want to access alfresco.cloud.clientId (defined in activit-app.properties) in a script task. How can i do it?

2 Replies
fegor
Senior Member

Re: access activit-app.properties file entries through script task

Hi!

But activiti-app.properties is read in start of service. If you need change, is better access to file via a Service Task with Java, I think.

Regards,

fegor

sshukla
Active Member

Re: access activit-app.properties file entries through script task

Hi Fernando,

Thanks for your comment. Yes, I could try to read it through service task. But i wanted to know if there is anyway the properties could be read using script task?