The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

NAME

BPM::Engine::Store - Schema class for Workflow model

SYNOPSIS

    use BPM::Engine::Store;

    my $schema = BPM::Engine::Store->connect(
        $dsn, $user, $pass, {
            schema_name_postfix => '_dev'
            # ... Other options as desired ...
        });

    my $processes = $schema->resultset('Process')->search;

DESCRIPTION

BPM::Engine::Store provides the schema classes used to interact with the database.

TABLES

The schema classes represent a number of tables, grouped by a three-letter prefix.

Workflow Definition Tables

Prefix: wfd_

  • Package

  • Participant

  • Application

  • Process

  • Activity

  • Performer

  • ActivityTask

  • ActivityDeadline

  • Transition

  • TransitionRef

Workflow Execution Tables

Prefix: wfe_

  • ActivityInstance

  • ActivityInstanceAttribute

  • ActivityInstanceSplit

  • ActivityInstanceState

  • ProcessInstance

  • ProcessInstanceAttribute

  • ProcessInstanceState

  • WorkItem

INTERFACE

connect

Arguments: $dsn, $user, $password, \%attr

Creates a new schema instance and uses Exceptions to catch all db related errors.

AUTHOR

Peter de Vos, <sitetech@cpan.org>

COPYRIGHT AND LICENSE

Copyright (c) 2010, Peter de Vos <sitetech@cpan.org>.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.