parameter in MoveToNextStepAsync Method

1676
1
Jump to solution
05-15-2013 11:02 PM
apankkurniawan
New Contributor
in the MoveToNextStepAsync Method there are some parameters like :

jobId
    The job Id.
stepId
    The step Id.
returnCode
    A numeric value representing the return code chosen by the client.
user
    The user name.
userToken
    A user-defined object that is passed to the method invoked when the asynchronous operation completes.

I am confused about stepID and returnCode...
my question :
1. what is stepID ? this is for next / destination ID or for current ID...?
2. what is return code ?
3. what are the function of stepID and returnCode ?

I'm sorry for my bad english....
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable
Hi Kurniapank ,

StepID in that method is the reference for the step the user is currently on. The returncode is the result of that step, which the server will use to automatically figure out what step to go to next.

If you look up the method in the help, file:///C:/Program%20Files/WMX/Server10.1/Developer%20Kit/Developer%20Help/Workflow%20Manager%20Server%20REST/index.html there is a high level example.

Cheers,
Michael

View solution in original post

0 Kudos
1 Reply
by Anonymous User
Not applicable
Hi Kurniapank ,

StepID in that method is the reference for the step the user is currently on. The returncode is the result of that step, which the server will use to automatically figure out what step to go to next.

If you look up the method in the help, file:///C:/Program%20Files/WMX/Server10.1/Developer%20Kit/Developer%20Help/Workflow%20Manager%20Server%20REST/index.html there is a high level example.

Cheers,
Michael
0 Kudos