<?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 Custom humanPerformer in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266483#M219613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I came across this issue while developing a custom workflow with Activiti: there are two assignees in that workflow, first one being bpm:assignee and the second one being, say, mywf:assignee2; it is declared through an aspect in myWorkflowModel. They are in charge of a task each in the workflow definition, and syntax looks fine and all, yet I'm unable to transition to the second task, the assignee2's; a javascript error pops up and goes "org.activiti.engine.ActivitiException: Unknown property used in expression" after I click the transition that leads to that task. Now, I've tried everything that came to my mind, from entirely redeploying the workflow to renaming the aspect in question (I know, right), and that included giving bpm:assignee the task instead of mywf:assignee2. Lo and behold, doing that eliminated the error, but was kind of irrelevant since that task should go to the other guy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I reckon the workflow definition doesnt recognize the aspect (before you ask, it is included in the workflowModel), or syntax should be different for custom aspects there (unlikely, huh - I double checked workflowModel, aspect still there), or something else - I'm kind of out of options that make any sense to me at all, thus I'm asking for help here. I could route that assignment property through bpm:assignee, I guess, but that just feels unnatural.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd appreciate your input on this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2012 13:33:25 GMT</pubDate>
    <dc:creator>mir</dc:creator>
    <dc:date>2012-02-22T13:33:25Z</dc:date>
    <item>
      <title>Custom humanPerformer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266483#M219613</link>
      <description>Greetings,I came across this issue while developing a custom workflow with Activiti: there are two assignees in that workflow, first one being bpm:assignee and the second one being, say, mywf:assignee2; it is declared through an aspect in myWorkflowModel. They are in charge of a task each in the wor</description>
      <pubDate>Wed, 22 Feb 2012 13:33:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266483#M219613</guid>
      <dc:creator>mir</dc:creator>
      <dc:date>2012-02-22T13:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom humanPerformer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266484#M219614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Doesn't it say which is the unknown property?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 14:57:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266484#M219614</guid>
      <dc:creator>amandaluniz_z</dc:creator>
      <dc:date>2012-02-22T14:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom humanPerformer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266485#M219615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Doesn't it say which is the unknown property?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Nope, unfortunately. I'm pretty sure its the mywf_assignee2, since replacing it with bpm_assignee removes the error; it isnt really a solution though. The error message I provided is the entirety of what I'm seeing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 05:53:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266485#M219615</guid>
      <dc:creator>mir</dc:creator>
      <dc:date>2012-02-24T05:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom humanPerformer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266486#M219616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;can you post the workflow's xml file in here as well as the workflow model?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 09:44:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266486#M219616</guid>
      <dc:creator>amandaluniz_z</dc:creator>
      <dc:date>2012-02-24T09:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom humanPerformer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266487#M219617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;workflowModel: &lt;/SPAN&gt;&lt;A href="http://paste2.org/p/1914557" rel="nofollow noopener noreferrer"&gt;http://paste2.org/p/1914557&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;process: &lt;/SPAN&gt;&lt;A href="http://paste2.org/p/1914559" rel="nofollow noopener noreferrer"&gt;http://paste2.org/p/1914559&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Aspect is cntpwf:developer, task where it gets assigned is expertRequestTask, task where it gets used - and where it fails to transition - is developerRequestTask, through flow4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm nowhere nearer solving the problem than I was a couple days ago; kind of bugging me now, cant wait to find out I still missed some kind of typo through all the checks I did.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 12:30:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266487#M219617</guid>
      <dc:creator>mir</dc:creator>
      <dc:date>2012-02-24T12:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom humanPerformer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266488#M219618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess you have already changed this, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;formalExpression&amp;gt;${cntpwf_developer}&amp;lt;/formalExpression&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;To:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;formalExpression&amp;gt;${cntpwf_developer.properties.userName}&amp;lt;/formalExpression&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;That is in line 158&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 16:49:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266488#M219618</guid>
      <dc:creator>amandaluniz_z</dc:creator>
      <dc:date>2012-02-24T16:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom humanPerformer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266489#M219619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, had .properties.userName there for a while, changed it when desperately trying to make it work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: was wrong previously. Eventually solved through adding&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;activiti:taskListener event="complete" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; execution.setVariable('mywf_assignee2', task.getVariableLocal ('mywf_assignee2'));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;lt;/activiti:taskListener&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;SPAN&gt;to the node that assigned the assignee2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This subject somewhat freaks me out with how little consistency it has been presenting; hopefully this fixes it once and for all.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2012 12:46:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-humanperformer/m-p/266489#M219619</guid>
      <dc:creator>mir</dc:creator>
      <dc:date>2012-02-25T12:46:57Z</dc:date>
    </item>
  </channel>
</rss>

