Help for this page

Select Code to Download


  1. or download this
    <workflow>
         <type>myworkflow</type>
    ...
                  <condition test="$context->{user} ne 'CWINTERS'" />
             </action>
             ...
    
  2. or download this
       my $workflow = Workflow::Generator->new(type => "myworkflow");
       $state = $workflow->add_state(name => "INITIAL");
    ...
       $state = $workflow->add_state(name => "uploaded", autorun => "yes")
    +;
       $state->add_action(name => "verify_file", resulting_state => "annot
    +ate");
       $condition = $state->add_condition(test => \&check_file);