Hi
I am writing a script which needs to log all the trigger in a IS, is there any service which i can invoke to get the list of triggers for a particular IS ?
Thanks
Sid
Hi
I am writing a script which needs to log all the trigger in a IS, is there any service which i can invoke to get the list of triggers for a particular IS ?
Thanks
Sid
Check for BrokerAdminClient API in documentation, you should some method which list out all the triggers for you.
import class
com.wm.app.b2b.server.dispatcher.trigger.TriggerManagementUtil
and the below code in a java service will give you all triggers in IS
IDataCursor pipelineCursor = pipeline.getCursor();
String[] triggerNames = TriggerManagementUtil.getTriggerList();
IDataUtil.put( pipelineCursor, "triggerNames", triggerNames );
pipelineCursor.destroy();
Thank You so much for your reply …
I will try this out and reply …
Thanks for the reply …
i will try this out and reply back