<?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 SDK 3 - ActivitiException: Unknown property in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/sdk-3-activitiexception-unknown-property/m-p/7235#M3437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have renamed&amp;nbsp;some fields and add other one in workflow-validation-model.xml , example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="wfvd:reviewOutcome"&amp;gt; has been renamed&amp;nbsp;&lt;SPAN&gt;&amp;lt;property name="wfvd:reviewOutcomeMed"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my bpmn file, i have updated the flow :&lt;/P&gt;&lt;P&gt;${wfvd_reviewOutcome == 'VALIDATION MEDECIN'}&amp;nbsp; &amp;nbsp;=&amp;gt;&amp;nbsp;&amp;nbsp;${wfvd_reviewOutcomeMed == 'DEMANDE'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i place a document in folder concerned i got the following error :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19432" alt="" class="image-4 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/19432_error.png" style="width: 620px; height: 166px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;this is my bpmn file (new value in bold):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;definitions xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;&lt;SPAN&gt;" xmlns:activiti="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" xmlns:bpmndi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" xmlns&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;mgdc="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;&lt;SPAN&gt;" xmlns&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;mgdi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" xmlns:tns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn20" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn20&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" expressionLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;&lt;SPAN&gt;" id="review-definitions" name="" targetNamespace="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn20" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn20&lt;/A&gt;&lt;SPAN&gt;" typeLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;process id="activitiValidationDocumed" isClosed="false" isExecutable="true" name="Validation Documed" processType="None"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:executionListener class="org.alfresco.repo.workflow.activiti.listener.ScriptExecutionListener" event="start"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[execution.setVariable('wf_approveCount', 100);&lt;BR /&gt; execution.setVariable('wf_actualPercent', 100);&lt;BR /&gt; execution.setVariable('wf_reviewerCount', bpm_assignees.size());&lt;BR /&gt; execution.setVariable('wf_requiredPercent', wf_requiredApprovePercent);]]&amp;gt;&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:executionListener&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;startEvent activiti:formKey="wf:submitParallelReviewTask" id="start"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow1" sourceRef="start" targetRef="validationSecretaire"/&amp;gt;&lt;BR /&gt; &amp;lt;userTask activiti:assignee="${reviewAssignee.properties.userName}" activiti:exclusive="true" activiti:formKey="wfvd:activitiReviewTask" id="validationSecretaire" name="Validation secrétaire"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:taskListener class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener" event="create"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[if (typeof bpm_workflowDueDate != 'undefined') task.setVariableLocal('bpm_dueDate', bpm_workflowDueDate);&lt;BR /&gt; if (typeof bpm_workflowPriority != 'undefined') task.priority = bpm_workflowPriority;&lt;/P&gt;&lt;P&gt;logger.system.out("task.getVariable(reviewAssignee) onCreate : "+task.getVariable("reviewAssignee"));]]&amp;gt;&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:taskListener&amp;gt;&lt;BR /&gt; &amp;lt;activiti:taskListener class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener" event="complete"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[&amp;lt;import resource="classpath:alfresco/extension/workflows/js/validation-documed.js"&amp;gt;&lt;/P&gt;&lt;P&gt;mainValidationSecretaire();]]&amp;gt;&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:taskListener&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;multiInstanceLoopCharacteristics activiti:collection="bpm_assignees" activiti:elementVariable="reviewAssignee" isSequential="false"&amp;gt;&lt;BR /&gt; &amp;lt;completionCondition&amp;gt;&amp;lt;![CDATA[${wf_actualPercent &amp;gt;= wf_requiredApprovePercent}]]&amp;gt;&amp;lt;/completionCondition&amp;gt;&lt;BR /&gt; &amp;lt;/multiInstanceLoopCharacteristics&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow2" sourceRef="validationSecretaire" targetRef="reviewDecision"/&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway gatewayDirection="Unspecified" id="reviewDecision" name="Review Decision"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow3" sourceRef="reviewDecision" targetRef="validationMedecin"&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[$&lt;STRONG&gt;{wfvd_reviewOutcomeMed == 'DEMANDE'}&lt;/STRONG&gt;]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;userTask activiti:assignee="${wfvd_medecin.properties.userName}" activiti:exclusive="true" activiti:formKey="wfvd:activitiReviewTaskMedecin" id="validationMedecin" name="Validation Médecin"&amp;gt;&lt;BR /&gt; &amp;lt;documentation id="validationMedecin_D_1"&amp;gt;&amp;lt;![CDATA[The document was reviewed and approved.]]&amp;gt;&amp;lt;/documentation&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:taskListener class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener" event="create"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[&amp;lt;import resource="classpath:alfresco/extension/workflows/js/validation-documed.js"&amp;gt;&lt;BR /&gt;if (typeof bpm_workflowDueDate != 'undefined') task.setVariableLocal('bpm_dueDate', bpm_workflowDueDate);&lt;BR /&gt; if (typeof bpm_workflowPriority != 'undefined') task.priority = bpm_workflowPriority;&lt;/P&gt;&lt;P&gt;OncreateValidationMedecin();]]&amp;gt;&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:taskListener&amp;gt;&lt;BR /&gt; &amp;lt;activiti:taskListener class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener" event="complete"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[&amp;lt;import resource="classpath:alfresco/extension/workflows/js/validation-documed.js"&amp;gt;&lt;/P&gt;&lt;P&gt;mainValidationMedecin();]]&amp;gt;&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:taskListener&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;endEvent id="end"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow6" sourceRef="reviewDecision" targetRef="end"/&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway gatewayDirection="Unspecified" id="exclusivegateway1" name="Exclusive Gateway"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow7" sourceRef="validationMedecin" targetRef="exclusivegateway1"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow8" sourceRef="exclusivegateway1" targetRef="end"&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${wfvd_reviewOutcomeMedecinDpe == 'DPE'}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;userTask activiti:assignee="${bpm_assignee.properties.userName}" activiti:exclusive="true" activiti:formKey="wfvd_activitiReviewTaskRefusSecretaire" id="validationRefusSecretaire" name="Validation refus secrétaire"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:taskListener class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener" event="create"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[if (typeof bpm_workflowDueDate != 'undefined') task.setVariableLocal('bpm_dueDate', bpm_workflowDueDate);&lt;BR /&gt; if (typeof bpm_workflowPriority != 'undefined') task.priority = bpm_workflowPriority;&lt;/P&gt;&lt;P&gt;task.setVariable("bpm_workflowDescription",execution.getVariable("bpm_workflowDescription"));&lt;BR /&gt;task.setVariable("bpm_priority",execution.getVariable("bpm_priority"));]]&amp;gt;&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:taskListener&amp;gt;&lt;BR /&gt; &amp;lt;activiti:taskListener class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener" event="complete"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[&amp;lt;import resource="classpath:alfresco/extension/workflows/js/validation-documed.js"&amp;gt;&lt;/P&gt;&lt;P&gt;mainValidationSecretaire();]]&amp;gt;&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:taskListener&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow9" sourceRef="exclusivegateway1" targetRef="validationRefusSecretaire"&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${wfvd_reviewOutcomeMedecinReturn == 'RETOUR'}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway gatewayDirection="Unspecified" id="exclusivegateway2" name="Exclusive Gateway"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow10" sourceRef="validationRefusSecretaire" targetRef="exclusivegateway2"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow11" sourceRef="exclusivegateway2" targetRef="validationMedecin"&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${&lt;STRONG&gt;wfvd_reviewOutcomeMed == 'DEMANDE'&lt;/STRONG&gt;}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow12" sourceRef="exclusivegateway2" targetRef="end"/&amp;gt;&lt;BR /&gt; &amp;lt;/process&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;graphical mode :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19430" alt="" class="image-2 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/19430_graph.png" style="width: 620px; height: 576px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the associated model :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19431" alt="" class="image-3 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/19431_model.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have :&lt;/P&gt;&lt;P&gt;- deleted database&lt;/P&gt;&lt;P&gt;- created site&lt;/P&gt;&lt;P&gt;- I have cleared cache.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing has changed !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2018 10:29:49 GMT</pubDate>
    <dc:creator>anakin59490</dc:creator>
    <dc:date>2018-02-21T10:29:49Z</dc:date>
    <item>
      <title>SDK 3 - ActivitiException: Unknown property</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sdk-3-activitiexception-unknown-property/m-p/7235#M3437</link>
      <description>Hi,i have renamed&amp;nbsp;some fields and add other one in workflow-validation-model.xml , example:&amp;lt;property name="wfvd:reviewOutcome"&amp;gt; has been renamed&amp;nbsp;&amp;lt;property name="wfvd:reviewOutcomeMed"&amp;gt;In my bpmn file, i have updated the flow :${wfvd_reviewOutcome == 'VALIDATION MEDECIN'}&amp;nbsp; &amp;nbsp;=&amp;gt;&amp;nbsp;&amp;nbsp;${wfvd_</description>
      <pubDate>Wed, 21 Feb 2018 10:29:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sdk-3-activitiexception-unknown-property/m-p/7235#M3437</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-02-21T10:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 3 - ActivitiException: Unknown property</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sdk-3-activitiexception-unknown-property/m-p/7236#M3438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved by using&amp;nbsp; ${execution.getVariable('wfvd_reviewOutcomeMed') == 'DEMANDE'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 14:46:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sdk-3-activitiexception-unknown-property/m-p/7236#M3438</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-02-27T14:46:23Z</dc:date>
    </item>
  </channel>
</rss>

