View All Blog Posts

Ouvvi : Program Trigger

We've added a new Trigger to Ouvvi that calls an external program to evaluate whether the trigger should be fired. This enables you to create a simple script like program that simply returns a Date Time value of the last change to fire the Trigger.

A very simple .NET Console Application is all that's required, you simply write the code to discover the changes and return the Time of the Last Change to the Console Output.

using System;

namespace ExternalTrigger
    class Program
        static void Main(string[] args)
            Console.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));

Then you create the Program Trigger in Ouvvi, set the Program to Execute and attach the projects you want to execute when this trigger changes to this new Trigger.


The Program should be fast, if the Trigger Evaluation time is long it will hold up the Trigger Thread in Ouvvi and impact the evaluation of the other triggers so it is advisable that this is a very short operation.

| Friday, September 13, 2013 |

Recent Blogs