3 Replies Latest reply on Nov 22, 2007 3:37 PM by (Khoa_Tran)

    Taking form offline and/or receiving emails

    HowardTreisman Level 1
      Hi
      We've set up a system mailbox, and configured LiveCycle to monitor this mailbox using the inbound email configuration settings in Adminui.

      However, LiveCycle doesn't retrieve any messages from the mailbox. And there don't seem to be any messages in the log indicating that it is polling.

      This means that if we take a form offline (using the button in Workspace, which saves the form locally), and then submit it back via email, it doesn't get picked up.

      Has anyone had any success involving a user in a process via email? If so, can you please let us know what you did to make this work.

      (Note: This is a different mechanism to setting up an email end-point on a process. This is the generic capabilities for anyone to take a form offline anytime.)

      Many thanks,
      Howard
      http://www.avoka.com
        • 1. Re: Taking form offline and/or receiving emails
          Jasmin Charbonneau Level 4
          Howard,
          You need to setup an email endpoint for the Complete Task operation of the Process Management service.

          That's the service that will complete the task.

          The email settings from adminui (under Process Management) are just used for notifications.

          Jasmin
          • 2. Re: Taking form offline and/or receiving emails
            HowardTreisman Level 1
            Thanks Jasmin
            Entirely obvious once you know the answer :-)
            For the record, is this actually documented anywhere?
            By the way, there are email settings in adminui for incoming as well as notification emails - presumably that's just for backward compatibility?
            Howard
            • 3. Re: Taking form offline and/or receiving emails
              Hi Jasmin,

              I have set up an email endpoint for the Complete Task operation. However when trying to submit the form through email, I got the error message "aMailFrom can not be null".

              Do you have any idea about what is causing this?

              Many thanks,
              Khoa

              ------------------------------
              The full error log is below:

              2007-11-23 10:23:40,843 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] begins process emails:
              2007-11-23 10:23:40,875 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] done process emails:
              2007-11-23 10:23:40,875 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] unlock EmailSource : livecycle@smtpgateway.awb.com.au
              2007-11-23 10:23:50,843 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] begins process emails:
              2007-11-23 10:23:50,875 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] done process emails:
              2007-11-23 10:23:50,875 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] unlock EmailSource : livecycle@smtpgateway.awb.com.au
              2007-11-23 10:24:01,000 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] begins process emails:
              2007-11-23 10:24:01,015 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] done process emails:
              2007-11-23 10:24:01,015 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] unlock EmailSource : livecycle@smtpgateway.awb.com.au
              2007-11-23 10:24:12,468 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] begins process emails:
              2007-11-23 10:24:12,921 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] done process emails:
              2007-11-23 10:24:12,937 INFO [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] unlock EmailSource : livecycle@smtpgateway.awb.com.au
              2007-11-23 10:24:12,984 INFO [com.adobe.idp.dsc.provider.service.scheduler.scan.impl.AbstractScanJob] Creating request for : operation ---------Complete Task : invoke
              2007-11-23 10:24:12,984 INFO [com.adobe.idp.dsc.provider.service.scheduler.scan.impl.AbstractScanJob] Input params are ---------
              2007-11-23 10:24:13,046 INFO [com.adobe.workflow.AWS] Invoking action synchronously
              2007-11-23 10:24:13,046 INFO [STDOUT] 23/11/2007 10:24:13 com.adobe.livecycle.notification.TaskNotificationServiceImpl processEmailMapSubmit
              INFO: TaskNotificationService called processMapSubmit()
              2007-11-23 10:24:13,046 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterLocal.doSupports(c om.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.Transacti onCallback) throws com.adobe.idp.dsc.DSCException, causedBy:
              ALC-DSC-001-000: com.adobe.idp.dsc.DSCRuntimeException: aMailFrom can not be null.
              at com.adobe.livecycle.notification.TaskNotificationServiceImpl.processEmailMapSubmit(TaskNo tificationServiceImpl.java:370)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:181)
              at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
              at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)
              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
              at sun.reflect.GeneratedMethodAccessor277.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
              at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
              at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:363)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
              at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
              at org.jboss.ejb.Container.invoke(Container.java:873)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
              at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
              at $Proxy167.doSupports(Unknown Source)
              at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
              at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
              at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
              at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:80)
              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
              at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)
              at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)
              at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:88)
              at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 0)
              at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
              at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
              at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:553)
              at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:261)
              at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:98)
              at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
              at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)
              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:282)
              at sun.reflect.GeneratedMethodAccessor241.invoke(Unkno