AnsweredAssumed Answered

Notificação por email - Workflow

Question asked by cleber.vieira on Sep 8, 2009
Latest reply on Sep 28, 2009 by csaleh
Olá galera.

Estou usando o alfresco 3.2 e o share, agora preciso apenas usar o workflow avançando mas não consigo fazer com que o alfresco envie notificações por email, o outbound já esta configurando e funcionando (ao enviar um convite no share a pessoa recebe a senha e usuário, tudo certinho), mas ao iniciar um workflow nada acontece.

Estou precisando de uma luz.


Abração a todos

segue o erro quando inicio um workflow avançando pelo share.

    14:11:40,868 ERROR [freemarker.runtime]

    Error executing macro: resultsJSON
    required parameter: results is not specified.
    The problematic instruction:
    ———-
    ==> macro resultsJSON [on line 1, column 1 in org/alfresco/slingshot/documentlibrary/action/action.lib.ftl]
    in user-directive actionLib.resultsJSON [on line 2, column 1 in org/alfresco/slingshot/documentlibrary/action/assign-workflow.post.json.ftl]
    ———-

    Java backtrace for programmers:
    ———-
    freemarker.template.TemplateException: Error executing macro: resultsJSON
    required parameter: results is not specified.
            at freemarker.core.Macro$Context.sanityCheck(Macro.java:181)
            at freemarker.core.Macro$Context.runMacro(Macro.java:161)
            at freemarker.core.Environment.visit(Environment.java:601)
            at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
            at freemarker.core.Environment.visit(Environment.java:208)
            at freemarker.core.MixedContent.accept(MixedContent.java:92)
            at freemarker.core.Environment.visit(Environment.java:208)
            at freemarker.core.Environment.process(Environment.java:188)
            at freemarker.template.Template.process(Template.java:237)
            at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:202)
            at org.alfresco.web.scripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:523)
            at org.alfresco.web.scripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:241)
            at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
            at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:357)
            at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
            at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:407)
            at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:424)
            at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:288)
            at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:262)
            at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
            at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:619)
    14:11:40,869 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 08080009 Wrapped Exception (with status template): 08080008 Erro durante o processamento do modelo 'Error executing macro: resultsJSON
    required parameter: results is not specified.'. Por favor entre em contato com o administrador do sistema.
    org.alfresco.web.scripts.WebScriptException: 08080009 Wrapped Exception (with status template): 08080008 Erro durante o processamento do modelo 'Error executing macro: resultsJSON
    required parameter: results is not specified.'. Por favor entre em contato com o administrador do sistema.
            at org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:613)
            at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:165)
            at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:357)
            at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
            at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:407)
            at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:424)
            at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:288)
            at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:262)
            at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
            at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: org.alfresco.service.cmr.repository.TemplateException: 08080008 Erro durante o processamento do modelo 'Error executing macro: resultsJSON
    required parameter: results is not specified.'. Por favor entre em contato com o administrador do sistema.
            at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:206)
            at org.alfresco.web.scripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:523)
            at org.alfresco.web.scripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:241)
            at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
            … 21 more
    Caused by: freemarker.template.TemplateException: Error executing macro: resultsJSON
    required parameter: results is not specified.
            at freemarker.core.Macro$Context.sanityCheck(Macro.java:181)
            at freemarker.core.Macro$Context.runMacro(Macro.java:161)
            at freemarker.core.Environment.visit(Environment.java:601)
            at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
            at freemarker.core.Environment.visit(Environment.java:208)
            at freemarker.core.MixedContent.accept(MixedContent.java:92)
            at freemarker.core.Environment.visit(Environment.java:208)
            at freemarker.core.Environment.process(Environment.java:188)
            at freemarker.template.Template.process(Template.java:237)
            at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:202)
            … 24 more
    [/list:u]

Outcomes