Email Initiates BPEL

Hi,
I am using a EMAIL to initiate BPEL process.
Everythings working fine, however i have some problems.
1. The mail gets deleted after being read.
2. I want a BPEL instance to be created for only specifiic emails, say containg specific subject lines, from etc.
Please help me on this.
Thanks,
Rosh

Hi,
for initiating a bpel with e-mail read:
http://blogs.bpel-people.com/2007/01/using-email-to-initiate-bpel-process.html
If you only want to filter on the mail, you can do the following:
in
<incomingServer>
<protocol>[protocol pop3 or imap]</protocol>
<host>[imap or pop3 server]</host>
<email>[imap or pop3 account]</email>
<password>[imap or pop3 password]</password>
<folderName>[imap only, inbox folder ]</folderName>
</incomingServer>
use a foldernName and then configure your E-Mail server that the mails are copied with the filter rules you want.
You should use the filter on the server side, because they are written exactly for this kind of work and it is not a good idea to implement this in the BPEL PM from Oracle.

Similar Messages

  • Initiate BPEL from Email

    Hello,
    I want to initiate BPEL process form email in Oracle Soa Suite 11g. How can I do this ??

    that's the way to do it in 10g
    i think in 11g it's possible by use of the activation agents (couldn't find any info about it half a year back)
    so i think if you really want it you need to write your own java class in between which will do the polling and fire off your bpel processes

  • Initiate BPEL process by e-mail polling lost in upgrade to 11g

    So, as you would know by a simple search, "e-mail polling" or e-mail as an activation agent in BPEL 10.x works wonderfully following the guidance in the link: http://blogs.bpel-people.com/2007/01/using-email-to-initiate-bpel-process.html.
    Taking that process and opening it in JDev 11g and running the upgrade process, I can't find where the activation agent configuration went. The process deploys fine, but none of the e-mails are getting picked up and starting the process. I've gotten myself lost in the Weblogic 10.3.3 configuration and can't seem to build the composite application to get e-mails flowing to a BPEL process. I've tried stuff with User Messaging Service, but that seems geared more towards the Workflow app. Also, the JavaMail looks really neat, but quite lost how to incorporate that into a BPEL workflow/composite application. I am from a BPEL background, my Java skill is medium-low.
    It seems some of you have this working in 11g to poll an e-mail folder and kick-off a BPEL process. I've spent too much time muddling through the docs and not being successful and I'm not sure if my problem is Weblogic configuration or coding in the BPEL composite app. For those with this working, what do you feel is the best practice and if you can provide pointers to where I might dig further to get this working, I would really appreciate it.
    Thanks!
    -Colin

    Hi,
    Did u find the solution for this in 11g.
    I am struggling too..
    Please help if u have updates on it.
    Thnaks
    Viv

  • Schdule email in BPEL ?

    Hi friends
    I am new to BPEL world and I worked on some examples and was able to sent email from BPEL console.
    The actual requirement is, to send an email Every friday morning
    Any approcahes / Ideas .. how to implement this?
    Thanks
    Ravi

    As Clemens pointed out there's no default functionality available for this in BPEL PM. You should build your own solution. There are a lot of options on how to solve this. Which one is the best depends on your architecture/infrastructure and available knowledge. Some options:
    - Use a BPEL with WAIT activity that becomes active at scheduled times and gathers all emails to be sent
    - add records to a db table and use dbms_job to schedule a mail procedure using utl_smtp
    - make a JMS topic and put in messages. Dequeue at a scheduled interval using e.g. EJB timer
    - use Quartz to schedule some Java class (not sure how this works from BPEL PM though)
    - Any combination of the above
    I guess it depends on your architecture and comfort zone ;-)
    HTH,
    Bas

  • Email Activity Not sending email when BPEL process fails

    In 11g SOASuite I have a BPEL process which does the following,
    1) Receive response from client
    2) Email activity - Notify with an id received in the request as content
    3) Insert data into a table using db adapter
    Whenever db adapter has some key violations or issues, I notice that no emails are getting dispatched. When I look at EM console it displays that txn has been rolled back after 3rd step. I understand that but it makes me ask this question,
    How can I make the process to send an email at step2 irrespective of an error that happens down stream at step-3? How to make email activity not part of this Txn scope?
    It works as expected(emails are dispatched) when there are no issues at step-3.

    Hi,
    In order to not rollback your transactions, you need to hit a dehydration point, meaning, save your process into the db store and perform a commit until that point.
    It sounds like a simple process, so you can drag a checkpoint activity after the email activity.
    That is one option. Try, and see if it works for you.
    Arik

  • Sending email using BPEL 11g and Mail Sessions

    Hi gurus,
    I have created a BPEL process which can emails to a set of people. The mail server, port etc are configured in EM Console --> user messaging service-email --> Email Driver Properties. I then added the 'from address' in soa infra --> workflow config.
    My question is - is there any way in which I can achieve the same using Mail Sessions (Weblogic Console --> Mail Sessions)?
    Regards,
    Arindam

    I ran accross this randomly so sorry if this is irrelevent with timing. It seems however that Text Expander might be what you need. It is a mac program though, not ios.
    http://www.smilesoftware.com/TextExpander/

  • Initiate BPEL process from incoming fax ?

    hi all,
    I found a very interesting post on Matt Wright's Blog
    [http://blogs.oracle.com/matt/2006/03/10#a26] to init a process from a incoming email.
    Do you know if we can make the same with an incoming fax?
    Thanks for your help,
    Cyryl

    Hi,
    In the past, I participated in 2 projects dealing with handling faxes or scanned documents (tiff format either way).
    In one project, we used fax software (from Kofax I believe) that was able to recognize and interpret barcodes. Based on the barcode, the fax was put into the proper dossier in an Oracle database and processed from there. In case a barcode was not detected or could not be interpreted, the document was stored in a temporary dossier and someone was assigned the task to put it in its rightful place.
    You could adopt a similar strategy and kick of a BPEL process whenever a document arives.
    Hth.
    Best regards, Sjoerd

  • Unable to Initiate BPEL Flow using BPELConsole

    Hi,
    I would appreciate some assistance in the following...
    Recently whenever I try and Initiate a BPEL flow through BPELConsole (logged on as bpeladmin) I receive the following message:
    "The following exception occured while processing this request:
    null"
    This is a production environment, and I can see via the "Dashboard" & "Instances" tabs that processes are executing, but I´m unable to start any directly from the console.
    The BPEL version is 10.1.3.1, running under Linux.
    Where do I start looking to find the root cause of this error? Let me know if additional info is required before you can assist.
    Thanks.
    Anit

    Hi,
    Thanks for the info. Went check what the logging was set to: "Manage BPEL Domain->Logging" and was presented with:
    "500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details."
    The files in "/opt/oracle/product/10.1.3.1/OracleAS_1/opmn/logs" that I have are:
    drwxr-xr-x 2 bpel dba 12288 Sep 17 23:50 archive
    -rwx------ 1 bpel dba 21454 Sep 17 18:31 default_group~home~default_group~1.log
    -rw------- 1 bpel dba 289343 Sep 18 08:56 default_group~oc4j_soa~default_group~1.log
    -rwx------ 1 bpel dba 23047 Sep 17 18:31 HTTP_Server~1.log
    -rwx------ 1 bpel dba 0 Jun 3 18:18 opmn.dbg
    -rwx------ 1 bpel dba 206016 Sep 17 18:41 opmn.log
    -rwx------ 1 bpel dba 236 Jun 3 19:02 opmn.out
    drwx------ 2 bpel dba 4096 Sep 17 18:41 states
    only default_group~oc4j_soa~default_group~1.log appears to be being written to, but that does not contain any info relating to the errors I am experiencing.
    Any other suggestions?
    Regards - Anit

  • Unable to initiate BPEL instance...

    Hello everyone,
    I am having trouble with an async service which is getting compiled and deployed successfully but when i try to initiate it through BPEL console i get the following error
    <Fault env="http://schemas.xmlsoap.org/soap/envelope/" >
    <faultcode xmlns="" >env:Server</faultcode>
    <faultstring xmlns="" >java.lang.NullPointerException</faultstring>
    </Fault>
    after auditing the instance it is found that the input is not passsing through the rcvClient
    We have migrated the oracle BPEl application from 10.1.2 to 10.1.3.5.
    Thanks,
    Raj

    log file is showing me the below error
    <DispatchHelper::handleMessage> failed to handle message
    java.lang.Exception: Failed to create "java:comp/env/ejb/local/CubeEngineLocalBean" bean; exception reported is: "javax.naming.NameNotFoundException: java:comp/env/ejb/local/CubeEngineLocalBean not found in InstanceManagerBean @ com.oracle.naming.J2EEContext.getSubContext#256".
         at com.collaxa.cube.engine.util.EngineBeanRegistry.lookupEngineLocalBean(EngineBeanRegistry.java:109)
         at com.collaxa.cube.engine.util.EngineBeanCache.getEngineLocalBean(EngineBeanCache.java:127)
         at com.collaxa.cube.engine.dispatch.message.domain.PerformRecoveryMessageHandler.handle(PerformRecoveryMessageHandler.java:35)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:148)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)

  • An email from BPEL doesn't get through

    Hi guys.
    I am testing an email notification service from BPEL, and from the WL EM Console, the result is "Completed"; however, I never get the email in my account, and when I check the log, I find the following notification message:
    WSIFBinding=> [default/MyEmailTest3!1.0*94b9c13b-083c-42e4-999b-1c3a1af5a213.NotificationService_1]:sendNotificationToUser Performing outbound request/response interaction..
    Any ideas on what can be wrong or where to find a log that may help me to trace the error (if any).
    I'm working on weblogic 10.3.2
    Thanks, and have a great weekend!
    Ignacio.

    Welcome to the Apple Community.
    If you still know the ID and password, you can change your email address.
    Start here, change your country if necessary and go to manage your account.

  • Initiate BPEL from ADF Faces

    Hello All,
    I created some webservice Data controls by using BPEL process WSDL, and then made input pages for these Data controls.
    But all of these Data controls have some extra required information as below need to be inputed.
    And I can input any trash data but I can't leave them as blank.
    ReplyTo_Address
    ReplyTo_PortType
    ReplyTo_ServiceName_PortName
    ReplyTo_ServiceName
    MessageID
    Anyone have an idea on how I should hanlde these extra input?
    Regards,
    Kerr

    Hi Marc,
    The BPEL process is an async process.
    The web service should be an async one too.
    Regards,
    Kerr

  • BPEL not initiating with Email attachment

    Hi all,
    I am trying to initiate a bpel process based on email by following the link below:
    http://blogs.bpel-people.com/2007/01/using-email-to-initiate-bpel-process.html
    I have succeeded in initiating the bpel process with email, following this link.
    But my problem is that, whenever I am sending email with attachment, my BPEL process is not initiating.
    My BPEL process is initiating only when the email is received in the inbox without attachment.
    The attachment which I am sending is very small in size, like 500 bytes.
    For this, I also tried increasing the heartbeatinterval to 240 in bpel.xml activation agent code, but no luck.
    I dont have any clues about what is happening.
    Any solutions?
    I am using :
    Jdeveloper 10.1.3.3
    SOA Suite 10.1.3.3
    Please help me out.
    Thanks in advance,
    Abhishek.

    hi,
    Any updates on this?
    Thanks in advance,
    Abhishek

  • Start BPEL 11g on Receiving Microsoft Exchange Email

    Folks, I have seen some documentation that a "preview" UMS adapter can be enabled to allow emails to trigger BPEL processes. The documentation reveals that an IMAP or POP3 mailbox is needed.
    Does anyone know of a way to start the BPEL on receipt of a Microsoft Exchange Email? This follows the "MAPI" protocol.
    Manoj

    We can use UMS adapter to initiate BPEL process on receiving email. The UMS adapter is available in SOA 11.1.1.7 version.

  • Problem in sending Email notification from BPEL

    Hi,
    i am trying to send email from BPEL using Email activity.Using SoaSuite10.1.3.3
    i configured the ns_emails.xml file properly as below.
    when i run the process, it is executing fine without any error.
    but i am not receiving any mail.
    even i applied patch set p6148874 also.
    below pasted is the ns_emails.xml file.
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>domain.com</SMTPHost>
              <SMTPPort>25</SMTPPort>          
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>domain.com</Server>
    <Port>110</Port>
    <Protocol>pop3</Protocol>
    <UserName>ckommalapati</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">Chandu@1205</Password>
    <UseSSL>false</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    Even i tried adding <AuthenticationRequired> details to the above and its not working.
    i restarted the server after modifications.
    i tried pinging the SMTP server of my domain, and its connecting successfully.
    Could any one suggest me the solution for this problem.
    is there anything extra need to be configured for this..?
    Thanks in advance.

    Hi, ravigali :
    Following are some steps I take to set Email notification in BPEL:
    A important thing: get the right parameters of your Email server.
    Step:
    1. Alter ns_emails.xml (in D:\soft\SOASuite\product\10.1.3.1\OracleAS_1\bpel\system\services\config directory), an example is as following:
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    EmailMimeCharset=""
    NotificationMode="EMAIL">
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>*Your Name*</FromName>
    <FromAddress>*Your Email: ***@***.com*</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>*mail.***.com*</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>*mail.***.com*</Server>
    <Port>993</Port>
    <Protocol>IMAP</Protocol>
    <UserName>***@***.com</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">***</Password>
    <UseSSL>true</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    </EmailAccounts>
    Note: the detail explain of every XML element is in http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#sthref324 (2.2.1 Configuring the E-mail Server)
    2. Add the following property to wf_config.xml (in D:\soft\SOASuite\product\10.1.3.1\OracleAS_1\bpel\system\services\config directory):
    <property name="oracle.bpel.services.notification.publisher_interval" value="1" />
    Then the BPEL server will send notification every 1 minute. More detail about this configuration to see http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/notif.htm#sthref1678 (14.2.1 Reliable Notification Service).
    3. Re-start all SOA Suite services. (opmnctl startall)
    After the BPEL process invoke any E-mail notification activity and if we can’t receive any E-mail notification, we need to check the BPELNOTIFICATION table (ORABPEL database schema). And delete any error data in this table, then correct the E-mail notification setting through above steps and re-start all SOA Suite services.
    Thanks,
    Melody

  • Send Email using Email Activity in BPEL

    Hi Everybody,
    I am trying to send email using email activity in BPEL
    All that I have done is,
    1.dropped Email activity between recieve i/p and reply o/p in my bpel project
    2.written all parameters in it like Default, To ,from etc.
    3.made changes in the ns_emails.xml in .........bpel/systems/services/config & in .......integration/esb/config
    4.restarted SOA,Jdeveloper
    --> but I was not succeeded.
    So please provide me with complete solution like what parameters to pass in smtp server,port no,protocols etc and which file to change in which directory. my work is pending just because of this.
    I would be very grateful to you.
    thanks in advance.
    mansoor.

    hi Eric,
    thanks once again for your instant reply.
    but still I am not able to send Email from bpel so I would be requiring your more help.
    I have gone through below link where you helped someone last year.
    Email
    As per this link I have downloaded the patch and tried but no result.
    in above link I have not understood one thing
    "the ip-address of soa-suite-server is allowed to make use of the smtp?
    you need to add this address in the mailserver-config "
    which was said by you.
    So can you please provide me the details.
    Also I wanted to know how we can come to know that our SOA suite will allow mail server to send Email.how to link mail server to SOA suite etc.
    So please help me out .
    thanks in advance.
    mansoor.

