StatusCode values for web service call?

Avatar

Avatar

MikeTGates

Avatar

MikeTGates

MikeTGates

06-08-2009

I am trying to check the status of a long-lived service using a web service call from a .NET application. I therefore don't have access to the java libraries where the StatusCode constants (enumerations?) are defined. Can someone either tell me a .NET library I can reference in order to use the constant values, or at least tell me what the integer values are, and I can make my own constants.

In case it wasn't cIear, I am using webservice_invokeStatus( jobId ).

Thanks,

Mike Gates

View Entire Topic

Avatar

Avatar

parth_pandya

Avatar

parth_pandya

parth_pandya

06-08-2009

Hi Mike,

These are the values that you need to know about the process statuses.

PROCESS_INSTANCE_INITIATED = 0;
PROCESS_INSTANCE_RUNNING = 1;
PROCESS_INSTANCE_COMPLETE = 2;
PROCESS_INSTANCE_COMPLETING = 3;
PROCESS_INSTANCE_SUSPENDED = 6;
PROCESS_INSTANCE_SUSPENDING = 7;
PROCESS_INSTANCE_UNSUSPENDING = 8;
PROCESS_INSTANCE_TERMINATED = 4;
PROCESS_INSTANCE_TERMINATING = 5;

hope it helps.

Parth Pandya

http://blog.pandyaparth.com