<?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: Clarification on UUID Format for AR_V_TASK_UUID in Qlik Replicate’s Expression Builder in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2053860#M5511</link>
    <description>&lt;P&gt;WHY? What do you intend to use the information for?&lt;/P&gt;
&lt;P&gt;Years (many versions) ago, I cloned tasks using (Perl and/or Powershell) scripts.&amp;nbsp; I just dropped the line defining one. When Replicate first starts a task it checks whether it is zero, generates and saves.&lt;/P&gt;
&lt;P&gt;Replicate uses a system (linux vs windows)&amp;nbsp; dependend system function to create it. On Windows :&amp;nbsp;CoCreateGuid. The format it expects, is as you show. For example from a&amp;nbsp; task saved as json I have it shows:&amp;nbsp;"task_uuid": "5060efff-a731-cc45-872b-81b7cffa810b"&amp;nbsp; . That's 32 nibbles, 16 bytes formatted using "%02hhx" in groups of 4-2-2-2-6.&lt;/P&gt;
&lt;P&gt;There is no practical external use that I can tell. At best you could detect that the taks doing the replication was changed, or when multiple tasks operate to the same target table tell the difference. Please explain why you think it might be useful.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2023 11:49:52 GMT</pubDate>
    <dc:creator>Heinvandenheuvel</dc:creator>
    <dc:date>2023-03-28T11:49:52Z</dc:date>
    <item>
      <title>Clarification on UUID Format for AR_V_TASK_UUID in Qlik Replicate’s Expression Builder</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2053817#M5509</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am currently working with Qlik Replicate and using the expression builder for a project. I came across the AR_V_TASK_UUID variable and need some clarification regarding the UUID format it returns.&lt;/P&gt;
&lt;P&gt;Can anyone please confirm the UUID format returned by the AR_V_TASK_UUID variable when used in Qlik Replicate's expression builder? I understand that UUIDs are generally represented in the standard 8-4-4-12 format (32 alphanumeric characters separated by hyphens), but I would like to know if the AR_V_TASK_UUID variable is generated using UUID4 preferably.&lt;/P&gt;
&lt;P&gt;Example of a UUID in the standard format:&lt;/P&gt;
&lt;P&gt;123e4567-e89b-12d3-a456-426614174000&lt;/P&gt;
&lt;P&gt;I would greatly appreciate any insight or information you can provide. Thank you in advance for your assistance!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 20:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2053817#M5509</guid>
      <dc:creator>AlejandroS4</dc:creator>
      <dc:date>2023-03-27T20:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on UUID Format for AR_V_TASK_UUID in Qlik Replicate’s Expression Builder</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2053860#M5511</link>
      <description>&lt;P&gt;WHY? What do you intend to use the information for?&lt;/P&gt;
&lt;P&gt;Years (many versions) ago, I cloned tasks using (Perl and/or Powershell) scripts.&amp;nbsp; I just dropped the line defining one. When Replicate first starts a task it checks whether it is zero, generates and saves.&lt;/P&gt;
&lt;P&gt;Replicate uses a system (linux vs windows)&amp;nbsp; dependend system function to create it. On Windows :&amp;nbsp;CoCreateGuid. The format it expects, is as you show. For example from a&amp;nbsp; task saved as json I have it shows:&amp;nbsp;"task_uuid": "5060efff-a731-cc45-872b-81b7cffa810b"&amp;nbsp; . That's 32 nibbles, 16 bytes formatted using "%02hhx" in groups of 4-2-2-2-6.&lt;/P&gt;
&lt;P&gt;There is no practical external use that I can tell. At best you could detect that the taks doing the replication was changed, or when multiple tasks operate to the same target table tell the difference. Please explain why you think it might be useful.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 11:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2053860#M5511</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-03-28T11:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on UUID Format for AR_V_TASK_UUID in Qlik Replicate’s Expression Builder</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2053984#M5518</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220824"&gt;@AlejandroS4&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I totally agree with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;&amp;nbsp;. if you use it in transformation (eg add it in a new column), then its values are duplicate in all rows.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 09:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2053984#M5518</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-03-28T09:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on UUID Format for AR_V_TASK_UUID in Qlik Replicate’s Expression Builder</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2054188#M5522</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;&amp;nbsp;, &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;, thank you for your response. To answer your “WHY? What do you intend to use the information for?” as you so politely and professionally put it, my intention in asking about the UUID format used by Qlik Replicate was to understand how it is generated and whether it follows best practices for avoiding collisions, as UUID collisions can potentially lead to data loss or corruption. I am trying to implement a change data capture and I was thinking of using it in transformation as a new column like&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp; mentioned. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, based on your response, I would like to ask if there is any reason why the format of how the UUID is generated is not meant to be known by external users? If there are any security or confidentiality concerns related to the UUID generation process, I completely understand if the details cannot be shared. Thank you for taking the time to respond to my question.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 14:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2054188#M5522</guid>
      <dc:creator>AlejandroS4</dc:creator>
      <dc:date>2023-03-28T14:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on UUID Format for AR_V_TASK_UUID in Qlik Replicate’s Expression Builder</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2054234#M5523</link>
      <description>&lt;P&gt;Hmm, I indicated how the UUID is calculated using the system provided function&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;CoCreateGuid&lt;/STRONG&gt; (on Windows). Google that!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Why do you think this is a concern? What indications do you have that this could ever cause dataloss? How would you proposed to control the UUID should there be an issue - which there isn't.&lt;/P&gt;
&lt;P&gt;How did you test this yourself? Why did you not test this yourself?&lt;/P&gt;
&lt;P&gt;I just cloned a working task into 2, each with different tables to make it easy for now and left the UIID in the JSON for both as&amp;nbsp;"task_uuid": "5060efff-a731-cc45-872b-81b7cffa810b". Took all of 5 minutes to test.&lt;/P&gt;
&lt;P&gt;Result below.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;JSON - "task_uuid": "5060efff-a731-cc45-872b-81b7cffa810b"

C:\Data_6_3\logs&amp;gt;repctl -d C:\Data_6_3 connect; gettaskstatus O2O_2 | findstr "uuid O2O state"
  "name": "O2O_2",
  "state":  "RUNNING",
  "starting_state": "AR_RUNNING",
    "task_uuid":    "5ac65987-d7b5-ae4f-a454-f419cf7b4f37",
    "instance_uuid":  "ad762f8b-ad76-b04f-bc97-277fd01bc76f",
    "instance_uuid_int_h":  5742220012633945773,
    "instance_uuid_int_l":  8054437040875870140

C:\Data_6_3\logs&amp;gt;repctl -d C:\Data_6_3 connect; gettaskstatus O2O_1 | findstr "uuid O2O state"
  "name": "O2O_1",
  "state":  "RUNNING",
  "starting_state": "AR_RUNNING",
    "task_uuid":    "47de9ff8-06ed-0c42-aaa3-fbaf23eb3a7b",
    "instance_uuid":  "1eb5cf1f-ee11-af49-b73a-5abde5f20397",
    "instance_uuid_int_h":  5309482200126698782,
    "instance_uuid_int_l":  -7564935880514061641
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 15:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Clarification-on-UUID-Format-for-AR-V-TASK-UUID-in-Qlik/m-p/2054234#M5523</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-03-28T15:57:53Z</dc:date>
    </item>
  </channel>
</rss>

