<?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: Set Priority when starting a processinstance in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/set-priority-when-starting-a-processinstance/m-p/9314#M4167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that you are talking about the priority attribute on a User Task, you can set the priority using expression. An example below..&lt;/P&gt;&lt;P&gt;&amp;lt;userTask id="user-task" activiti:assignee="assignee" activiti&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;riority="${&lt;SPAN&gt;priority&lt;/SPAN&gt;}"&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also do this programmatically using listeners such as event listener, task listener etc upon task creation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 12px;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2018 15:51:32 GMT</pubDate>
    <dc:creator>cjose</dc:creator>
    <dc:date>2018-02-23T15:51:32Z</dc:date>
    <item>
      <title>Set Priority when starting a processinstance</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-priority-when-starting-a-processinstance/m-p/9313#M4166</link>
      <description>The way the process start is a list of objects and each object has a single process and the flow starts with a service task.Map variableMap = new HashMap();variableMap.put("ids",idList);variableMap.put("priority",25);ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("imagePr</description>
      <pubDate>Fri, 23 Feb 2018 12:41:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-priority-when-starting-a-processinstance/m-p/9313#M4166</guid>
      <dc:creator>learneractiviti</dc:creator>
      <dc:date>2018-02-23T12:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Priority when starting a processinstance</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-priority-when-starting-a-processinstance/m-p/9314#M4167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that you are talking about the priority attribute on a User Task, you can set the priority using expression. An example below..&lt;/P&gt;&lt;P&gt;&amp;lt;userTask id="user-task" activiti:assignee="assignee" activiti&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;riority="${&lt;SPAN&gt;priority&lt;/SPAN&gt;}"&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also do this programmatically using listeners such as event listener, task listener etc upon task creation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 12px;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 15:51:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-priority-when-starting-a-processinstance/m-p/9314#M4167</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2018-02-23T15:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Priority when starting a processinstance</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-priority-when-starting-a-processinstance/m-p/9315#M4168</link>
      <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/72575"&gt;@cjose&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to do it programmatically using listeners such as event listener, task listener etc upon task creation&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 06:44:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-priority-when-starting-a-processinstance/m-p/9315#M4168</guid>
      <dc:creator>tausif</dc:creator>
      <dc:date>2020-03-24T06:44:01Z</dc:date>
    </item>
  </channel>
</rss>

