1 Reply Latest reply: Dec 2, 2012 12:29 PM by bpm11gnewbie RSS

    display button based on bpm role

    bpm11gnewbie
      Hi

      i have followed the below link to display a button based on bpm role.
      https://blogs.oracle.com/bpmbestpractice/entry/bpm_adf_task_forms_checking

      however, when i display the value in #{securityContext.userInRole['BPMProject.Applicant'] , it comes as false even if the user logged in belongs to Applicant BPM Role.

      Pls help..

      Regards...
        • 1. Re: display button based on bpm role
          bpm11gnewbie
          Well...:)

          I found an easier way to achieve my reqt...dont know if it is the standard one...i used the predefined variable "swimlaneRole" exposed in data control and wrote " #{bindings.swimlaneRole.inputValue == 'Tester' ? 'false' : 'true'}" in the render property of the button.

          Hope it helps others....