Click or drag to resize

RuntimeServiceGetGlobalList Method

Gets a global list definition. Intended for web use only.

Namespace:  Advantys.Workflow.Web.Services.Processes.Runtime
Assembly:  Advantys.Workflow.Web.Services.Processes.Runtime (in Advantys.Workflow.Web.Services.Processes.Runtime.dll) Version: (
public string GetGlobalList(
	string listName,
	string filterFields


Type: SystemString
Name of the global list to get. Can be empty if ListId is specified.
Type: SystemString
Xml structure of a global list definition containing only the desired fields. If left null or empty, the entire definition will be returned.

Return Value

Type: String
Returns the global list definition as a string.
Available since WorkflowGen version: 6.2.0

Optional Parameters.

These parameters can be used in the query string or as parameters of the Headers object in the RuntimeService class instance. See example below.

ListId (int)Specifies the Id of the global list to get. Supersedes the list name.
Sample filterFields XML to return the global list name:
 <Name />
Complete filterFields XML
 <Name />
 <ParticipantName />
 <Content />
Sample code:
RuntimeServiceWebService.RuntimeService myRuntimeService = new RuntimeServiceWebService.RuntimeService();
RuntimeServiceWebService.GlobalListHeader myGlobalListHeader = new RuntimeServiceWebService.GlobalListHeader();
myRuntimeService.GlobalListHeaderValue = myGlobalListHeader;

myGlobalListHeader.ListId = listId;

string myGlobalListDefinition = myRuntimeService.GetGlobalList(listName, null);

See Also