Enable/Suspend a Trigger through Service

Hi Experts,

I have been told to write a service to enable / suspend trigger through service. Please provide some hints / clues.

If I want to disbale a trigger which is currently processing a document, what will happen?

Any help in this regard deeply appreciated.


Hi Sasanka,

You could you use the services found in the scheduler folder under wMPublic package.

The thread in progress will complete.


pub.trigger:suspendProcessing in WmPublic

The trigger will still be “enable” but will not processed the documents

pub.trigger:resumeProcessing to resume.