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>
| <transition name="ApprovalRequired"
to="ApproveEntry">
| <condition expression="#{s:hasRole('entryUser')}"/>
| </transition>
| </decision>
|
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.
Thanks,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015930#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...