on 10-27-2014 2:14 PM
Hi Experts,
I am using SAP NetWeaver 7.2 SP05 PAT0005, and wanted to create a process which send automatic Email notification to multiple EmailIds.
I had gone through so many documents but could not help. Please suggest how to do step by step as I am new to BPM.
Thanks in advance.
Regards,
Sweety.
Are these external emails? or, emails for internal ume or LDAP users?
if the emails are for internal users, you can use the function "getPrincipals(string[1..*] principalId)" , it takes array of principal ids, and will send the notification to the list of users.
please note that the format of the principal id for users imported from active directory is
USER.CORP_LDAP.logonid
the format for the principal id for ume users:
USER.PRIVATE_DATASOURCE.un:logonid
regards,
Ahmed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
my friend, for external emails you will need to write an ejb to do the job.
please follow the steps in this document, that should solve your issue.
Regards,
Ahmed
for this scenario you will have to follow the below procedure to implement this functionality. please let me know if you faced any issue while implementing this.
Hi,
I am following the PDF, have a doubt in the last screen shot.
In PDF for Use an expression for External Users:
GetExternalUsers(EmailAdresses/emailAddress,locale,timezone)
So I want to know from where 1st parameter (EmailAdresses/emailAddress) is comming?
Do I need to create context or what it is...
And also in WD Java I need to call this ejb to fill EMail IDs or it gets call automatically.
Regards,
Sweety.
Dear Sweety,
yes, the EmailAdresses/emailAddress should be defined in your process context to hold the email list you want to send the notification to.
the value to this email list in the process context should be mapped out to the process context from your WD interface controller of the human activity task.
regards,
Ahmed
Dear Ahmed,
Thank you so much for your help..
I have followed all steps mentioned in PDF.
-> Created context in BPM of string type 0..n
-> Mapped from the WD interface controller(Created node of 0..n of String type) of the human activity.
-> Written EJB code.
-> Created EJB Function
-> tried adding expression as mentioned in PDF but got error like locale and timezone not found
-> So I changed locale to "English" and timezone to "Coordinated Universal Time".
Now while adding the EJB Function to the Use Expression of the external User, getting error like Invalid function name.
Please suggest where I am wrong.
Please please please help as its getting late in my project and I am new to BPM...
Regards,
Sweety.
Hi,
you can use the Notification activity in youy BPM Process , and then in Property of Notification activity you can set the E-mail Id for sending Notification.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how you get the email ids, are they static?
if not, you have to write java code to do the job, bpm is not able to cover that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jun,
Thanks for reply...
Those emailIds are dynamic, and comming from WD screen.
I went through this doc: http://scn.sap.com/docs/DOC-45153
But not able to understand 3rd step. Please help..
Thanks,
Sweety.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.