How to send parameters from one Integrity trigger to another in java ?
Hello,
I am a junior developer and I develop triggers in java for Integrity and I would like to know how I can send parameters from a java trigger to another. Let me explain:
I have 2 triggers, let's call them trigger A and trigger B.
My 2 triggers are triggered according to rules.
My trigger B is an automatic numbering trigger and is triggered during trigger A and I need to bypass part of the code of trigger B for functional reasons.
To do this I would have liked to send a parameter from trigger A to trigger B to have the information in trigger B when A is triggered.
I had thought of doing this in the A :
ScriptServerBean serverBean = getScriptServerBean();
Map<String, String> serverMap = serverBean.getTransactionContext();
serverMap.put("parameter", "");
I have the parameter information in my trigger A but I can't get the information in my B trigger, maybe they don't belong to the same transaction ?
If you have any clue of solution I'm interested, thanks.
Alex

