<?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 Java simulate click on button in tasks. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/java-simulate-click-on-button-in-tasks/m-p/11680#M5161</link>
    <description>&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;I try to work with workflows and tasks.&lt;/P&gt;&lt;P&gt;To catch the task I use execution listener. In execution listener I set variables,&amp;nbsp; then I check if assignee is from given group. If this condition is satisfied, I want to approve, reject or back the execution using JAVA language. (reject and approve, back are buttons in alfresco share).&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I click these buttons in share, my java class controls the state a everything works fine, but I want to do it without clicking these buttons in share.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way how to simulate "click on the button" action using a java code?&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 13:32:14 GMT</pubDate>
    <dc:creator>alfresco_lover</dc:creator>
    <dc:date>2020-12-16T13:32:14Z</dc:date>
    <item>
      <title>Java simulate click on button in tasks.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-simulate-click-on-button-in-tasks/m-p/11680#M5161</link>
      <description>&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;I try to work with workflows and tasks.&lt;/P&gt;&lt;P&gt;To catch the task I use execution listener. In execution listener I set variables,&amp;nbsp; then I check if assignee is from given group. If this condition is satisfied, I want to approve, reject or back the execution using JAVA language. (reject and approve, back are buttons in alfresco share).&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I click these buttons in share, my java class controls the state a everything works fine, but I want to do it without clicking these buttons in share.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way how to simulate "click on the button" action using a java code?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 13:32:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-simulate-click-on-button-in-tasks/m-p/11680#M5161</guid>
      <dc:creator>alfresco_lover</dc:creator>
      <dc:date>2020-12-16T13:32:14Z</dc:date>
    </item>
  </channel>
</rss>

