This topic contains 1 reply, has 2 voices, and was last updated by  Jeff Drumm 3 weeks, 1 day ago.

Conditional channel starts

  • Is it possible to setup a channel to only start if another channel is started and has been live for a specified length of time?

    Yes, but I wouldn’t call it exactly straightforward, and is probably only possible with channels that are of the “From Translator” type. One solution would be for the dependant channel to call the Iguana web API and verify that the channel it’s dependent on has started, then query that channel’s log for the most recent “channel has started” entry and parse/evaluate the result. If the appropriate conditions are met, the channel can continue to initialize; if not, it should shut itself down.

    If the startup process must be automatic, you’ll need to rely on either an external task manager to perform the startup steps or dedicate an Iguana channel as a registrar for channels and handler of dependency tasks.

    Jeff Drumm ◊ VP and COO ◊ HICG, LLC. ◊ http://www.hicgrp.com

You must be logged in to reply to this topic.