<?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: Starting process with webservice task could not find property in item instance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158943#M113003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, using the process-definition query results in an un-initialized version of the process-definition (un-initialized, meaning that the actual BPMN is not parsed, just the entry in the DB is returned).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After querying the right definition, use this to get a full entity (RepositoryService):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Returns the {@link ProcessDefinition} including all BPMN information like additional &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Properties (e.g. documentation).&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; ProcessDefinition getProcessDefinition(String processDefinitionId);&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2014 12:51:07 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2014-01-16T12:51:07Z</dc:date>
    <item>
      <title>Starting process with webservice task could not find property in item instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158940#M113000</link>
      <description>Hi,i have a process for calling a web service, i can call it without parameter but when i add input parameter getting the error below. Using the 5.14 version of activiti and tried defining dataInputOfServiceTask as dataobject which changed nothing. Can you say what i am missing?SEVERE: Servlet.servi</description>
      <pubDate>Thu, 16 Jan 2014 09:42:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158940#M113000</guid>
      <dc:creator>zelihac</dc:creator>
      <dc:date>2014-01-16T09:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Starting process with webservice task could not find property in item instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158941#M113001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try using the "getFieldValue(name)" method to extract values from the item… See the source for the org.activiti.engine.impl.bpmn.data.ItemInstance class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 11:04:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158941#M113001</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-16T11:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Starting process with webservice task could not find property in item instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158942#M113002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, thank you for the answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;While i was debugging i see that iospecification of the process is null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;((ProcessDefinitionEntity)procDef).getIoSpecification() return null and i am getting nullpointerexception with code below and can not even get itemdefinition. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ps: I am using SpringProcessEngineConfiguration if it has any effects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RepositoryService repositoryService = processEngine.getRepositoryService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String deploymentId = repositoryService&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .createDeployment()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .addClasspathResource(sourcepath)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .deploy()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .getId();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ProcessDefinition procDef = repositoryService.createProcessDefinitionQuery().deploymentId(deploymentId).singleResult();&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ItemDefinition itemDefinition = ((ProcessDefinitionEntity)procDef).getIoSpecification().getDataInputs().get(0).getDefinition();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemInstance itemInstance = itemDefinition.createInstance();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; itemInstance.getFieldValue("welcome");&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 12:26:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158942#M113002</guid>
      <dc:creator>zelihac</dc:creator>
      <dc:date>2014-01-16T12:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Starting process with webservice task could not find property in item instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158943#M113003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, using the process-definition query results in an un-initialized version of the process-definition (un-initialized, meaning that the actual BPMN is not parsed, just the entry in the DB is returned).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After querying the right definition, use this to get a full entity (RepositoryService):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Returns the {@link ProcessDefinition} including all BPMN information like additional &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Properties (e.g. documentation).&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; ProcessDefinition getProcessDefinition(String processDefinitionId);&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 12:51:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158943#M113003</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-16T12:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Starting process with webservice task could not find property in item instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158944#M113004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes i get the right processdefinition now. When i look in the iteminstance there is no fieldvalues under structureinstance but in the structuredefinition i see my field in fieldNames. So what does it mean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i tried to set field value in iteminstance then start the process but still having the same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;itemInstance.setFieldValue("welcome", "Zeliha"); &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 13:45:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158944#M113004</guid>
      <dc:creator>zelihac</dc:creator>
      <dc:date>2014-01-16T13:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Starting process with webservice task could not find property in item instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158945#M113005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Isn't there any suggestion for the issue? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 12:13:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158945#M113005</guid>
      <dc:creator>zelihac</dc:creator>
      <dc:date>2014-01-17T12:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Starting process with webservice task could not find property in item instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158946#M113006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see at least two same error with web service tasks in the forum. Is it a known issue?? If so will it be resolved? It is really important for me cause we are going to decide to use Activiti or not in our big projects which are heavily depend on web services in cloud. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 07:14:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158946#M113006</guid>
      <dc:creator>zelihac</dc:creator>
      <dc:date>2014-01-20T07:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Starting process with webservice task could not find property in item instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158947#M113007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The web service task was originally written by someone from MuleSoft, but it hasnt been maintained as it should be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have currently no short term plan to invest time in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However you could always go the 'easier' route by leveraging other frameworks (the articles are old, but the concept is still valid): &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.jorambarrez.be/blog/2011/01/13/tutorial-call-an-ejb-in-a-bpmn-2-0-process-using-activiti-and-spring/" rel="nofollow noopener noreferrer"&gt;http://www.jorambarrez.be/blog/2011/01/13/tutorial-call-an-ejb-in-a-bpmn-2-0-process-using-activiti-and-spring/&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://www.bpm-guide.de/2010/12/09/how-to-call-a-webservice-from-bpmn/" rel="nofollow noopener noreferrer"&gt;http://www.bpm-guide.de/2010/12/09/how-to-call-a-webservice-from-bpmn/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 12:41:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158947#M113007</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-01-21T12:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Starting process with webservice task could not find property in item instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158948#M113008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see your point so thank you for the answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 12:32:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-process-with-webservice-task-could-not-find-property-in/m-p/158948#M113008</guid>
      <dc:creator>zelihac</dc:creator>
      <dc:date>2014-01-22T12:32:57Z</dc:date>
    </item>
  </channel>
</rss>

