How can I store my variables in bpm-platform.xml

Hello!

Can I store my custom variable in bpm-platform.xml?
I should get access via Java API to this variables.

I need this for:

  • I created JAR with 2 class:
    1. implements “AbstractProcessEnginePlugin”
    2. implements “HistoryLevel”
  • Put this JAR to /lib tomact.
  • Registered in bpm-platform.xml
<plugin> 
         <class>org.my.CustomHistoryLevelProcessEnginePlugin</class> 
 </plugin> 

It`s work perfect for me, but my custom HistoryLevel send request to external API and I dont want store URI to API in JAR.

Hi @Vasily,

it depends on your implementation of the plugin. You can implement your plugin to look up the URI in some database table or another configuration file.

Hope this helps, Ingo