<?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 Logic seperation in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/logic-seperation/m-p/102760#M71556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am currently evaluating Activiti (and BPMN in general) for our organisation and was wondering if I could ask 2 general questions with a view to just getting a pointer about WHERE it is best to put the logic (bean, Java task, BPMN etc)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Users have asked the following questions about any possible technical solution…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - Within Activiti, where would you control the checks to see if a task can be completed? (ie: the task cannot be completed unless there is a value in an external field/user is not in a certain security group)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - Can you set a task to not be allowed to be completed manually? (ie: the user cannot press "Complete Task" in Explorer as the task can only be completed by an external process(i know, we will not be using Explorer upon deployment, but as an example)) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for your time as always&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2012 09:51:20 GMT</pubDate>
    <dc:creator>mikepoole</dc:creator>
    <dc:date>2012-06-25T09:51:20Z</dc:date>
    <item>
      <title>Logic seperation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logic-seperation/m-p/102760#M71556</link>
      <description>I am currently evaluating Activiti (and BPMN in general) for our organisation and was wondering if I could ask 2 general questions with a view to just getting a pointer about WHERE it is best to put the logic (bean, Java task, BPMN etc)?Users have asked the following questions about any possible tec</description>
      <pubDate>Mon, 25 Jun 2012 09:51:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logic-seperation/m-p/102760#M71556</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-06-25T09:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Logic seperation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logic-seperation/m-p/102761#M71557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Those checks aren't informed on engine level. Currently, a user only sees tasks (in explorer) that are either directly assigned to him/her or is member of candidate-group. If you want additional checks or mechanisms, you should add this in the layer on top of activiti. In case of Activiti Explorer, you should edit the source, e.g.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; TaskDetailPanel line 359:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; completeButton.setEnabled((isCurrentUserAssignee() || isCurrentUserOwner()) &amp;amp;&amp;amp; myCustomCheckMethod());&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;In case of non-explorer usage, this can be added in the API/servcie that consumes activiti-API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If you have "tasks" that aren't supposed to be completed by a human, the user-task isn't the right BPMN activity to use. Instead, use a "receive" task instead and the variables that you may want to pass to the process (like you do with the completeTask(task, vars)) can be done using runtimeService's setVariables(), before you notify the "receiveTask" to continue by signaling the workflow (also runtimeService).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 10:20:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logic-seperation/m-p/102761#M71557</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-25T10:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Logic seperation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logic-seperation/m-p/102762#M71558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Frederik. Really useful information. Makes a lot of sense&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I really appreciate your time. Thanks again&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 13:27:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logic-seperation/m-p/102762#M71558</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-06-25T13:27:37Z</dc:date>
    </item>
  </channel>
</rss>

