The HTTPRestHandler and RunSqlScriptHandler need parameters like user, password, and hostname. This information can be defined globally in the tim.properties and can be reused in all processes which use the appropriate ActionHandler. If a user, password, or host change is required, then this can be changed globally in the tim.properties. This will affect all processes which use the parameters defined in the tim.properties.
The following documentation describes the definition of global parameters in the tim.properties and how the ActionHandler reuses them.
Define parameters in tim.properties
Description
Each parameter to be reused by the ActionHandlers is defined here with an individual name and the corresponding value.
Example tim.properties
ext.api-user=John.Doe ext.api-pass=specialPW ext.api-url=https://yourcompanyserver.com/ ext.api-repository=Repo123 ext.filter=Object:BPMN
Only letters, numbers and “-” are allowed in properties and all letters have to be lower case!
Reuse global parameters in an ActionHandler
Description
For reusing the global parameters and their values, mark them with ${name_of_the_variable} and assign them to in the corresponding parameter of the ActionHandler.
Example HTTPRestHandler
Parameter | Value |
---|---|
hostName | ${ext.apiurl}api/repositories/${apiRepository} |
user | ${ext.apiuser} |
pass | ${ext.apipass} |