How to communicate BPM and JSF web application

Hi All,

we have developed JSF webapplication UI and deployed in JBoss application server, it has task Inbox implementation in UI, Different Group user has it’s own privileges pages inside in it, as soon as users of particular groups loging UI, it’s has his myInbox for workflow approvals accept or Reject.

now we are planing to go for designing of process models using BPM Designer for workflow process, i want to know is BPM process model (which is deloyed in MWS)can able able to communication JSF webapplication which is deployed in JBoss?. If yes, how it possible and what are the steps need to take care.

in BPM process model (work Flow) has to create task in JSF UI Task inboxes of particular user of group’s.

and also If user of one group logged-in UI and approve or reject the task work flow , how communication send back to process model to resume furthure process in the process model.

Can any one suggest me how the communicat can made between JBOSS JSF web application and BPM process Models which is running in MWS and IS.

Regards,
Anil Kumar Ellendula

Hi Anil,

Did you find any solution for the above mentioned issue?

We also need to integrate JSF web application(JBOSS) with BPM process developed in designer.

Thanks,
-Ramesh

Hi,

Please use the task API for the same. You have a task step in your proces model which queues up a task and the process waits in that task step until and unless you update the task. Also, expose an update service as a web service to the JSF application. So at runtime you queue up task for individual process instances and whenever the approval/ rejection happens in the JSF it calls the web service and pass on an unique identifier (something like a functional id which uniquely identifies a process instance). Using the unique identifier you can do a search task and then do an update task which updates the task and the control flows to the next activity step in the process model.

Do let me know if that helps.