<?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: How to customize UserTask name in APS 24.x in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-customize-usertask-name-in-aps-24-x/m-p/486484#M39819</link>
    <description>&lt;P&gt;We were able to use UEL to set task name in BPM&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;userTask &lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;="xxxx" &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;="${processVariableName}" .../&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;In Activiti5, the TaskEntity.setName calls historyManager to recordTaskNameChange, it behaves differently in Activiti 7+.&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 24 Jan 2025 14:29:23 GMT</pubDate>
    <dc:creator>jshi_tamg</dc:creator>
    <dc:date>2025-01-24T14:29:23Z</dc:date>
    <item>
      <title>How to customize UserTask name in APS 24.x</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-customize-usertask-name-in-aps-24-x/m-p/486320#M39801</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are in the process of migrating APS 1.9 to&amp;nbsp;APS 24.x, and we have a BPM userTask defined as follows&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;userTask &lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;="xxxx" &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;="Review Candidate" &lt;/SPAN&gt;&lt;SPAN&gt;activiti&lt;/SPAN&gt;&lt;SPAN&gt;:candidateUsers&lt;/SPAN&gt;&lt;SPAN&gt;="1" &lt;/SPAN&gt;&lt;SPAN&gt;activiti&lt;/SPAN&gt;&lt;SPAN&gt;:formKey&lt;/SPAN&gt;&lt;SPAN&gt;="17018"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;  &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;   &amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;activiti&lt;/SPAN&gt;&lt;SPAN&gt;:taskListener &lt;/SPAN&gt;&lt;SPAN&gt;event&lt;/SPAN&gt;&lt;SPAN&gt;="create" &lt;/SPAN&gt;&lt;SPAN&gt;expression&lt;/SPAN&gt;&lt;SPAN&gt;="${reviewCandidateTaskListener.setTaskName(task)}"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;  &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;lt;/userTask&amp;gt;&lt;BR /&gt;&lt;BR /&gt;public void setTaskName(DelegateTask task)&lt;BR /&gt;{&lt;BR /&gt;  task.setName('Set to customized name based on process variables');&lt;BR /&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;Task list from UI works well in APS 1.9, which is showing the Customized task name. In&amp;nbsp;APS 24.x, it always display '&lt;SPAN&gt;Review Candidate'.&lt;/SPAN&gt;&amp;nbsp;We compared the data, and found that APS 24.x set the task name in the runtime table&amp;nbsp;act_ru_task,&amp;nbsp; not to the act_hi_taskinst.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please advisor how to custom userTask name in&amp;nbsp;APS 24.x.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks, Jian&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Jan 2025 14:42:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-customize-usertask-name-in-aps-24-x/m-p/486320#M39801</guid>
      <dc:creator>jshi_tamg</dc:creator>
      <dc:date>2025-01-21T14:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize UserTask name in APS 24.x</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-customize-usertask-name-in-aps-24-x/m-p/486484#M39819</link>
      <description>&lt;P&gt;We were able to use UEL to set task name in BPM&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;userTask &lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;="xxxx" &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;="${processVariableName}" .../&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;In Activiti5, the TaskEntity.setName calls historyManager to recordTaskNameChange, it behaves differently in Activiti 7+.&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Jan 2025 14:29:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-customize-usertask-name-in-aps-24-x/m-p/486484#M39819</guid>
      <dc:creator>jshi_tamg</dc:creator>
      <dc:date>2025-01-24T14:29:23Z</dc:date>
    </item>
  </channel>
</rss>

