A Timed Action is a special type of Action that can only be run at pre-configured time. Timed Actions are used by Ooyala Flex to carry out work at regular intervals. Timed Actions are not run within Workflows or from the Asset Toolbar. Instead, once configured and started, Ooyala Flex's internal Job scheduler runs the Action at the intervals specified. Such a Actions can still be viewed from the Job Dashboard, Jobs Search, and Job Details screens. Timed Actions are run as Jobs.
There are two types of Actions available in Ooyala Flex's various Toolbars:
• Synchronous: These are Actions that run immediately.
• Asynchronous: These run a background job against a Ooyala Flex Action.
Background Jobs are used to run long-running work in the background. Typically any Actions related to Assets (transcode, export, and so on) result in the creation of a background Job. When this type of Action is selected, the User will be directed to a pop-up where they can schedule and configure their Job. Once scheduled, the newly created Job can be monitored via the Jobs Tab.
Timed Action Object Properties
|Scope||Account||The Scoping of this Object|
|Visibility||Whether the Object supports visibility|
|Extended Config.||Whether the Object has an extended configuration tab|
|Scripting||Whether the Object can be configured using scripting|
|Enable / Disable||Whether the Object can be enabled and disabled|
|Start / Stop||Whether the Object can be started and stopped|
|Copy||Whether the Object can be copied|
|Export / Import||Whether the Object can be exported and imported|
|Delete||Whether the Object can be deleted|
|Unique Name||Whether the Object name must be unique within its scope|
|Variants||Whether the Object supports Variants|
Creating a new Timed Action
1) On the Toolbar, click the New option.
2) From the drop down, select Timed Action.
3) In the Create new Timed Action section, fill in the relevant details such as a name, plugin (e.g HTTP Timed Message), interval, and so on. If you wanted the Action to run once every day, you would select the Daily option from the Interval drop down. In this example we will create a HTTP Message timed Action, so we will select the Timed HTTP Message plugin. With this plugin, you can create a Timed Action that sends out a message if a certain event occurs. For example, you could create a timed Action that sends out a message to a specific User if there are failed workflows.
4) Once you've created your Timed Action, click the Configuration tab, and then click the Edit link in order to define the values that you wish to assign to your new Timed Action.
5) In this example you will see the configuration options specific to the HTTP Timed Message Action. The configuration options will differ depending on which plugin you select. So for the HTTP Timed Message Action, you will see fields for URL, Request Type, Headers, and so on, in the HTTP Request Message section. Some Timed Actions do not support configuration.
Once you have entered the configuration details for your Timed Action, click Save to finalise.
6) Click Save to finalise.
7) Once you have setup your Timed Action, click the Start option, to start your Timed Action.