2 Replies Latest reply: Nov 11, 2014 10:10 AM by 1005285 RSS

    getUserRoles() function is not retreiving any roles

    2715634

      Hi,

      I have created a simple bpel to retrieve the userRoles for a user. I have followed the format as mentioned in various blogs. However the process does not retrieve any roles. Could anyone suggest how can I get this to work. This is the way I invoke the function

       

      <assign name="AssignUserRoles">

                  <bpelx:copyList>

                      <bpelx:from expression="ids:getUserRoles(bpws:getVariableData('inputVariable','payload','/client:process/client:input'),'ApplicationRole','false')"/>

                      <bpelx:to variable="RoleObjects"

                                query="/ns1:roleObjects/ns1:roleObject"/>

                  </bpelx:copyList>

                  <bpelx:copyList>

       

      I have tried changing the roles and the direct to see if anyone would work. Unfortunately nothing does. Any help is appreciated