workflow installation profile

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

Creating a workflow in an installation profile

Hi all,

Is it possible to create a workflow in an installation profile? I have code that works perfectly in a normal context, but fails to function when I run it in my installation profile.

When I dig down into the code, it appears that drupal_write_record inside the workflow_create() function fails to write the record, after which of course nothing else can work.

I've tried to include various .inc files like database.inc and common.inc to no avail. Other database functions like db_query() seem to work just fine.

Any clues appreciated!

Tom

Read more
Subscribe with RSS Syndicate content