In your screenshot you have an action 'change workflow state of a node to next state'. How do I get this, please?

I have set up a simple (manual) workflow without actions, but found changing the workflow state for each node individually too cumbersome.

Now having installed the actions module, do I need to define the 'change workflow state of a node to next state' myself. How? Thanks!

http://drupal.org/files/issues/views_bulk_operations.png

Comments

Anonymous’s picture

I think you've got to install the Workflow module to see and use that action: http://www.drupal.org/project/workflow

brevity’s picture

Thanks but I had workflow installed in the first place.
Also I have 'pathauto' installed which shows up an operation: Update path alias (pathauto_node_operations_update)

The workflow-action does not show up though. Tried to (de-)activate modules action, workflow, ...

In the database there is no tuple in table 'actions' for workflow.

Tried also to actions_synchronize(actions_list()); manually within devel execute php.

I'm using workflow states on a CCK node.

cornmuffin’s picture

I am having the same problem. I can define workflow actions in /admin/settings/actions however these actions are not available when defining operations for a view. Using Actions 2.4, Workflow 2.2, Views Bulk Operations 5.x-1.0-beta5, and tried Trigger Unlock 1.0 thinking that would solve my problem. I can assign the workflow actions to triggers although I am attempting to manually update multiple node workflows using Views Bulk Operations. Any suggestions? thanks

cornmuffin’s picture

cornmuffin’s picture

I applied the patch for new style actions and I can now access the workflow actions. However when I attempt to update the workflow information I recieve an error on the parameters page where I believe it should show my the workflow form. Here are the errors.

Set parameters for 'Change workflow state of post to new state'

* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/mysite/public_html/modules/views_bulk_operations/views_bulk_operations.module on line 211.

* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mysite/public_html/modules/views_bulk_operations/views_bulk_operations.module on line 218.

It seems as if the other batch operations are working correctly.

infojunkie’s picture

Status: Active » Fixed

The official fix is checked in as described in http://drupal.org/node/252848.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.