<?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>article Exception when using mdm_context without a TalendMDMContextConnector. in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Exception-when-using-mdm-context-without-a/ta-p/2150906</link>
    <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;DIV class="lia-message-template-content-zone"&gt; 
 &lt;P&gt;This exception happens when launching a workflow from Talend MDM. Talend MDM leverages the &lt;STRONG&gt;mdm_context&lt;/STRONG&gt; variable to serialize and pass the model and entity data to the workflow engine embedded in Talend MDM. This error occurs when the workflow engine is unable to deserialize the data back into the &lt;STRONG&gt;mdm_context&lt;/STRONG&gt; variable in the workflow.&lt;/P&gt; 
 &lt;BR /&gt; 
 &lt;H2&gt;Environment&lt;/H2&gt; 
 &lt;P&gt;This happens on Talend MDM 6.0, 6.1, and 6.2 with the Community Bonitasoft 6.5.x workflow engine. Note that this is OS independent. The Community Bonitasoft 6.5.x portal should be running on Java 7.&lt;/P&gt; 
 &lt;BR /&gt; 
 &lt;H2&gt;Symptoms/Description&lt;/H2&gt; 
 &lt;P&gt;You will receive the following exception as show below in the mdm log file:&lt;/P&gt; 
 &lt;PRE&gt;return org.talend.mdm.workflow.client.MDMContextImpl.deserialize(mdmContextBytes).extractCompressedSchema(schemaStr);&amp;gt; depends on org is neither defined in the script nor in dependencies. ( )
    at org.bonitasoft.engine.expression.impl.GroovyScriptExpressionExecutorCacheStrategy.evaluate(GroovyScriptExpressionExecutorCacheStrategy.java:140)
    at org.bonitasoft.engine.expression.impl.ExpressionServiceImpl.evaluate(ExpressionServiceImpl.java:86)
    at org.bonitasoft.engine.core.expression.control.api.impl.ExpressionResolverServiceImpl.evaluateExpressionWithResolvedDependencies(ExpressionResolverServiceImpl.java:215)
    at org.bonitasoft.engine.core.expression.control.api.impl.ExpressionResolverServiceImpl.evaluateExpressionsFlatten(ExpressionResolverServiceImpl.java:120)
    at org.bonitasoft.engine.core.expression.control.api.impl.ExpressionResolverServiceImpl.evaluate(ExpressionResolverServiceImpl.java:83)
    at org.bonitasoft.engine.bpm.model.impl.BPMInstancesCreator.createDataInstances(BPMInstancesCreator.java:582)
    at org.bonitasoft.engine.execution.ProcessExecutorImpl.initialize(ProcessExecutorImpl.java:394)
    at org.bonitasoft.engine.execution.ProcessExecutorImpl.start(ProcessExecutorImpl.java:743)
    at ... 32 more. ( )
    at  Caused by: groovy.lang.MissingPropertyException.: No such property: org for class: BScript1 ( )
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
    at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
    at BScript1.run(BScript1.groovy:4)
    at org.bonitasoft.engine.expression.impl.GroovyScriptExpressionExecutorCacheStrategy.evaluate(GroovyScriptExpressionExecutorCacheStrategy.java:134)
    at ... 39 more. ( )
&lt;/PRE&gt; 
 &lt;H2&gt;Resolution&lt;/H2&gt; 
 &lt;P&gt;Make sure you have at least one &lt;STRONG&gt;TalendMDMContextConnector&lt;/STRONG&gt; in the entire workflow as shown below. You cannot have an &lt;STRONG&gt;mdm_context&lt;/STRONG&gt; object without having a &lt;STRONG&gt;TalendMDMContextConnector&lt;/STRONG&gt;. This error will happen if you remove all &lt;STRONG&gt;TalendMDMContextConnector&lt;/STRONG&gt; in all the steps of your workflow.&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 587px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000008uAkBAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/123460iFDE6861EC1B3DEF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000008uAkBAAU.png" alt="0693p000008uAkBAAU.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
 &lt;BR /&gt; 
 &lt;H2&gt;Related Jira Issues&lt;/H2&gt; 
 &lt;P&gt;&lt;A href="https://jira.talendforge.org/browse/TMDM-10105" target="_blank"&gt;TMDM-10105&lt;/A&gt; - [Workflow] Dependencies required for mdm context are brought by MDM connectors' dependencies - New&lt;/P&gt; 
