MetastormOperation..::.GetListEx Method problem
when I'm using sample code from "SZK Enterprise Component Libraries",
to get "Custom List" :
IMetastormOperation metastormSession = new MetastormOperation();
IFormField[] loginData = new FormField[] {
new TextField() { Name = "username", Value = "sysadmin", Culture = CultureInfo.InvariantCulture.ToString() },
new TextField() { Name = "password", Value = PasswordEncrypt("metastorm"), Culture = CultureInfo.InvariantCulture.ToString() }
};
metastormSession.Login("WEB;", 0, "", loginData);
IListFilter lf = new ListFilter();
lf.FilterType = BusinessObjectFilterType.AndGroup;
IListFilter lf1 = new ListFilter();
lf1.FilterType = BusinessObjectFilterType.LessThan;
lf1.Args = new object[] { "test" };
lf1.ColumnName = "Column1";
lf.Args = new object[] { lf1 };
KeyValuePair<string, SortDirection>[] sortDir = new KeyValuePair<string, SortDirection>[1];
KeyValuePair<string, SortDirection> sort = new KeyValuePair<string, SortDirection>("Column1", SortDirection.Ascending);
sortDir[0] = sort;
DataSet ds = new DataSet();
IListResult clientData = metaOper.GetListEx("TestList", lf, sortDir, 0, 0);
ds = clientData.Data;
client.Logout();
I get the the following error:
An error has occurred. Please report the problem to your administrator.
No Engines are available in the "Metastorm BPM Server" service.
When we set the parameter "filter" to null, error does not appear
IListResult clientData = metaOper.GetListEx("TestList", null, sortDir, 0, 0);
What is the cause of this error message: No Engines are available in the "Metastorm BPM Server" service.
MBPM 9.x
Metastorm.ECL.Client 9.0.0.0
Windows Srv 2008
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 155 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories