<?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 Talend MDM Update Connector in Talend Data Catalog</title>
    <link>https://community.qlik.com/t5/Talend-Data-Catalog/Talend-MDM-Update-Connector/m-p/2334019#M1250</link>
    <description>&lt;P&gt;Hi Everyone,&lt;BR /&gt;I am working Talend 5.4.1 on workflow scenario.&lt;BR /&gt;I am trying to do example from training material - AgentCommission Workflow Process.&lt;BR /&gt;&lt;BR /&gt; Check ComCode &amp;gt;=2 no&lt;BR /&gt;Evaluate Commission(Input new commission) -----------&amp;gt; CommissionApproval ---------------&amp;gt; Reject Commission&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; when ----&amp;gt; ComCode &amp;lt; 2 then Commission Approval says --&amp;gt; Yes ---&amp;gt; Approve commission &lt;BR /&gt;&lt;BR /&gt;where I want to update CommissionChangeStatus to Approved from Pending when ComStatus is &amp;gt; 2 or commission approval says Yes.&lt;BR /&gt;where I want to update CommissionChangeStatus to Rejected from Pending when ComStatus is &amp;gt;= 2 and commission approval says no.&lt;BR /&gt;But, As 541 introduced mdm_context jar newly, i have done Talend MDM Update Connector configuration as &lt;BR /&gt;1)&lt;BR /&gt;Name : mdm_context.getValue(Agent/CommissionChange/ComChangeStatus); and &lt;BR /&gt;Value : mdm_context.setValue("Approved");&lt;BR /&gt;It is throwing ERROR as "Caused by: java.lang.IllegalArgumentException: the parameter format must be 'xpath#value'."&lt;BR /&gt;2)&lt;BR /&gt;When I am changing to &lt;BR /&gt;Name : mdm_context.getValue(Agent/CommissionChange/ComChangeStatus); and &lt;BR /&gt;Value : mdm_context.setValue("Agent/CommissionChange/ComChangeStatus#Approved");&lt;BR /&gt;&lt;BR /&gt;Throwing another exception : ERROR Exception caught while executing connector (instance=DStar_Agent--1.0--2, process=DStar_Agent--1.0, activityId=Approve_Commission) : org.bonitasoft.connectors.talend.TalendMDMConnector - Exception : null org.talend.mdm.workflow.client.util.MutiRootNameException&lt;BR /&gt; at org.talend.mdm.workflow.client.util.XmlFromXpathsBuilder.parse2String(XmlFromXpathsBuilder.java:108)&lt;BR /&gt; at org.talend.mdm.workflow.client.TalendMDMItemUpdater.update(TalendMDMItemUpdater.java:135)&lt;BR /&gt;And I used different ways in Value. But did not workout for me.&lt;BR /&gt;Can anyone help how can we achieve updating the value using Talend MDM Update connector in workflow?&lt;BR /&gt;Thanks,&lt;BR /&gt;Shilpa&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 11:37:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:37:11Z</dc:date>
    <item>
      <title>Talend MDM Update Connector</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/Talend-MDM-Update-Connector/m-p/2334019#M1250</link>
      <description>&lt;P&gt;Hi Everyone,&lt;BR /&gt;I am working Talend 5.4.1 on workflow scenario.&lt;BR /&gt;I am trying to do example from training material - AgentCommission Workflow Process.&lt;BR /&gt;&lt;BR /&gt; Check ComCode &amp;gt;=2 no&lt;BR /&gt;Evaluate Commission(Input new commission) -----------&amp;gt; CommissionApproval ---------------&amp;gt; Reject Commission&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; when ----&amp;gt; ComCode &amp;lt; 2 then Commission Approval says --&amp;gt; Yes ---&amp;gt; Approve commission &lt;BR /&gt;&lt;BR /&gt;where I want to update CommissionChangeStatus to Approved from Pending when ComStatus is &amp;gt; 2 or commission approval says Yes.&lt;BR /&gt;where I want to update CommissionChangeStatus to Rejected from Pending when ComStatus is &amp;gt;= 2 and commission approval says no.&lt;BR /&gt;But, As 541 introduced mdm_context jar newly, i have done Talend MDM Update Connector configuration as &lt;BR /&gt;1)&lt;BR /&gt;Name : mdm_context.getValue(Agent/CommissionChange/ComChangeStatus); and &lt;BR /&gt;Value : mdm_context.setValue("Approved");&lt;BR /&gt;It is throwing ERROR as "Caused by: java.lang.IllegalArgumentException: the parameter format must be 'xpath#value'."&lt;BR /&gt;2)&lt;BR /&gt;When I am changing to &lt;BR /&gt;Name : mdm_context.getValue(Agent/CommissionChange/ComChangeStatus); and &lt;BR /&gt;Value : mdm_context.setValue("Agent/CommissionChange/ComChangeStatus#Approved");&lt;BR /&gt;&lt;BR /&gt;Throwing another exception : ERROR Exception caught while executing connector (instance=DStar_Agent--1.0--2, process=DStar_Agent--1.0, activityId=Approve_Commission) : org.bonitasoft.connectors.talend.TalendMDMConnector - Exception : null org.talend.mdm.workflow.client.util.MutiRootNameException&lt;BR /&gt; at org.talend.mdm.workflow.client.util.XmlFromXpathsBuilder.parse2String(XmlFromXpathsBuilder.java:108)&lt;BR /&gt; at org.talend.mdm.workflow.client.TalendMDMItemUpdater.update(TalendMDMItemUpdater.java:135)&lt;BR /&gt;And I used different ways in Value. But did not workout for me.&lt;BR /&gt;Can anyone help how can we achieve updating the value using Talend MDM Update connector in workflow?&lt;BR /&gt;Thanks,&lt;BR /&gt;Shilpa&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/Talend-MDM-Update-Connector/m-p/2334019#M1250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Talend MDM Update Connector</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/Talend-MDM-Update-Connector/m-p/2334020#M1251</link>
      <description>&lt;P&gt;What connector are you using? TalendMDMConnector or TalendMDMContextConnector?&lt;BR /&gt;The first one behaves like previous versions (you have to pass the values from the mdm_context variable to the update map) while the second is holding directly all values within the mdm_context variable.&lt;BR /&gt;For more info, see: &lt;A href="https://help.talend.com/search/all?query=Working+with+mdm_context&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=Working+with+mdm_context&amp;amp;content-lang=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 07:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/Talend-MDM-Update-Connector/m-p/2334020#M1251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-10T07:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Talend MDM Update Connector</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/Talend-MDM-Update-Connector/m-p/2334021#M1252</link>
      <description>&lt;P&gt;Thanks for your reply!&lt;BR /&gt;&lt;BR /&gt;I am doing workflow in two ways:&lt;BR /&gt;1. Creating workflow with all the data variables again same as in datamodel on pool. Getting the values using mdm_context in forms Initial Value. Saving to MDM variable. Updating thru Talend MDM Update connector.&lt;BR /&gt;2. Creating working without having data variables on pool. Getting the values using by default mdm_context in form &lt;BR /&gt; &lt;BR /&gt; Initital Value: mdm_context.getValue("Entity/Attribute"); &lt;BR /&gt; Expression: "Entity/Attribute#" textfield. &lt;BR /&gt; Save : mdm_context#mdm_context#setValue()&lt;BR /&gt;Is this way is correct? Please suggest.&lt;BR /&gt;I am following from the below link &lt;BR /&gt;&lt;A href="https://help.talend.com/search/all?query=Working+with+mdm_context&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=Working+with+mdm_context&amp;amp;content-lang=en&lt;/A&gt;&lt;BR /&gt;But I can see the first process was working fine than second.&lt;BR /&gt;Issue that I am facing with second way is - it is not updating all the values to database. &lt;BR /&gt;Note: Updating few values one time and other few values for some time.&lt;BR /&gt;But not complete record once at a time.&lt;BR /&gt;&lt;BR /&gt;What is the correct way to work on workflow in 5.4.1?&lt;BR /&gt;Could you please provide any example with all the steps to work in 541?&lt;BR /&gt;Thanks,&lt;BR /&gt;Shilpa&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 12:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/Talend-MDM-Update-Connector/m-p/2334021#M1252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-11T12:56:38Z</dc:date>
    </item>
  </channel>
</rss>

