DocsMarshal.Workflow.ActivityLibrary.Tasks.Searchv 1.0.0.0

A library that contains activities to search tasks in DocsMarshal.

The research consists of three main phases:
  • GetEmailSearch: the first fundamental step is to obtain the IQueryTask object which represents a query for the search of tasks. This object is fundamental for all subsequent operations and is obtainable through the use of the GetTaskSearch activity.
  • SetWhereFields: the second step is to set the various filters for the search using the SetWhere...Field activity of the type of the field you want to filter. These activities add conditions to the query directly updating the object passed in input.
  • MailSearch: the last step is to perform the actual search once the query has been created correctly. To carry out this operation, the MailSearch activity can be used: it executes the query and returns its result;

DocsMarshal.Workflow.ActivityLibrary.Tasks.GetActiveTasks

This activity returns the list of all the active tasks in DocsMarshal.


DocsMarshal.Workflow.ActivityLibrary.Tasks.GetTaskById

This activity returns a single task given its ID.


DocsMarshal.Workflow.ActivityLibrary.Tasks.GetTaskSearch

This activity returns the base QueryTask object which is necessary for all search operations.


DocsMarshal.Workflow.ActivityLibrary.Tasks.GetTaskSearchByProcess

This activity returns the base QueryTask object adding a filter to return list of all the tasks related to a specific process. IdProcess and ProcessExternalId mustn't be used together.


DocsMarshal.Workflow.ActivityLibrary.Tasks.GetTaskSearchByWorkflow

This activity returns the base QueryTask object adding a filter to return list of all the tasks related to a specific workglow. IdWorkflow and WorkflowExternalId mustn't be used together.


DocsMarshal.Workflow.ActivityLibrary.Tasks.SetSearchOrderByField

This activity allows you to set a field sort order before performing the search.


DocsMarshal.Workflow.ActivityLibrary.Tasks.SetWhereBoolField

This activity allows to add a condition on a boolean field to a task search query.


DocsMarshal.Workflow.ActivityLibrary.Tasks.SetWhereDateField

This activity allows to add a condition on a Date field to a task search query.


DocsMarshal.Workflow.ActivityLibrary.Tasks.SetWhereDateTimeField

This activity allows to add a condition on a DateTime field to a task search query.


DocsMarshal.Workflow.ActivityLibrary.Tasks.SetWhereDoubleField

This activity allows to add a condition on a Double field to a task search query.


DocsMarshal.Workflow.ActivityLibrary.Tasks.SetWhereGuidField

This activity allows to add a condition on a Guid field to a task search query.


DocsMarshal.Workflow.ActivityLibrary.Tasks.SetWhereIntField

This activity allows to add a condition on an Integer field to a task search query.


DocsMarshal.Workflow.ActivityLibrary.Tasks.SetWhereStringField

This activity allows to add a condition on a String field to a task search query.


DocsMarshal.Workflow.ActivityLibrary.Tasks.TaskSearch

This activity performs the search operation on tasks given a QueryTask object and returns the results as a DataTable. It is also returned an ISearchResult object which has more precise informations about the results.