NAME

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

SYNOPSIS

use Catmandu::Importer::Activiti::HistoricProcessInstance;

my $importer = Catmandu::Importer::Activiti::HistoricProcessInstance->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/#restHistoricProcessInstancesGet)

each(&callback)

...

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

SEE ALSO

Catmandu::Iterable

AUTHOR

Nicolas Franck Nicolas Franck at UGent be