Creating a New Action

4) From the Plugin Type field, select a plugin type. Then select the specific
plugin. The plugin type is the type of action you wish to create, for example:
Publish.

5) In the Timeout field, specify a timeout if required, by selecting the
checkbox, and then entering a value. A timeout value specifies how long a job with
this action can run, before it is deemed timed out.

6) In the Run Rule Expression field, you can assign a run rule expression if
required. A run rule value specifies the rules that govern when an action can be
run.

7) Select the checkbox next to the Timeout and Auto Retry fields if applicable.

8) Once you've created your action, click the Configuration sub-tab in order
to define the values that you wish to assign to your new action.

Timeout: This field sets the maximum time a job can run an action, before the
job scheduler sets the job to a timed out state. This functionality is useful for
warning users of Ooyala Flex that a job has been running longer than anticipated.
This field is not mandatory.

Run Rule Expression: A run-rule expression is used to define when an action
can be run and should be made visible in the Asset toolbar. The value of this field
is a scripted expression that is run to identify whether it should be visible or
not.

Plugin: The name of the API plugin that carries the functionality for this
action.

Undo Action: This points to an action that reverses the current action. For
example for "Publish to YouTube", you might select an "Un-Publish from YouTube"
action if there is one. This approach means that when you have published an asset to
YouTube, Ooyala Flex knows what action to offer you in order to reverse it. This
field is not mandatory, in which case you will not be offered the opportunity to
Un-Publish.

Redo Action: This points to the action that repeats the current action. For
example for "Publish to YouTube", you might select a "Re-Publish to YouTube" action
if there is one. This approach means that when you have published an asset to
YouTube, Ooyala Flex knows what Action to offer you in order to repeat it. This
field is not mandatory, in which case you will not be offered the opportunity to
re-publish.

Note:
Although actions are used by Ooyala Flex within jobs and workflows
definitions, they are typically only configured by admin users.

Timeout

Actions support an optional Timeout field. If a timeout is set, then when this
action is run as a job. If the job runs longer than the timeout period, the job will
be marked as "Timed Out". This state change will generate an event but will continue
running to completion. Timeout periods provide a very useful way of knowing if a job
has been running longer than expected.

You can select the time out period from the drop down.

Run Rules

A run rule is an expression that is evaluated in order to decide whether an action
can be run in a certain context. Every action has a default run rule which can be
overridden. Run rules are extremely valuable if you only wish to make a certain
action available when it is in a certain state. For example: you may only wish to
make a "Publish to YouTube" action available, if an asset is not deleted.

Undo and Redo Actions

Some action types support the concept of being undone or redone. Clearly this
functionality does not apply to all action types. For example: it would make no
sense to redo a Delete action. A good example of an action type that supports
both undo and redo is the Publish action. It makes sense that some publish
actions should allow you to unpublish and republish your content if the need
arises.

The Undo and Redo actions can be referenced by a standard action (i.e.
a publish action), so that after an action has been implemented, Ooyala Flex knows
what undo and redo actions are available to offer to the user.

This is an example of a published asset. You can clearly see the Unpublish and
Republish options are available.