<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [SOLVED] Third-party review doesn't work well in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208421#M161551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the steps as described in advanced workflow article…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mail is gettng sent with the transition links perfectly…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when i click on it…no necessary action is action….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i think i have missed out something…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but couldn't get wat is that????&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can anyone please help if u have tried this…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2009 11:10:41 GMT</pubDate>
    <dc:creator>prethi</dc:creator>
    <dc:date>2009-09-23T11:10:41Z</dc:date>
    <item>
      <title>[SOLVED] Third-party review doesn't work well</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208416#M161546</link>
      <description>Hi everybody &lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;I am currently ready Alfresco Developer Guide. I'm ready chapter 7, about the advanced workflows. I made a workflow that works well. Here comes the diagram:http://www.benichka.fr/images/processimage.jpgWhen Operation Review and Marketing Review approve a file, an email is sent to a Th</description>
      <pubDate>Thu, 12 Mar 2009 16:06:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208416#M161546</guid>
      <dc:creator />
      <dc:date>2009-03-12T16:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Third-party review doesn't work well</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208417#M161547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;could you please provide us with the definition of your webscript in the webscript-application-context.xml …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 16:56:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208417#M161547</guid>
      <dc:creator>jayjayecl</dc:creator>
      <dc:date>2009-03-12T16:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Third-party review doesn't work well</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208418#M161548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree with JayJayECL&amp;nbsp; that you need to provide more input.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you see the result of logger.debug("Signal sent."); ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does your workflow have script components - if it does let's see it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a stacktrace in the logfile.&amp;nbsp;&amp;nbsp; Lets see it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although not the cause of your problem, I do note that if "id" or "action" are null you set status and then carry on regardless&amp;nbsp; :wink:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 00:00:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208418#M161548</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-03-13T00:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Third-party review doesn't work well</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208419#M161549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your replies &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@JeyJeyECL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I didn't touch the file &lt;/SPAN&gt;&lt;STRONG&gt;web-script-application-context.xml&lt;/STRONG&gt;&lt;SPAN&gt;. I created a &lt;/SPAN&gt;&lt;STRONG&gt;someco-script-context.xml&lt;/STRONG&gt;&lt;SPAN&gt; file that is located in &lt;/SPAN&gt;&lt;STRONG&gt;config/alfresco/extension/&lt;/STRONG&gt;&lt;SPAN&gt;. :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;someco-scripts-context.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' '&lt;A href="http://www.springframework.org/dtd/spring-beans.dtd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/dtd/spring-beans.dtd&lt;/A&gt;'&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;beans&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;bean id="webscript.com.someco.bpm.review.get" class="com.someco.scripts.GetReview" parent="webscript"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="workflowService"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ref bean="WorkflowService" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Actually I done what was written on the book :s (I didn't create extra files or modify something that weren't supposed to be ^^')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@mrogers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I inserted the line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;logger.debug("id: " + id + "\r\n" + "action: " + action);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Just after declaring the strings &lt;/SPAN&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;action&lt;/STRONG&gt;&lt;SPAN&gt; in the class &lt;/SPAN&gt;&lt;STRONG&gt;GetReview.java&lt;/STRONG&gt;&lt;SPAN&gt;. Guess what ? the line didn't show up in the log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;09:36:41,921 DEBUG [com.someco.bpm.ExternalReviewNotification] Mail action executed&lt;BR /&gt;09:37:41,750 INFO&amp;nbsp; [org.alfresco.web.scripts.AbstractRuntime] Caught exception &amp;amp; redirecting to status template: Wrapped Exception (with status template): null&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;(I declared my logger in the log4j.properties files, if you're asking):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;# Mail Getter reviewer&lt;BR /&gt;log4j.logger.com.someco.scripts.GetReview=debug&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;The first line indicates that the mail is sent (which is normal because I received it lol).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The second line is the exception &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, if &lt;/SPAN&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;STRONG&gt;action&lt;/STRONG&gt;&lt;SPAN&gt; are, I think that status is not set but that's right, the method carry on…No a perfect way to do thing, but it's an example in the book &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;script component? don't know that yet :s (or not in these terms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And noooooo there is no stacktrace, the error is even harder to decrypt &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that my scripts didn't call well my class, I'm gonna take a look…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for helping &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 08:54:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208419#M161549</guid>
      <dc:creator />
      <dc:date>2009-03-13T08:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Third-party review doesn't work well</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208420#M161550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Errrrrrrrrr I don't know what I've done, but it works &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I forgot to instantiate well the logger:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;logger = Logger.getLogger(GetReview.class);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done it, it solved it…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just don't know why a logger that isn't instantiate can block a whole script, but nevermind, it's solved &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 09:26:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208420#M161550</guid>
      <dc:creator />
      <dc:date>2009-03-13T09:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Third-party review doesn't work well</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208421#M161551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the steps as described in advanced workflow article…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mail is gettng sent with the transition links perfectly…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when i click on it…no necessary action is action….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i think i have missed out something…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but couldn't get wat is that????&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can anyone please help if u have tried this…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 11:10:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208421#M161551</guid>
      <dc:creator>prethi</dc:creator>
      <dc:date>2009-09-23T11:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Third-party review doesn't work well</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208422#M161552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did the same descibed above but I am unable to send mail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the null poiner exception from ExternalReviewNotification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A brief Stack trace I am writting below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;18:49:07,235 ERROR [org.jbpm.graph.def.GraphElement] action threw exception: null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.NullPointerException&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;18:49:07,265 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: Failed to signal transition 'Approve' from workflow task 'jbpm$51'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.service.cmr.workflow.WorkflowException: Failed to signal transition 'Approve' from workflow task 'jbpm$51'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.jbpm.graph.def.DelegationException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:387)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.NullPointerException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.tcs.bpm.ExternalReviewNotification.execute(ExternalReviewNotification.java:60)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;getting null pointer exception from below line of class ExternalReviewNotification.java&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color:#BF0040;"&gt;&lt;STRONG&gt;Action mailAction = this.actionService.createAction(MailActionExecuter.NAME);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please resond&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Khinendra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 05:44:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-third-party-review-doesn-t-work-well/m-p/208422#M161552</guid>
      <dc:creator>khinendra</dc:creator>
      <dc:date>2009-11-18T05:44:37Z</dc:date>
    </item>
  </channel>
</rss>

