WMSetTurnAroundTime

This call sets the turnaround time for a Process and for the activities of the specified Process. You can view the XML input and output parameters, which have to be passed for setting the turnaround time. There is a list of errors and warning that can occur in the execution.

Input Parameter description

View Input XML

Output Parameter description

View Output XML

Errors and Warnings

View Sample Code

 

Input Parameter description

Name

Parent Tag

Description

Valid Value

Option

Root

It refers to the case sensitive call name.

case sensitive call name.

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

ProcessTurnAround

Root

Turnaround time for the process.

NA

Id

ActivityInfo

It is the index of the activity for whom Turnaround time is to be set

NA

TurnAround

ActivityInfo

TurnAround time for the activity

NA

 

Output Parameter description

Name

Parent Tag

Description

Option

Root

It refers to the case sensitive call name.

EngineName

Root

Error code specified by WAPI.

Id

FailedList

Id of the activity whose turnaround time is not set

 

Errors and Warnings

Code

Constant Value

Message

502

WM_INVALID_PROCESS_DEFINITION

The process definition ID was not valid.

400

WF_OPERATION_FAILED

The requested operation failed.