<?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 Creating a new task, out of BPMN constructs in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-task-out-of-bpmn-constructs/m-p/219613#M172743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wondering what it takes to write a custom task that is not mentioned in BPMN constructs, for example, we would like our business modellers to write XML like this –&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;managersTask id="task1" action="one.of.allowed.action.for.managers"/&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note that this approach is favored just because it encompasses lot of other implementation details and keeps modeller's side of work simple and clean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jul 2016 06:58:10 GMT</pubDate>
    <dc:creator>asyncwait</dc:creator>
    <dc:date>2016-07-29T06:58:10Z</dc:date>
    <item>
      <title>Creating a new task, out of BPMN constructs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-task-out-of-bpmn-constructs/m-p/219613#M172743</link>
      <description>Wondering what it takes to write a custom task that is not mentioned in BPMN constructs, for example, we would like our business modellers to write XML like this –&amp;lt;managersTask id="task1" action="one.of.allowed.action.for.managers"/&amp;gt;‍‍‍Please note that this approach is favored just because it</description>
      <pubDate>Fri, 29 Jul 2016 06:58:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-task-out-of-bpmn-constructs/m-p/219613#M172743</guid>
      <dc:creator>asyncwait</dc:creator>
      <dc:date>2016-07-29T06:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new task, out of BPMN constructs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-task-out-of-bpmn-constructs/m-p/219614#M172744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From the top of my head:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Java representation class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Xml converter class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Parser class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Behaviour class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But most importantly, you'll need to change the default XSD being used. It wont validate against the BPMN 2.0 spec.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would not advise to do it like that, but use a regular service task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 07:24:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-task-out-of-bpmn-constructs/m-p/219614#M172744</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-07-29T07:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new task, out of BPMN constructs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-task-out-of-bpmn-constructs/m-p/219615#M172745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, looks like the XML I am trying to process fails during the XSD validation. While I feel, the XSD validation shouldn't be there or may be designed in a way that a custom schema validator can be hooked into validation process, I agree with you advise that this approach going completely against the spec. I remember OSWorkflow used to have that flexibility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the quick response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 07:39:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-task-out-of-bpmn-constructs/m-p/219615#M172745</guid>
      <dc:creator>asyncwait</dc:creator>
      <dc:date>2016-07-29T07:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new task, out of BPMN constructs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-task-out-of-bpmn-constructs/m-p/219616#M172746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Although the error it produces when XSD validator detects a wrong element seems little weird. Would be happy to provide a patch that produces more clarity on the error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is the one I get today –&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cvc-complex-type.2.4.a: Invalid content was found starting with element 'restServiceTask'. One of '{\"&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL\%22:flowElement" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL\':flowElement&lt;/A&gt;&lt;SPAN&gt;, \"&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL\%22:artifact" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL\':artifact&lt;/A&gt;&lt;SPAN&gt;, \"&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL\%22:resourceRole" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL\':resourceRole&lt;/A&gt;&lt;SPAN&gt;, \"&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL\%22:correlationSubscription" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL\':correlationSubscription&lt;/A&gt;&lt;SPAN&gt;, \"&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL\%22:supports" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL\':supports&lt;/A&gt;&lt;SPAN&gt;}' is expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 08:07:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-new-task-out-of-bpmn-constructs/m-p/219616#M172746</guid>
      <dc:creator>asyncwait</dc:creator>
      <dc:date>2016-07-29T08:07:05Z</dc:date>
    </item>
  </channel>
</rss>

