Create workflow programmatically

Events happening in the community are now at Drupal community events on www.drupal.org.
sagarmitra's picture

Can anyone please give me an example of how to create a workflow programmatically? I have a workflow already created. I need to invoke state change on a submit event. Any ideas?

Comments

I would imagine you can

R.J. Steinert's picture

I would imagine you can modify the node object during the update operation using hook_nodapi http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hoo...

Workflow

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week