[Setools] gjallar creating processes
herbertkoenig at gmx.net
Wed Sep 20 10:24:36 UTC 2006
I created a process by
addProcessPrototype.. and then crateProcess:fromPrototypeNamed:..
and assigned an administrator.
Then I created a workflow with several stages, like described in the
This worked, in that the process console showed all stages lined up
beside each other.
Next step was to add transitions like:
flow := self workflow.
stage := flow findStage: 'In'.
"findStageNamed seems to only return the name, not the stage."
stage transition: 'Check if infos complete' to: 'Check infos'.
and so on with several transitions.
This produced a workflow where e.g. the stage 'Check infos' was
duplicated in the graph. Once hanging under 'In' and once in the
original position besides 'In'.
Further transitions from 'Check infos' originate in the original stage
and all duplicate their destination.
What am I doing wrong?
Herbert mailto:herbertkoenig at gmx.net
More information about the Setools