Maybe you are looking for

  • Missing 'Excise Duty' tab folder in purchase order for a ED material

    Hi,  We just applied a enhancement pack on our test environment.  We are now testing PO creation (ME21n) for a ED material, but this tab folder is nowhere to find now  Any idea how to resolve this?  I can't find a OSS note.  Thanks in advance.

  • How to track WebUI users in GUI

    Hi, I want to track users in GUI who are login via WebUI . Is there any way to track the users in GUI who are working in WebUi like which report they are running, whether their session is active or stuck We are using CRM 7.0 Regards, Puskar

  • SAX Parser in OC4J

    I'm trying to read a XML file in an EJB using a SAX parser. I tried the following statement to create the reader XMLReader xr = XMLReaderFactory.createXMLReader("oracle.xml.parser.v2.SAXParser"); but I obtain the following exception: java.lang.ClassN

  • Data services management console deployment on weblogic

    I have installed SAP installation platform services 4.1 sp2 without Tomcat server. I have deployed BI applications using Weblogic 11 and they are working fine. I have installed SAP data services on top of it. Installation runs fine. I am not able to

  • Logical equivalence of 2 queries

    Hi All, I dont know whether this is right question but I am not sure so putting it here. I have one query which I am trying to tune which I felt is doing unnecessary fetches and additional joins not required ( here I do nt know the backgrnd of this q