In this scenario, once the Job message is created, a trigger calling this Job can be generated.
- In the MDM Repository tree view, under the Job Designs node, right click the message Job.
In the contextual menu, select Generate Talend Job Caller Trigger, accept
the default options and click Generate.
A trigger used to call the message Job is generated and stored under callJob.. Its name is CallJob_Message, and its Service JNDI Name is
In the Trigger xPath Expressions area, customize the
conditions of the trigger according to your needs.
In this example, add the following conditions:
XPath Operator Value Condition Update/DataCluster Matches Product C1 Update/DataModel Matches Product C2 Update/OperationType Matches UPDATE C3
In the Conditions area, combine the conditions using the
In this example, enter the following:
C1 AND C2 AND C3
In this way, this Trigger will be executed on a record in the Update entity only when a Product data record has been updated.
- Deploy the customized Trigger to the MDM server.