Can I use system properties in kie-deployment-descriptor in BPM Suite 6?

Solution In Progress - Updated -

Issue

We are registering work item handlers in kie-deployment-descriptor and we have no problem creating it. For example, here is how we register the email work item handler:

 new org.jbpm.process.workitem.email.EmailWorkItemHandler("com.somecompay.com", "25", "user@somecompany.com", "user123", true)

But we don't want to do this, because, when we move the business process from test, to QA or produccion we have to change the project and set new values. Is this possible to set parameters for WorkItemHandler using system properties?

Environment

  • Red Hat BPM Suite (BPM Suite)
    • 6.1
    • 6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content