NAME
Kernel::Test::Role::Environment::HandlesProcesses – role to handle processes (import, cleanup).
PUBLIC INTERFACE
ProcessImport()
Import and deploy process in backend.
$Self->ProcessImport(
FilePath => '/scripts/test/sample/Process/TestProcess.yml' # mandatory, YAML format
OverwriteExistingEntities => 0, # 0 || 1
Placeholders => { # Placeholders for the file to include dynamic data.
Placeholder1 => Value1,
},
);
Returns process data if the process is imported and deployed well, otherwise returns 0.
_ProcessCleanup()
removes all added processes.