3 Replies Latest reply on Feb 13, 2007 1:40 PM by Gavin King

    Seam Security and jBPM

    Damian Harvey Master

      I have tried to use the Seam Security EL function hasRole in a jBPM process as a transition condition eg.

       <decision name="CheckRole">
       <transition name="ApprovalNotRequired" to="ActivateEntry">
       <condition expression="#{s:hasRole('entrySupervisor')}"/>
       <transition name="ApprovalRequired" to="ApproveEntry">
       <condition expression="#{s:hasRole('entryUser')}"/>

      However I get the following exception:
      org.jbpm.jpdl.el.ELException: No function is mapped to the name "s:hasRole"

      What is required in order to add the Security EL functions to jBPM? Not sure where to start.