javapostgresqljbpmbusiness-process-managementredhat-bpm

How to connect datasource to data input assignment's source in rhpam?


I have created datasource and a table which contains id and the email id of the user. I created a Email Task and I wanted that the "To" field as shown here should come from the database for the specific user id. How am I going to perform this?

enter image description here

Any help will be appreciated?


Solution

  • What I suggest here is quiet simple. Try to create a WorkItem in which you get the email address and assign it into a global variable of your process, later, in the E-mail task you use this address.