How to trigger MergeMap Rule in iiq

MergeMap Rule how this rule works,when it will trigger?i am facing problem with mergMap rule, as i followed document even though, i am unable to trigger it in iiq,can someone explain me clearly how mergemap rule works? could you help me?

HI Pavan

MergeMap rules is invoke/execute during the aggregation. In order to see the action you should have multiple line /record for same user. single line item will not called MergeMaps rule.

Regards
Ankush

Hi @Karingu_Pavan ,

Merge map rule is a connector specific rule. It is available for some types of Connectors (e.g. Delimited File), not for all connectors.

You can put some logs for debugging purpose (and remove it later as it impacts performance)

When account aggregation is executed, this rule is invoked.

Hope this helps. Please mark this as solution if it helped to solve your problem.

This mergeMap rule is only for Delimited and JDBC applications not for all. Can you share the rule code and the sample of records here?

Regards
Ankush

@Karingu_Pavan Could you please share your requirements in details? Do you have multiple accounts in AD and want them to correlate to same identity in IIQ, then you can handle it in Correlation Config or Correlation Rule. IIQ is capable of aggregating multiple accounts of the users.

Yes correct Merge Map rule is available for delimited connector and JDBC connector.
Can you please share your rule xml, and your requirement, what are you trying to achieve.

Also did you try putting loggers in the rule, just to see at the time of aggregation , rule is getting invoked

Hi @Karingu_Pavan ,

MergeMaps rule is only available for Delimited File and JDBC Connectors.

If the connector is delimited connector , then you can follow the below step:

Check the ‘Data needs to be merged ‘ option in Configuration → Settings → Merging → Check data needs to be merged option →enter unique attribute in ‘Index column’ → Enter the column names of the attributes you want to merge in ‘Which columns should be merged ‘ field.

Merging tab is not for Active Directory.

is it delimited or jdbc connector where you are putting your logic?? because merge map rule is available only for those integeration type .

did you try putting loggers, any print statement in your merge map rule, if it is getting printed.

can you share your rule snippet here??