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.

Cheers,
Sasanka:blush:

Hi Sasanka,

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

The thread in progress will complete.

-HTH

pub.trigger:suspendProcessing in WmPublic

The trigger will still be ā€œenableā€ but will not processed the documents

pub.trigger:resumeProcessing to resume.