DocsMarshal.Workflow.ActivityLibrary.Profiles.Searchv 2018.4.1.0

A library that contains activities to search DocsMarshal profiles.

The research consists of three main phases:
  • GetProfileSearch: the first fundamental step is to obtain the IQueryProfile object which represents a query for the search of profiles fundamental for all subsequent operations. This is possible using several activities:
  • 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 from time to time by directly updating the object passed in input.
  • ProfileSearch: the last step is to perform the actual search once the query has been created correctly. To carry out this operation, two different activities can be used:
    • ProfileSearch: it executes the query in a classic way and returns the result;
    • ExecuteView: executes the query stored in a view with the ability to add further filters by passing the query built with the previous steps.
  • Finally, there are other activities, which can be called individually, which allow you to perform fast searches, such as GetProfileById (which allows you to obtain a profile given its ObjectId), or other activities that allow you to handle the results after the query has been executed such as GetResultAsDataTable which returns the result of a query in table format.

DocsMarshal.Workflow.ActivityLibrary.Profiles.CreateWhereBoolField

This activity creates a new IWhereField object for the Boolean fields.


DocsMarshal.Workflow.ActivityLibrary.Profiles.CreateWhereDateField

This activity creates a new IWhereField object for the Date fields.


DocsMarshal.Workflow.ActivityLibrary.Profiles.CreateWhereDateTimeField

This activity creates a new IWhereField object for the DateTime fields.


DocsMarshal.Workflow.ActivityLibrary.Profiles.CreateWhereDoubleField

This activity creates a new IWhereField object for the Double fields.


DocsMarshal.Workflow.ActivityLibrary.Profiles.CreateWhereGuidField

This activity creates a new IWhereField object for the Guid fields.


DocsMarshal.Workflow.ActivityLibrary.Profiles.CreateWhereIntField

This activity creates a new IWhereField object for the Int fields.


DocsMarshal.Workflow.ActivityLibrary.Profiles.CreateWhereStringField

This activity creates a new IWhereField object for the String fields.


DocsMarshal.Workflow.ActivityLibrary.Profiles.DynAssSearch

This activity allows to get all the profiles related to the given profile given a DynAss.


DocsMarshal.Workflow.ActivityLibrary.Profiles.ExecuteView

This activity allows to execute a profile search operation starting from the given view one.


DocsMarshal.Workflow.ActivityLibrary.Profiles.GetFieldName

This activity takes in input a Query for profiles and returns the name of a field given its externalId.


DocsMarshal.Workflow.ActivityLibrary.Profiles.GetProfileById

This activity allows to get a profile given its ObjectId.


DocsMarshal.Workflow.ActivityLibrary.Profiles.GetProfileSearch

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


DocsMarshal.Workflow.ActivityLibrary.Profiles.GetProfileSearchFromDynAss

This activity returns the QueryProfile object which is necessary for all search operations from a profile and a Dynamic Association.


DocsMarshal.Workflow.ActivityLibrary.Profiles.GetProfileSearchFromView

This activity allows to get a profile query starting from the given view one.


DocsMarshal.Workflow.ActivityLibrary.Profiles.GetResultAsDataTable

This activity converts a search result into a DataTable.


DocsMarshal.Workflow.ActivityLibrary.Profiles.GetResultFieldSum<T>

This activity returns the sum of all the values of a field given a search result.


DocsMarshal.Workflow.ActivityLibrary.Profiles.GetResultFieldValue<T>

This activity allows to get a field value from the result of a query given its row index.


DocsMarshal.Workflow.ActivityLibrary.Profiles.GetResultMLFieldValue<T>

This activity allows to get the value of a multi-language field given the result of a query and its row index.


DocsMarshal.Workflow.ActivityLibrary.Profiles.GetResultValuesByField<T>

This activity selects the values of a single field of a search result.


DocsMarshal.Workflow.ActivityLibrary.Profiles.ProfileSearch

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


DocsMarshal.Workflow.ActivityLibrary.Profiles.SetSearchOrderByField

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


DocsMarshal.Workflow.ActivityLibrary.Profiles.SetWhereBoolField

This activity allows to add a condition on a Boolean field to a profile search query.


DocsMarshal.Workflow.ActivityLibrary.Profiles.SetWhereDateField

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


DocsMarshal.Workflow.ActivityLibrary.Profiles.SetWhereDateTimeField

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


DocsMarshal.Workflow.ActivityLibrary.Profiles.SetWhereDoubleField

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


DocsMarshal.Workflow.ActivityLibrary.Profiles.SetWhereGuidField

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


DocsMarshal.Workflow.ActivityLibrary.Profiles.SetWhereIntField

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


DocsMarshal.Workflow.ActivityLibrary.Profiles.SetWhereStringField

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