WFGetProcessVariables

This call returns the list of process variables (also across versions). You can view the XML input and output parameters, which have to be passed for fetching the list and displaying it. There is a list of errors and warning that can occur in the execution.

 

Input Parameter description

 View Sample XMLInput

Output Parameter description

 View Sample XMLOutput

Errors and Warnings

View Sample Code

 

Input Parameter description

* implies for the mandatory parameter.

Name

Parent Tag

Description

Valid Value

Option *

Root

It refers to the case sensitive call name.

NA

EngineName *

Root

It is the cabinet or database name, which has to be connected.

NA

SessionID *

Root

It is the logged in user session id

NA

ProcessDefinitionId*

Root

It refers to the id of the process definition

NA

ActivityId

Root

It is the activity id.

NA

ProcessName

Root

It is the process name

NA

ActivityType

Root

It is the activity type.

1=Introduction

2= Exit

3 = Discard

4 = Hold

5 = Distribute

6 = Collect

7 = Rule

8 = Query

10=Custom

11= Expiry

18=SubProcess

 

Output Parameter description

Name

Parent Tag

Description

Option

Root

It refers to the case sensitive call name.

MainCode

Exception

Error code specified by WAPI.

SubCode

Exception

specific error code other than WAPI

TypeOfError

Exception

Fatal or Temporary

Subject

Exception

Error code description

Description

Exception

Error description

Name

Attribute

It is the attribute name

Type

Attribute

It is the attribute type

Length

Attribute

It is the length of the attribute.

 

Errors and Warnings

Code

Constant Value

Message

11

WM_INVALID_SESSION_HANDLE

Invalid session

15

WM_INVALID_FILTER

The requested filter is invalid.