Import Method (ActionImporter)
The method that will run when an ActionImporter is picked up by the engine.
public abstract List<GlobalSearchDocument> Import();
Classes: ActionImporter
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;
}
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.