Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Call Use this method to log record the successful download and processing of a delivery.

Example: When a workflow is finished (“Work Finished”) you are ready For instance, once a workflow reaches the "Work Finished" status, you're set to download the deliverable file. Then check After downloading, you review the contents and store the data in whatever place it needs to go. Finally, call the present method to change its designated location. Subsequently, utilize this method to update the workflow status from “Work Finished” to “Work Delivered”"Work Finished" to "Work Delivered".

When a project manager reopens the workflow, the workflow status will change again, such as being reset to “Work in progress”. Wait again for the completion, download, store and log delivery…

...

pid

The project ID

int, Mandatory

did

The document ID

int, Mandatory

trg

The target language code

string, Mandatory

RESULTS

The This method returns provides the workflow status and an acknowledgement, detailed as follows:

  • changed: Boolean. True Returns true if the status could be has been successfully changed to “Work delivered”"Work delivered".

  • status: The Indicates the current workflow status (after following the change).

  • statusTitle: Name The name of the current status.

Example 1: The status was not “Work finished” and thus could not be changed remained “Work unfinished”, preventing it from being updated to “Work delivered”: .

Code Block
{
    "changed": false,
    "status": 0,
    "statusTitle": "Work in progress"
}

Example 2: The status could be changed:was modifiable.

Code Block
{
    "changed": true,
    "status": 4,
    "statusTitle": "Work delivered"
}

...