Skip to main content
Skip table of contents

Import Method (ActionImporter)

The method that will run when an ActionImporter is picked up by the engine.

CODE
public abstract List<GlobalSearchDocument> Import();

Classes: ActionImporter


Returns

List<GlobalSearchDocument>

List of GlobalSearchDocument objects.


Example

The following example demonstrates importing a single GlobalSearchDocument inside an Import method.

CODE
public override List<GlobalSearchDocument> Import()
{
	var documents = new List<GlobalSearchDocument>();
	documents.Add(new GlobalSearchDocument(1, 1));
	return documents;
}

Remarks

In GlobalAction, processes are only picked up by workflows if they aren't already inside a running process. This import method is consistent with this behavior. Any GlobalSearchDocument targeted by this method that belongs to a running GlobalAction process will not be spawned into a new GlobalAction process.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.