&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Feb 2024 19:06:24 GMT</pubDate>
    <dc:creator>TalendSolutionExpert</dc:creator>
    <dc:date>2024-02-09T19:06:24Z</dc:date>
    <item>
      <title>Exception when using mdm_context without a TalendMDMContextConnector.</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Exception-when-using-mdm-context-without-a/ta-p/2150906</link>
      <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;DIV class="lia-message-template-content-zone"&gt; 
 &lt;P&gt;This exception happens when launching a workflow from Talend MDM. Talend MDM leverages the &lt;STRONG&gt;mdm_context&lt;/STRONG&gt; variable to serialize and pass the model and entity data to the workflow engine embedded in Talend MDM. This error occurs when the workflow engine is unable to deserialize the data back into the &lt;STRONG&gt;mdm_context&lt;/STRONG&gt; variable in the workflow.&lt;/P&gt; 
 &lt;BR /&gt; 
 &lt;H2&gt;Environment&lt;/H2&gt; 
 &lt;P&gt;This happens on Talend MDM 6.0, 6.1, and 6.2 with the Community Bonitasoft 6.5.x workflow engine. Note that this is OS independent. The Community Bonitasoft 6.5.x portal should be running on Java 7.&lt;/P&gt; 
 &lt;BR /&gt; 
 &lt;H2&gt;Symptoms/Description&lt;/H2&gt; 
 &lt;P&gt;You will receive the following exception as show below in the mdm log file:&lt;/P&gt; 
 &lt;PRE&gt;return org.talend.mdm.workflow.client.MDMContextImpl.deserialize(mdmContextBytes).extractCompressedSchema(schemaStr);&amp;gt; depends on org is neither defined in the script nor in dependencies. ( )
    at org.bonitasoft.engine.expression.impl.GroovyScriptExpressionExecutorCacheStrategy.evaluate(GroovyScriptExpressionExecutorCacheStrategy.java:140)
    at org.bonitasoft.engine.expression.impl.ExpressionServiceImpl.evaluate(ExpressionServiceImpl.java:86)
    at org.bonitasoft.engine.core.expression.control.api.impl.ExpressionResolverServiceImpl.evaluateExpressionWithResolvedDependencies(ExpressionResolverServiceImpl.java:215)
    at org.bonitasoft.engine.core.expression.control.api.impl.ExpressionResolverServiceImpl.evaluateExpressionsFlatten(ExpressionResolverServiceImpl.java:120)
    at org.bonitasoft.engine.core.expression.control.api.impl.ExpressionResolverServiceImpl.evaluate(ExpressionResolverServiceImpl.java:83)
    at org.bonitasoft.engine.bpm.model.impl.BPMInstancesCreator.createDataInstances(BPMInstancesCreator.java:582)
    at org.bonitasoft.engine.execution.ProcessExecutorImpl.initialize(ProcessExecutorImpl.java:394)
    at org.bonitasoft.engine.execution.ProcessExecutorImpl.start(ProcessExecutorImpl.java:743)
    at ... 32 more. ( )
    at  Caused by: groovy.lang.MissingPropertyException.: No such property: org for class: BScript1 ( )
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
    at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
    at BScript1.run(BScript1.groovy:4)
    at org.bonitasoft.engine.expression.impl.GroovyScriptExpressionExecutorCacheStrategy.evaluate(GroovyScriptExpressionExecutorCacheStrategy.java:134)
    at ... 39 more. ( )
&lt;/PRE&gt; 
 &lt;H2&gt;Resolution&lt;/H2&gt; 
 &lt;P&gt;Make sure you have at least one &lt;STRONG&gt;TalendMDMContextConnector&lt;/STRONG&gt; in the entire workflow as shown below. You cannot have an &lt;STRONG&gt;mdm_context&lt;/STRONG&gt; object without having a &lt;STRONG&gt;TalendMDMContextConnector&lt;/STRONG&gt;. This error will happen if you remove all &lt;STRONG&gt;TalendMDMContextConnector&lt;/STRONG&gt; in all the steps of your workflow.&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 587px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000008uAkBAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/123460iFDE6861EC1B3DEF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000008uAkBAAU.png" alt="0693p000008uAkBAAU.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
 &lt;BR /&gt; 
 &lt;H2&gt;Related Jira Issues&lt;/H2&gt; 
 &lt;P&gt;&lt;A href="https://jira.talendforge.org/browse/TMDM-10105" target="_blank"&gt;TMDM-10105&lt;/A&gt; - [Workflow] Dependencies required for mdm context are brought by MDM connectors' dependencies - New&lt;/P&gt; 
&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Feb 2024 19:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Exception-when-using-mdm-context-without-a/ta-p/2150906</guid>
      <dc:creator>TalendSolutionExpert</dc:creator>
      <dc:date>2024-02-09T19:06:24Z</dc:date>
    </item>
  </channel>
</rss>

