We have a custom event that uses table mapping for 'LICENSE NUMBER' (GTM_TR_CONTROL_SCREENING). This event detects changes when a LICENSE NUMBER AKA Authorization is applied to a control. There can be multiple control applied to a given line.
This is the requirement..
If Authorization applied to CONTROL EAR
Invoke Agent A and perform a set of actions
else
If Authorization applied to CONTROL EMBARGO
Invoke Agent B and perform a set of actions
The issue we are facing is that a given transaction line can have both Controls applied. Agent A needs to fire only when the Control for EAR is being authorized. Agent B needs to fire only when control for EMBARGO is being authorized. However, since the agent event, listens to only license number, it fires both the agents. Both Agent A and Agent B have agent action filters looking for the EAR and EMBARGO control respectively. However, for every authorization, they fire twice. How do we restrict to fire the agent for the appropriate control.
Will adding CONTROL TYPE GID (in addition to the License NumbeR) to the agent event table mapping work ? Since the CONTROL TYPE GID is not manually modified, we dont think this will work.
This is the requirement..
If Authorization applied to CONTROL EAR
Invoke Agent A and perform a set of actions
else
If Authorization applied to CONTROL EMBARGO
Invoke Agent B and perform a set of actions
The issue we are facing is that a given transaction line can have both Controls applied. Agent A needs to fire only when the Control for EAR is being authorized. Agent B needs to fire only when control for EMBARGO is being authorized. However, since the agent event, listens to only license number, it fires both the agents. Both Agent A and Agent B have agent action filters looking for the EAR and EMBARGO control respectively. However, for every authorization, they fire twice. How do we restrict to fire the agent for the appropriate control.
Will adding CONTROL TYPE GID (in addition to the License NumbeR) to the agent event table mapping work ? Since the CONTROL TYPE GID is not manually modified, we dont think this will work.