<?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: Custom Sql query and Serialize variable in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-sql-query-and-serialize-variable/m-p/179896#M133026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually i wanted the list of entityIds in WfeBean as mentioned in question. If i fetch tasks the i would have to iterate through all the tasks to the entityIds so i am trying to skip this loop. And fetch the entity Ids only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have able to fetch the list of WfeBean using following query:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;SELECT bytear.NAME_ as name, bytear.bytes_ as value from ACT_GE_BYTEARRAY bytear&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; inner join ACT_RU_VARIABLE variable on variable.bytearray_id_ = bytear.id_&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; inner join ACT_RU_TASK task on task.PROC_INST_ID_ = variable.PROC_INST_ID_&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; where task.ASSIGNEE_ = '1'&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But what i want is list of entityIds which is an Integer field&amp;nbsp; of WfeBEan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2014 07:51:12 GMT</pubDate>
    <dc:creator>nik10_mah</dc:creator>
    <dc:date>2014-06-04T07:51:12Z</dc:date>
    <item>
      <title>Custom Sql query and Serialize variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-sql-query-and-serialize-variable/m-p/179894#M133024</link>
      <description>Hi, I am passing a serialized bean named WfeBean( which contains entityId and statusId as fields) as process variable. And it seems it stores the bean in act_ge_bytearray table. Now i want&amp;nbsp; to create a query which fetches all the entityId of the tasks assigned to a user. I am created a query as desc</description>
      <pubDate>Tue, 03 Jun 2014 06:53:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-sql-query-and-serialize-variable/m-p/179894#M133024</guid>
      <dc:creator>nik10_mah</dc:creator>
      <dc:date>2014-06-03T06:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sql query and Serialize variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-sql-query-and-serialize-variable/m-p/179895#M133025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nikhil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would recommend to use taskService.createTaskQuery to get a list of tasks assigned to the user. From the fetched task list you can get task ids.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;taskService.createTaskQuery().taskAssignee(asigneee).list();&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 06:23:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-sql-query-and-serialize-variable/m-p/179895#M133025</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-04T06:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sql query and Serialize variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-sql-query-and-serialize-variable/m-p/179896#M133026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually i wanted the list of entityIds in WfeBean as mentioned in question. If i fetch tasks the i would have to iterate through all the tasks to the entityIds so i am trying to skip this loop. And fetch the entity Ids only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have able to fetch the list of WfeBean using following query:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;SELECT bytear.NAME_ as name, bytear.bytes_ as value from ACT_GE_BYTEARRAY bytear&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; inner join ACT_RU_VARIABLE variable on variable.bytearray_id_ = bytear.id_&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; inner join ACT_RU_TASK task on task.PROC_INST_ID_ = variable.PROC_INST_ID_&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; where task.ASSIGNEE_ = '1'&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But what i want is list of entityIds which is an Integer field&amp;nbsp; of WfeBEan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 07:51:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-sql-query-and-serialize-variable/m-p/179896#M133026</guid>
      <dc:creator>nik10_mah</dc:creator>
      <dc:date>2014-06-04T07:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sql query and Serialize variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-sql-query-and-serialize-variable/m-p/179897#M133027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't, as the bean is serialized as bytes. There is no sql query that allows to do that&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 08:28:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-sql-query-and-serialize-variable/m-p/179897#M133027</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-04T08:28:05Z</dc:date>
    </item>
  </channel>
</rss>

