Get list of users assigned to a Application Role in BPM.
How to get list of users assigned to a Application Role?
you can use function ids:getUsersInAppRole() to get the list of users for an application Role.
Check my previous post on how to use Identity functions.
Here is the link.
http://kvkvinod.blogspot.in/2014/04/bpmsoa-identity-functions-ex.html
Here is the link.
http://kvkvinod.blogspot.in/2014/04/bpmsoa-identity-functions-ex.html
There are different options for this function. You can get list of users for a BPMProcess role or BPMComposer role or even for soa-infra. You can see the same in the description.
Similar to my earlier post, you need to create a variable based on "Users" element from the schema and use "Copy List" to assign the output of the function to the variable as shown in the below picture.
Sample Project can be downloaded from here: https://drive.google.com/folderview?id=0B-B6k-1tHlm4dUVjR3lwMmxFdkE&usp=sharing
Leave a comment if you need any help with this.