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

public abstract List<GlobalSearchDocument> Import();
CODE

Classes: ActionImporter


Returns

List<GlobalSearchDocument>

List of GlobalSearchDocument objects.


Example

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

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

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.