Documentation Center

Completing project steps

To complete a project step, find out the ID of the workflow that the project uses, the name of the step that it is in, and the ID of the next outbound transition.

Before you begin

Make sure that you have the appropriate permissions to complete project steps. Otherwise, WorldServer will return a 403 Forbidden status code.A screen shot that highlights one of the permissions required to complete project steps.

About this task

A diagram that shows the process of completing project steps.

Procedure

  1. Log in to the WorldServer API.
    A response similar to the following is returned. In the response, identify the value of the sessionId parameter. You will need this value in all the calls you make.A screen shot that highlights the sessionId in the response to the login call.
  2. Find out the ID of the workflow used by the current project by requesting information about that specific project.
    The returned project information contains the ID of the workflow.A screen shot that highlights the ID of the workflow in the response to the Get information about a specific project call.
  3. Within the same response, get the name of the step that the project is in.
    A screen shot that highlights the name of the project step in the response to the Get information about a specific project call.
  4. Use the ID of the workflow and the name of the current step to get the ID of the next outbound transition.
    The ID of the next outbound transition is a part of the response to requesting information about a specific workflow.A screen shot that highlights the name of the current step and the ID of the next outbound transition. This is a response to the Get information about a specific workflow call.
  5. Complete the step.