Community

Access to variable via EL ?

created by Jaber C. Mourad in jBPM - View the full discussion

Hi,

 

As EL is relatively easy to use in Jbpm, is there some objects usable by default with EL ?

 

For exemple I need to access to some variable previously defined with an EventListener in a task and that data is used in an AssignementHandler, but I want to make it more generic that access to a specific variable in the Java code.

Is it possible to make something like that ?

 

     <assignment-handler expr="#{managerAssignementHandler}">
            <field name="employee">
                <string value="#{variables['lastAssignee']}" />
            </field>
        </assignment-handler>

 

Regards

Reply to this message by going to Community

Start a new discussion in jBPM at Community