Added support for looking up trigger id