This module integrates workflow-ng with media_mover.

It exposes events on all media mover stages and exposes a couple of conditions:

File type is
and
MM configuration is

It also sorta exposes an action to fire a new configuration, but right now it does not fire because of concerns around regression.

In addition, I've included two sample configurations which can be enabled from the workflow-ng configuration screen.

This patch also includes the patch for token support: which it requires.

CommentFileSizeAuthor
mm_workflow_ng_and_tokens.patch23.85 KBJacobSingh

Comments

JacobSingh’s picture

Redundant token support issue is at: http://drupal.org/node/251789

JacobSingh’s picture

Status: Active » Needs review
arthurf’s picture

This patch has been applied, with a few modifications
* I moved the token support to be its own module. I also did some updates to replace some depreciated functions from some of my more recent media_mover_api changes
* I changed how the workflow_ng integration works by moving it into a specific trigger function which can be called with a variety of arguments
* I updated the media_mover_api_run_config function to abstract things more cleanly for each verb and call the trigger function here
* I updated the names of the tokens to be able to programatically call them

This needs some testing to make sure that I didn't break any additional things