Posted by winarto on January 20, 2010 at 4:54am
Hi,
I'm just enable the workflow module 2 days ago. Everything looks good. I have workflow tab complete with states option, comments, and schedule fieldset. However, when i go to content creation form (using admin role), the only thing i see on the workflow fieldset is schedule. It does not have option for me to choose the state.
Of cos I can changed the state on workflow tab, but i believe the correct way should be user should be able to choose the states, that are enabled for them, in the content creation form, right?
Anything that i overlook? pls kindly enlighten.
Comments
As far as I know when you
As far as I know when you create content first time. By default it takes first state and you dont see any selection.
Regards,
Saurabh
I thought so too
When the first time i create the content it will take the 1st state (without choosing any option on the fieldset). But when the next edit, as i not able to choose any state on the workflow fieldset, i will encounter error as below...
warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in ../public_html/sites/all/modules/workflow/workflow.module on line 270.
P.S on 'USING DRUPAL' book they also show we are allowed to choose states.
Lacks of document :( In my
Lacks of document :(
In my workflow, I allow the transition from (creation) to S1 and S3. When you add new node, you can choose to which state (S1, S3) you want to set.
Remember that (creation) is the state before the node is created. So you must set at least a transition from that.