NAME
Catmandu::Importer::Activiti::RuntimeTasks - Package that imports historic process instances from Activiti
SYNOPSIS
use Catmandu::Importer::Activiti::RuntimeTasks;
my $importer = Catmandu::Importer::Activiti::RuntimeTasks->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/#restTasksGet)
each(&callback)
...
Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited. The Catmandu::Importer::Activiti::RuntimeTasks methods are not idempotent: Activiti feeds can only be read once.
SEE ALSO
AUTHOR
Nicolas Franck Nicolas Franck at UGent be