<?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: Retrieve record with entity action in Talend Data Catalog</title>
    <link>https://community.qlik.com/t5/Talend-Data-Catalog/Retrieve-record-with-entity-action/m-p/2338530#M1750</link>
    <description>Hi Pierre,
&lt;BR /&gt;There are some examples in the MDM demo project you can check how to do it. You can import MDM demo project via Menu: Help-&amp;gt; Welcome -&amp;gt; In the Getting Started section, select "Demos" then check MDM Demos.
&lt;BR /&gt;In the Demo project, there is a similar process and job to your requirement
&lt;BR /&gt;Entity Process : Product (ShowMap) which invoke a job: ShowStoreMap
&lt;BR /&gt;You can also use a Trigger to automatically invoke a job, see in demo CheckAvailability trigger which invoke CheckAvailability job.
&lt;BR /&gt;
&lt;BR /&gt;Cheers,
&lt;BR /&gt;John</description>
    <pubDate>Mon, 09 May 2016 08:30:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-09T08:30:52Z</dc:date>
    <item>
      <title>Retrieve record with entity action</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/Retrieve-record-with-entity-action/m-p/2338529#M1749</link>
      <description>Hello everyone, 
&lt;BR /&gt;I'm working with Talend MDM Platform 6.1 and trying to create an entity action runnable process. 
&lt;BR /&gt; 
&lt;BR /&gt;My goal is to run a bunch of controls on the record and update a field in the record if they pass. 
&lt;BR /&gt;I create a runnable process/entity action linked to my entity and the job to go with it. 
&lt;BR /&gt;The job is called normally when I start the process from the web UI but I can't figure out how to retrieve the data of the currently displayed record. 
&lt;BR /&gt;I tried using the tMDMTriggerInput, with and without the updateReport , but have no data coming through (also tried the tMDMReceive component). 
&lt;BR /&gt;Can't find any resource concerning this kind of process. 
&lt;BR /&gt; 
&lt;BR /&gt;Any advice/help is more than welcome ! 
&lt;BR /&gt;Thnks ! 
&lt;BR /&gt;Pierre-Olivier</description>
      <pubDate>Sat, 16 Nov 2024 10:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/Retrieve-record-with-entity-action/m-p/2338529#M1749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve record with entity action</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/Retrieve-record-with-entity-action/m-p/2338530#M1750</link>
      <description>Hi Pierre,
&lt;BR /&gt;There are some examples in the MDM demo project you can check how to do it. You can import MDM demo project via Menu: Help-&amp;gt; Welcome -&amp;gt; In the Getting Started section, select "Demos" then check MDM Demos.
&lt;BR /&gt;In the Demo project, there is a similar process and job to your requirement
&lt;BR /&gt;Entity Process : Product (ShowMap) which invoke a job: ShowStoreMap
&lt;BR /&gt;You can also use a Trigger to automatically invoke a job, see in demo CheckAvailability trigger which invoke CheckAvailability job.
&lt;BR /&gt;
&lt;BR /&gt;Cheers,
&lt;BR /&gt;John</description>
      <pubDate>Mon, 09 May 2016 08:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/Retrieve-record-with-entity-action/m-p/2338530#M1750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-09T08:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve record with entity action</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/Retrieve-record-with-entity-action/m-p/2338531#M1751</link>
      <description>Hi John thanks for your reply, I forgot to update the post with a solution 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;the problem was that tMDMtriggerInput doesn't return the full "Exchange Message" when used in an entity-action called job. 
&lt;BR /&gt;Instead it returns the update part alone 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;Update&amp;gt;&lt;BR /&gt;&amp;lt;UserName&amp;gt;pog&amp;lt;/UserName&amp;gt;&lt;BR /&gt;&amp;lt;Source&amp;gt;genericUI&amp;lt;/Source&amp;gt;&lt;BR /&gt;&amp;lt;TimeInMillis&amp;gt;1461748515896&amp;lt;/TimeInMillis&amp;gt;&lt;BR /&gt;&amp;lt;OperationType&amp;gt;ACTION&amp;lt;/OperationType&amp;gt;&lt;BR /&gt;&amp;lt;DataCluster&amp;gt;XXX&amp;lt;/DataCluster&amp;gt;&lt;BR /&gt;&amp;lt;DataModel&amp;gt;XXX&amp;lt;/DataModel&amp;gt;&lt;BR /&gt;&amp;lt;ConceptXXX&amp;gt;&amp;lt;/Concept&amp;gt;&lt;BR /&gt;&amp;lt;Key&amp;gt;XXX&amp;lt;/Key&amp;gt;&lt;BR /&gt;&amp;lt;/Update&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;To get the full exchange message (and avoid having to do a lookup to get the entity details) set the calljob plugin of the process to return the default "xmlInput" to the job. In the job you can then use tFixedFlowInput to get the "xmlInput" context variable (add it in local context conf for the job) and process it. The context varaible will contain the full exchange message&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;exchange xmlns:mdm="java:com.amalto.core.plugin.base.xslt.MdmExtension"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;report&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Update&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;UserName&amp;gt;pog&amp;lt;/UserName&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Source&amp;gt;genericUI&amp;lt;/Source&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;TimeInMillis&amp;gt;1461831582550&amp;lt;/TimeInMillis&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;OperationType&amp;gt;ACTION&amp;lt;/OperationType&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;DataCluster&amp;gt;XXX&amp;lt;/DataCluster&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;DataModel&amp;gt;XXX&amp;lt;/DataModel&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Concept&amp;gt;XXX&amp;lt;/Concept&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Key&amp;gt;XXX&amp;lt;/Key&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/Update&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;/report&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;item&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;lt;entity&amp;gt;&amp;lt;id&amp;gt;XXX&amp;lt;/id&amp;gt;....&amp;lt;/entity&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;/item&amp;gt;&lt;BR /&gt;&amp;lt;/exchange&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Hope thi is clear enough andcan be of some help for some other Talend MDM users 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 09 May 2016 09:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/Retrieve-record-with-entity-action/m-p/2338531#M1751</guid>
      <dc:creator>PoG</dc:creator>
      <dc:date>2016-05-09T09:10:46Z</dc:date>
    </item>
  </channel>
</rss>

