NAME

Daje::Workflow - It's a simple workflow engine

SYNOPSIS

use Daje::Workflow;
use Daje::Workflow::Loader;
use Daje::Workflow::Database;
use Daje::Workflow::Database::Model;

my $context->{context}->{some_key_needed_by_some_activity}="";

my $workflow = Daje::Workflow->new(
     pg            => $pg,
     loader        => $loader->loader,
     workflow_name => 'generate',
     workflow_pkey => '12',
     context       => $context,
);

$workflow->process("save_perl_file");
say $workflow->error->error if $workflow->error->has_error() ;

DESCRIPTION

Daje::Workflow is

REQUIRES

Daje::Workflow::Errors::Error

Daje::Workflow::Activities

Daje::Workflow::Checks

Daje::Workflow::Database::Model

Daje::Workflow::Database

Daje::Workflow::Loader

Mojo::Base

METHODS

process($self,

process($self,();

save_workflow($self,

save_workflow($self,();

AUTHOR

janeskil1525 <janeskil1525@gmail.com>

LICENSE

Copyright (C) janeskil1525.

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