NAME

Catmandu::Importer::Activiti::HistoricTasks - Package that imports historic process instances from Activiti

SYNOPSIS

use Catmandu::Importer::Activiti::HistoricTasks;

my $importer = Catmandu::Importer::Activiti::HistoricTasks->new(
  url => 'http://user:password@localhost:8080/activiti-rest/service',
  params => {
    includeProcessVariables => "true"
  }
);

my $n = $importer->each(sub {
    my $hashref = $_[0];
    # ...
});

METHODS

new()

Create a new importer

Arguments:

url       base url for the activiti rest api
params    additional filters (see: http://www.activiti.org/userguide/#restHistoricTaskInstancesGet)

each(&callback)

...

Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited. The Catmandu::Importer::Activiti::HistoricTasks methods are not idempotent: Activiti feeds can only be read once.

SEE ALSO

Catmandu::Iterable

AUTHOR

Nicolas Franck Nicolas Franck at UGent be