Debug alert processing

The following simple job allows you to use breakpoints in alert processing classes.

/// Run alert processing outside of batch job (for debugging purposes)
static void testAlerts(Args _args)
{
    ;
    EventJobCUD::expandCudRecords();
    EventJobCUDTask::newTask().run();
}

Comments

One response to “Debug alert processing”

  1. sanme98 avatar

    Hi, I got this error while tried running your code “The ‘RunAs’ function is not supported on the client.”. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *