Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

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.

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.

  • No labels