Q:

JBPM - Populate form on front-end with data structure from database

Right now we're using a Javascript API to pull our JBPM user forms from the back-end and place them in an iframe which is sitting on our custom front-end.
What we'd like to do is pull data from one of our database servers and display it in a suggestion field on our front end (when someone starts typing an id, suggestions are displayed in the field). So the idea is that when someone selects an id this field will populate the underlying jbpm form with the appropriate data from the sql query.
Problem is:

How to get at the jbpm form (field id's seem to be dynamic)

Anyone know of a potential solution to the specific or general problem?

A:

For this issue we ended up avoiding the jbpm forms altogether. Instead we used a Marionette/Backbone front end with our own forms and our own databases to store and display data. Our usage of JBPM 6.1 was scaled back to be used only for keeping track of where a particular process instance was in terms of human tasks. 

