Create workflow programmatically

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

Can anyone give me an example of how to create a workflow programmatically? I have a workflow already set up using the GUI. I just need to invoke the state change on a submit event. Any ideas?

India

Group notifications

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