Author: Ivar Alexander
Attachment:
Author: Neal Wang
Attachment:
Thanks Neal.
You talk about "some logic"... What would that logic look like? Lets take an example of a group consisting of Engineers (Shamim, Sameer, and Kumar). I want the logic that will give me the Engineers' manager (Keith) name. Remember... as a process designer, I don't know how many users are in the group, or who will be in the directory at run time. Can you be explicit about what logic can be used to figure out the manager's name? Thanks.Author: Ivar Alexander
Attachment:
Author: Neal Wang
Attachment:
Thanks Neal. I am still unclear about which API's i can call to achieve this. Can you tell me specificaly an API for getting the manager of a group of users? Lets take a simple example of using the Interstage BPM internal directory. How can I access this, and what API can I call to do this? Thanks.
Author: Ivar Alexander
Attachment:
Author: null
Attachment:
CY suggested:
The manager relationship is typically static, not going to change often at runtime.
Below is the screenshot of my installation configuring to use Fujitsu Active Directory, where the custom field, manager, is automatically populated with my manager’s user ID. With this ID, you can look up the email address.
Your next challenge is how to retrieve this manager’s email address in your due date escalation action.
Author: Ivar Alexander
Attachment:
CY suggested:
Step 1: IBPM supports the custom field called manager as part of the user profile. This fields stores the login ID of the manager.
Step 2: With the login ID, you can reverse look up or construct the email address of the manager.
Step 3: You can implement to call IBPM model API to consult the directory adapter of the manager’s ID, although it is not advised to call Model API directly from java action; however, I think in this case it is okay as we are only using the directory adapter module. Unfortunately, I checked the ServerEnactmentContext, there is no method available to retrieve the value of the manager field stored in the user profile.
Author: Ivar Alexander
Attachment:
Author: C.Y. Chen
Attachment: