Email Receiver QPAC - On timeout property

Hello,
Can anyone give a better explanation of what options for "On timeout" under the Retry tab of the Email Receiver QPAC. The documentation doesn't really explain what these happens. The options are Stall and Continue with Error.
I assume the stall does just stall the entire Workflow, but what about Continue with Error option. Does this attempt to continue to the next step in the work flow without receiving the email or does if an error occurs, does the workflow just stay at the Email Receiver?
The problem I am having is Connection timeouts. So, when I set On timeout to stall, of course my workflow would stall. When set On timeout to the Continue with Error option, the workflow did appear to stay at the Email Receiver QPAC, but it seemed to stop polling for emails.
I am trying to review the JBoss server.log file now to try and figure out what is going on (I set up the DEBUG per Howard's post on my other post), but it just looks like the Email Receiver stops polling for messages and I don't see any error upon a quick glance.
Thank you for any input.
-Jennifer

Hi Jennifer
"Stall" means that the QPAC will throw an exception, which will cause the workflow to stall. It will then show up on the "Stalled Actions" in the adminui. The only option you have is to retry the action, which will cause it to "start again from the beginning".
"Continue with Error" is perhaps a little poorly named. It really should just say "Continue". This means that if the timeout period is reached, the QPAC will just complete, which means that the workflow will continue on to the next action. (If there are multiple routes coming out of the QPAC, the first one that evaluates to true will be followed, as normal.)
The "Continue With Error" option is useful if you want the Workflow designer to be able to handle the error, rather than causing the workflow to stall. For example, if you were waiting for a customer to send a response to your outbound email, you might design the workflow to do something like the following:
- Wait for 2 days for a response email.
- If the two days elapse without receiving the response, send another email, then wait for another 2 days for a response email.
- If the additional 2 days elapse without receiving the response, assign a task to a customer support rep to call the customer to get the required information.
In short, Continue with error allows you to set a "soft" error - it's not an error that a System administrator needs to correct, it's just something that needs to be accomodated for in the workflow. A stall, on the other hand, is a "hard" error, that can only be rectified by a system administrator fixing the underlying problem and retrying.
I hope this explanation helps.
Howard
http://www.avoka.com
PS Technically, the "Continue with error" option does actually return an error code to the workflow engine, indicating exactly what the error is. However, the workflow engine does not expose this error code to the workflow design. This would be a useful feature which we hope may arrive in the next version.

Similar Messages

  • Confusion in Email Receiver QPAC Configuration.

    Hi,
    I am facing problems with email receiver QPAC. We are using exchange server for Email reception(POP3/Imap).Now the problems are
    1.I have given the user name in the same format as specified in one of the forum discussions i.e.
    (nt-domain\domain-username\email-username).
    It shows the below error When configured for IMAP:
    javax.mail.MessagingException: A2 NO There is no replica for that mailbox on this server.;
    nested exception is:
    com.sun.mail.iap.CommandFailedException: A2 NO There is no replica for that mailbox on this server.
    at com.sun.mail.imap.IMAPFolder.exists(IMAPFolder.java:392)
    at com.sun.mail.imap.IMAPFolder.checkExists(IMAPFolder.java:261)
    at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:782)
    2.when i configured for pop3 the error is
    javax.mail.AuthenticationFailedException: The requested mailbox is not available on this server.
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
    at javax.mail.Service.connect(Service.java:233)
    at javax.mail.Service.connect(Service.java:134)
    at com.adobe.workflow.qpac.emailreceiver.MailReader.retrieveMessages(MailReader.java:67)
    3. when i use pop3 and default (nt-domain\domain-username) the error is
    javax.mail.AuthenticationFailedException: Logon failure: unknown user name or bad password.
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
    at javax.mail.Service.connect(Service.java:233)
    at javax.mail.Service.connect(Service.java:134)
    at com.adobe.workflow.qpac.emailreceiver.MailReader.retrieveMessages(MailReader.java:67)
    Please help me on this as we have our accounts existing on the exchange server for pop3.

    Hi Raghavan
    To me it looks like in your first example, you are correctly connecting to the server, but the server is configured to use referrals.
    Please see this Microsoft article:
    http://support.microsoft.com/kb/217388
    For POP3, I believe that you don't need the domain name - just the users login (or full email address), plus password.
    Good luck...
    Howard
    http://www.avoka.com

  • Email receiver qpac-SAX Parsing Error

    Hi,
    Iam working on a project which needs to receive email from an
    external person and the workflow will continue from that point.
    >>I have put a email receiver qpac to accomplish the
    above task. I use the sender's(from) email address as a
    filter for incoming mails and the starting 4 letters of the form
    name to fetch the XDP attachment. The process works just fine
    when tested by sending a mail from Outlook express. But, in
    the case of Lotus Notes, the click of email submit button in
    the form opens up a new mail with the XDP Data file as
    attachment and names it weirdly with some numbers unlike
    outlook express client where in the attachment gets named as
    the form name "_data.xdp".
    Thus, my email receiver does not pick
    this email and the process gets stalled giving some SAX
    parser error. Is there any way to customise form/ lotus notes
    clients to make it work?
    Regards,
    Raghava Kumar VSS

    Hi Raghava
    Just drop the 4 starting letters, and look for the first attachment.
    There should only ever be 1 attachment, so you shouldn't have a problem.
    Howard
    http://www.avoka.com

  • Initiating Workflow with Email Receiver Qpac

    Hi..
    I have a requirement where i need to open my xdp form in a portal whichwill hav ethe hyperlink to the form and on clicking it, the form should open in the same web page. After this if i submit the form, the workflow should start after receiving this form as an email.
    For this i have included an email receiver qpac as the start action of the workflow, but nothing is happening. The workflow is not gettign initiated.
    What might be the Reason?
    Please help.
    Raghava Kumar VSS

    Hi Howard,
    Thanks for the reply,
    I have seen in previous forums in which you haev given an alternate solution for including a cyclic process and initiating a workflow using a chain QPAC. Though it wokrs, it has its own limitations as far as the web service is concerned.
    What i am actually in need is that the form submitted by the user should initiate a workflow (with or without an email receiver qpac as the set start action). Is it possible?
    Regards,
    Raghava Kumar VSS

  • Email Receiver QPAC - stops receiving emails after a while

    Hello,
    I have a workflow with the first step being an Email Receiver QPAC. Next I extract out some information to set to variables and then use the Chain QPAC to go to my next workflow and loop back to the Email Receiver (thanks Howard!). It works great immediately after invoking the workflow and I even left it running for one hour and tested it again and it works and received my email properly. So, I left everything running overnight, but now none of my emails are being received. I looked in the process manager and everything in running just fine, so the nothing stalled.
    I've been waiting for over 15 minutes now for my Email Receiver to go off and nothing.
    Does anyone have insight into what is going on?
    Thank you,
    Jennifer

    Hi Jennifer
    Try turning debugging on.
    In JBoss, you do this by modifying the log4j.xml in \Adobe\LiveCycle\jboss\server\all\conf
    Change the threshold from INFO to DEBUG for the file appender, as shown below:
    This will cause the EmailReceiver (as well as a whole lot of other classes) to send debug output to the log file:
    \Adobe\LiveCycle\jboss\server\all\log\server.log
    You should see some lines in the log file each time the EmailReceiver fires. These should tell you what it's searching for, and might give some insight into what's going wrong.
    Howard
    http://www.avoka.com

  • Email Receiver Qpac-test tab says no message found

    Hello,
    I want a workflow that listens email to initiate a chain process. However, I couldnt get any email with the Email Receiver Qpac. I just tested it from the test tab. It gives the mesage :
    Connecting to mail server...
    No message found
    Closing...
    I am sending a new mail for the email receiver to catch it. However, it does not. What is wrong with it ?
    Any help will be great.

    Actually I have already imported the jar files which was mentioned in another topic. I imported these files : activation.jar, dsn.jar, pop3.jar, mail.jar, mailapi.jar, imap.jar, smtp.jar. Before that, I was taking another message which was a problem about connecting. After I imported the jar files, the message changed to that one which says no message found.

  • Email receiver QPAC does not retrieve attachments other than .jar

    Hi,
    I'm currently experimenting with the email receiver QPAC. Unfortunately, I didn't succeed in convincing the QPAC to retrieve attachments. The QPAC's testing-tab indicates "Attachment Count:0" for .xml, .pdf, .xdp and even for image type files. Weirdly, .jar-attachments are retrieved indeed!
    Also the QPAC seems to mix emails using the subject of one mail and the body of another, if there are multiple emails on the server. Furthermore, the field "received date" always reads "null".
    Has anyone had the same problem using the email receiver QPAC?
    I'm quite frustrated after a week of testing. :-(
    Sincerely,
    Steve

    Apparently, I quite misunderstood the way the email receiver QPAC interacts with Workflow server. :-) Sorry for having bothered you with silly questions. Now, I got the workflow working!
    Still I get the 'cannot coerce object' exception. The example workflow stalls executing the task 'Str -> Form'.
    > com.adobe.workflow.datatype.InvalidCoercionException: Cannot coerce object: com.adobe.workflow.dom.VariableAttr@7935a1 of type:
    >
    com.adobe.workflow.dom.VariableAttr to type: com.adobe.workflow.datatype.form.FormDataTypeInstance
    >
    at com.adobe.workflow.datatype.form.FormDataHandler.coerceFrom(FormDataHandler.java:220)
    >
    at com.adobe.workflow.datatype.AbstractComplexDataTypeHandler.getNode(AbstractComplexDataTyp eHandler.java:42)
    >
    at com.adobe.workflow.dom.VariableElement.setBoundValue(VariableElement.java:72)
    >
    at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionCo ntextImpl.java:398)
    >
    at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataWithExpression(PATEx ecutionContextImpl.java:310)
    >
    at com.adobe.workflow.qpac.set_value.SetValueService.execute(SetValueService.java:72)
    >
    at com.adobe.workflow.engine.PEUtil.executeAction(PEUtil.java:184)
    >
    at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2320)
    >
    at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBM TBean.java:1903)
    >
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    >
    Howard, in the forum thread
    Question about Email Receiver QPAC you told Rob to provide a patch. Does this patch solves the 'cannot coerce object' problem?

  • Email Receiver: how to get the names of stored attachments?

    Hi,
    I hate to spam this forum. But I'm in desperate need of the names of attachments, the email receiver QPAC receives.
    If I select a list variable for the email receiver to store all attachments received into, all filenames appear to be lost. Also the MIME-types appear to be lost. Which is not big a problem, since I may use javax.activation in order to identify the MIME-type of any fileinputstream. But sometimes, I am unable to correctly identify the MIME-type. Then I need to fall back on the file's original name.
    So the simple question is: how do I get the 'filename' attribute of org.idp.Document objects instantiated by email receiver QPAC?
    Did anyone ever do that?
    Regards,
    Steve

    Hi Diana,
    1) I used the XPath expression indicated in the screenshot below. It resulted in the process variable
    filename being
    NULL.
    2) I using the following Java-Code in a scripting QPAC:
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.Set;
    ArrayList list = patExecContext.getProcessDataListValue("/process_data/attachments");
    System.out.println("[TEST] num attachments: "+ list.size());
    for (Iterator it = list.iterator(); it.hasNext(); ){
    com.adobe.idp.Document doc = (com.adobe.idp.Document)it.next();
    System.out.println("[TEST] attachment #1, filename: '"+ doc.getFile().getName() +"'");
           System.out.println("[TEST] attachment #1, filename-attribute: '"+ doc.getAttribute("wsfilename") +"'");
            System.out.println("[TEST] attachment #1, file size: '"+ doc.length() +"'");
           System.out.println("[TEST] attachment #1, content-type: "+ doc.getContentType());
      Set attributeList = doc.listAttributes();
    System.out.println("[TEST] num attributes: "+ attributeList.size());
      for (Iterator attributeIter = attributeList.iterator(); attributeIter.hasNext();){
      String attribute = (String)attributeIter.next();
      System.out.println("[TEST] attribute found: "+ attribute);
    Its output in the logfile was the following:
    [STDOUT] [TEST] num attachments: 1
    [STDOUT] [TEST] attachment #1, filename: '646834941068179579'
    [STDOUT] [TEST] attachment #1, filename-attribute: 'null'
    [STDOUT] [TEST] attachment #1, file size: '14624'
    [STDOUT] [TEST] attachment #1, content-type: null
    [STDOUT] [TEST] num attributes: 0
    Is there something I did wrong?
    Or is it even possible that the Email Receiver does not care about attributes of attachments?
    Regards,
    Steve

  • Email Receiver Invisible?

    Hello, I'm upgrading a client from LC 7.2.2 to 9.5.  My best days of LC 7 are long past me.  The upgrade didn't go as planned and I basically just recreated their workflow manually (since they only had one).  I have everything working except there is one part I can't see in their old workflow.  They have 7 assignments steps and the first 5 all interact via email only and never log into the GUI. I am unable to figure out how the Email Receiver is working as I can't even see any references to it.  In Designer, I can see two component sections (Core, Tools).  I have no idea how the email is being received as the workflow itself appears to only have Assignment steps.  Do I need to manually install the EmailReceiver QPAC in Desinger just to see those steps?  I can't see any references to subprocesses.  Please help.

    Got it figured out.
    http://blogs.adobe.com/ADEP/2010/08/configuring-email-for-process-management-in-livecycle- es2.html

  • Message monitoring Status Waiting for email receiver

    Hi Guru,
    Scenario:  SAP ECC will call Error Handling interface class. The communication channel for the Error Handling interface is Email Adapter.
    Below is CC setting:
    Adapter Type: Mail  (Receiver)
    Transport Protocol: SMTP
    Message Protocol: XIALL
    Adapter Engine: Integration Server
    URL: smtp://11.11.11.111/
    Check - Configure User Authentication
    User : user1
    Password: password
    Mail Attributes:
      From: [email protected]
      To    : [email protected]
      Subject : test
      Content Encoding: base64
    I encountered one problem where my email receiver status in message monitoring is always 'Waiting'. I do not know what went wrong in the setting? Does anyone know how to solve my problem ?
    Thanks in advance.
    Regards

    XI tries 3 times before changing the status of the message to System Error. One can Manually resend the error messages by using the RESEND button in RWB. In scenarios where XI was trying to send the message to an end system that was down for maintenance, you would want XI to resubmit the message automatically without human intervention. What would be nice is to able to tune the retries like IS_Retry which is available for Integration engine.
    We can achieve this by changing the retry count used by the Adapter Engine, by default its set to 3 times, 5 minutes apart. This count can be changed in Visual Admin->server->services-> SAP XI Adapter: XI.
    Here  change the number Retries parameter from 3 to 10 and change the retry retryInterval to around 10minutes. For these configuration changes to be picked up, restart SAP XI Adapter: XI.
    please visit the blog
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically

  • Email Receiver Error

    Hello everybody,
    I have the next error in the configuration of an Email receiver communication channel:
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: java.net.ConnectException: Connection refused: connect
    this error is displayed in the RuntimeWorkbench, now everything seems OK in the configuration, any suggestions of what could be happening?, I mean I'm lost on what to look for in this kind of error, cause I've configured another channel like this before and worked really well, I'm sure on the SMTP server name in the configuration, any suggestions would be really appreciated, thanks in advance.
    Regards,
    Julio Cesar

    Thanks for your anser, actually I have configured that server in my Outlook, so that's how I confirmed is up, I've tried gmail, hotmail and company emails, so I don't now if there's something in the network or with the adapter, now I have no idea what to check if there's something with the network, any sugeestions?, thanks again.
    Regards,
    Julio Cesar

  • Running Safari 6.0.3  When trying to print files using Adobe Reader 11.0.02, print preview screen is all black.  If files are attached to an email, receiver can't open it.  It does work OK in Firefox 19.0.2  Any ideas?

    Running Safari 6.0.3  When trying to print files using Adobe Reader 11.0.02, print preview screen is all black.  If files are attached to an email, receiver can't open it.  It does work OK in Firefox 19.0.2  Any ideas?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Email received on BT email display blank content

    Hi,
    The email received fron certain domain on BT internet mail display blank content. Has anyone come across the problem? Let me know how to solve.

    I am getting the same thing - going to post about it shortly as I don't know the solution either.

  • After mail was moved to iCloud on jan 1, my mail app emails received have 23 lines of "routing info" between the address and the message. How can I get rid of this info?

    After my mail was moved to iCloud, my mail app emails received have 23 lines of "routing data between the address and the message how can Imget rid of this "data"?

    Found the answer a Mail>preferances>Viewing>Show header detail. Changed it to Default.

  • HT4847 How does one prevent all email received from emigrating to the cloud at the time of receipt?

    How does one prevent all email received, from being sent to the cloud at time of receipt?
    leisurestreet

    Welcome to the Apple Community.
    That's how it's supposed to work, you can't stop it. If this isn't what you want you should get yourself a POP based email account.

Maybe you are looking for

  • Video and audio players will not show in Firefox. Players show in Safari and Chrome. (Mac computers). Do I need a plug-in?

    Tested on 3 apple mac computers: Mac Pro, Mini Mac and Macbook Pro. Each computer running Mountain Lion and Firefox 11.8.800.94 Video and audio players not showing on website (video player is JWPlayer) Error on video player placeholder says 'No video

  • How would you like to open this file?

    I'm using Internet Explorer 7.0.5730.13CO and I'm using Adobe Reader 9.3.2.  We have recently upgraded the browser and reader mentioned.  Now when I open a PDF document within the browser, it asks me how I would like to open the file, i.e. Read-Only

  • Proxy to soap : async

    Hi Wanted to understand if we have a async comm : proxy to soap and suppose the target system goes down while we transmit proxy data. If it is an async scenario ,it will error out in moni and an alert can be generated but this interface has to be aga

  • Autofill primary key with another field

    I have 2 fields: DISTRIB_CODE ex. ABC DISTRIBUTOR ex. ABC COMPANY I want the DISTRIB_CODE to be the primary key, but I cannot do that because DISTRIB_CODE occasionally changes. So, I think I thought of a way to work around it: DISTRIB_ID (PK constrai

  • Script for Portfolio PDF files

    Hi, I have a portfolio with several PDF XFA forms inside. I want to set up a button so that when the user clicks it the PDF will open in a new window (outside of the portfolio); Need help here! lock some of the fields; Have this done with .access = "