JBoss Community

Access to process variable fields and properties

created by Sukhvinder Pal Singh in jBPM - View the full discussion

I have a class that I pass as variable name 'A' to my process. This class has a property say x of type anotherClass and a public accessor getX(). I also have a custom workitem, I want to pass x as a workitem parameter using parameter mapping. I tried passing in A.x and A.getX() in parameter mapping. But I get "There is no ID/IDREF binding for IDREF" error during process load. What is the correct way of achieving this?

Reply to this message by going to Community

Start a new discussion in jBPM at Community