Re: [rules-users] Drools Flow - problem with parameter mapping

2010-11-16 Thread matus
That exactly what I tried, but I allways got the error about ,There is no ID/IDREF binding for IDREF '_2_response'. or some other parameter. Is there some required naming convention? What I did is set In mapping like this employee = employee, length=length response=response and the same for out ma

Re: [rules-users] Drools Flow - problem with parameter mapping

2010-11-15 Thread Mauricio Salatino
You need to use both mappings IN Mappings (Parameter Mapping in the IDE): this will copy your process variables to the work item scope and OUT Mappings (Result Mappings): this will copy the information created or modified by the work item (in this case a human task) to the process scope. Greetings

[rules-users] Drools Flow - problem with parameter mapping

2010-11-15 Thread matus
Hi, I recently run into some problems when trying to create a simple holiday request process. I defined process variables but I struggle to understand how to access them in Human Task. In my User Task ,,holiday approval" I have this as a description: #{employee} requested holiday for #{length} day