<?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: Unable to signal the process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244250#M197380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are mixing the BPMN 'signal' concept with the 'signal' in the core engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It has nothing to do with each other. The latter is also renamed to 'trigger' in version 6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So to continue your custom task, you simply need to call the runtimeService.signal (NOT signalEventReceived) method to continue the process (exactly the same as when using a receive task).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2016 13:21:58 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2016-04-20T13:21:58Z</dc:date>
    <item>
      <title>Unable to signal the process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244249#M197379</link>
      <description>Hi, This has probably been asked many times before, but I am stuck and cannot figure out what the problem is.I'm using the spring boot activiti starter project (activiti v 5.17.1-SANPSHOT, and boot v 1.2.2.RELEASE) for this.I have a process as below:For the 'My Service Task' task, I have extended th</description>
      <pubDate>Wed, 13 Apr 2016 13:08:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244249#M197379</guid>
      <dc:creator>rajivmoghe</dc:creator>
      <dc:date>2016-04-13T13:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to signal the process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244250#M197380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are mixing the BPMN 'signal' concept with the 'signal' in the core engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It has nothing to do with each other. The latter is also renamed to 'trigger' in version 6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So to continue your custom task, you simply need to call the runtimeService.signal (NOT signalEventReceived) method to continue the process (exactly the same as when using a receive task).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 13:21:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244250#M197380</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-04-20T13:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to signal the process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244251#M197381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for this. I tried this out by using &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;{&lt;BR /&gt;&amp;nbsp; "action":"signal",&lt;BR /&gt;&amp;nbsp; "signalName":"Some Signal"&lt;BR /&gt;}&lt;/CODE&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the MyServiceTask.java I also have the signal method as follows: &lt;/SPAN&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; System.out.println("SignalName "+ signalName +"\n"+ "Signal Data&amp;nbsp; "+ signalData);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; leave(execution);&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On debug, I traced the ReST call to this routes this call to RuntimeService's signal(String execId, Map procVars) method, that creates a SignalCmd with the signalName and signalData as nulls. Which means that in my service task, I do not have access to the signal name (Or is that the triggerName in 6.0 onwards?). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q: Is there any way I can have that, short of rewriting my own wrapper on the RuntimeService and a new ReST endpoint for this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 14:28:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244251#M197381</guid>
      <dc:creator>rajivmoghe</dc:creator>
      <dc:date>2016-04-20T14:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to signal the process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244252#M197382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"Which means that in my service task, I do not have access to the signal name (Or is that the triggerName in 6.0 onwards?)."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, signal in v5 = trigger in v6. A 'signal' in v5 speak in this context is effectively a 'go ahead' at a wait state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Is there any way I can have that, short of rewriting my own wrapper on the RuntimeService and a new ReST endpoint for this? "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe there is a way to use process variables for this purpose? Although it doesn't match perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 10:53:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244252#M197382</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-04-26T10:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to signal the process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244253#M197383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I really cannot have the following ? As in &lt;/SPAN&gt;&lt;A href="https://forums.activiti.org/comment/34270#comment-34270" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;&lt;CODE&gt;public void signal(ActivityExecution execution, String signalName, Object signalData){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(signalName.equals("serviceCompletedSignal")){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; add signalData to procVars;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; leave();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else{// signalName.equals("allData is available")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; add allData to procVars;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; execute();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;since this signal (v6 trigger) is merely an &lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;unconditional&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt; 'continue forward' to the instance? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And also the 'signal' of the method name and 'signalName' in the paramlist refer to two different concepts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 01:41:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244253#M197383</guid>
      <dc:creator>rajivmoghe</dc:creator>
      <dc:date>2016-04-27T01:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to signal the process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244254#M197384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;" is merely an unconditional 'continue forward' to the instance"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"And also the 'signal' of the method name and 'signalName' in the paramlist refer to two different concepts?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the default implementations shipped with the engine, yes. But you can use it for whatever purpose in your custom code of course.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 11:41:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-signal-the-process/m-p/244254#M197384</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-05-03T11:41:51Z</dc:date>
    </item>
  </channel>
</rss>

