RuntimeServiceGetWorkflowApplication Method |
Namespace: Advantys.Workflow.Web.Services.Processes.Runtime
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.
ApplicationId (int) | Specifies the Id of the application to get. Supercedes the application name. |
<Application> <Name /> <Type /> </Application>
<Application> <Name /> <Description /> <Type /> <!-- ASSEMBLY, WCFSERVICE, WEBAPP, WEBPROC, WEBPROCASYNC, WEBSERVICE --> <Encoding /> <!-- application/x-www-form-urlencoded, multipart/form-data, application/xml; charset=UTF-8 --> <Url /> <Wsdl /> <Method /> <Username /> <Password /> <Active /> <!-- Y,N --> <Assembly /> <Class /> <ContextSchema /> <!-- RECORDSET, WFCONTEXT --> <EmbeddedContextSchema /> <!-- Y, N --> <Parameters> <Parameter> <Name /> <Description /> <Datatype /> <!-- FILE, TEXT, NUMERIC --> <Direction /> <!-- IN, INOUT, OUT --> <Required /> <!-- Y,N --> <Default /> <!-- Y,N --> </Parameter> </Parameters> </Application>
RuntimeServiceWebService.RuntimeService myRuntimeService = new RuntimeServiceWebService.RuntimeService(); RuntimeServiceWebService.WorkflowApplicationHeader myWorkflowApplicationHeader = new RuntimeServiceWebService.WorkflowApplicationHeader(); myRuntimeService.WorkflowApplicationHeaderValue = myWorkflowApplicationHeader; myWorkflowApplicationHeader.ApplicationId = applicationId; string myWorkflowApplicationDefinition = myRuntimeService.GetWorkflowApplication(applicationName, null);