on 10-27-2009 4:15 AM
Hi Experts,
I have a requirement in which i have to send a task for approval depending on approvers id entered by user i.e. say i have 2 human activities and in the first activity user has 5 options as his approver, which is second activity. Now depending on approver selected by user of first activity task should go in UWL of approver selected by user.
Please provide any document or any help on how to proceed.
Regards
Pranav
Assuming you have the selected approver in the WD Context of the first Human Activity, you need to map this to the process context in the first Human Activity's output mapping. For the second Human Activity, you chose to override the potential owner settings and specify it by using the built-in getPrincipal function. As parameter, you reuse the previously mapped process context element. Please bear in mind that the getPrincipal function expects the UME unique ID as parameter. Hence, try to model your process context to be of type string and being set with the UME unique ID of the selected approver.
Have fun!
Cheers, Benjamin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What if the user is not coming from the UME but from a different datasource, like LDAP. That user can still access Portal, but can he be assigned to a BPM task?
Many thanks,
Wesley.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello All,
Could you please anybody confirm that getPrincipals function is working fine for LDAP user IDs?
In production environment I am facing an issue where, tasks are not getting triggered for LDAP users.
In my scenario, I am passing unique name of user IDs as a string array into getPrincipals function to trigger tasks. Unique name what I am getting using API, contains special characters (\) in it
This ffunctionality is perfectly working fine in quality environment with UME user IDs.
Kindly requesting to provide any document or any help to resolve this issue.
Many Thanks
Ashwin.
Thanks to both of you for help.
Regards
Pranav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pranav,
As said by Benjamin, you need the Unique UME ID for all the users to whom you want to assign the task dynamically. You can do this in your Web Dynpro application by using the IUser api. Also you can retrive and store the unique names in the init of your WD application in first task and later on based on the selected conditions assign the task to a specified user. Same way we have implemented in one of the project.
Cheers,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.