REST API - setDeadlineExpiration

The table summarizes the REST API - setDeadlineExpiration.

Request

Format
PUT <baseurl>/process/set/deadline/<exptime>/<activityid>
Path parameters exptime: The deadline value to set on the activity. The current deadline date/time value for an activity can be obtained from getActivityInstanceStatus .

activityid: Unique ID of the activity for which the deadline expiration is to be set. For example, the XPDL ID assigned by TIBCO Business Studio's Process Editor. Can be obtained from getActivityInstanceStatus .

Query parameters format=string (0..n): The format of the expiration date and time. The default is "yyyy-MM-dd HH:mm:ss.SSS".

Response

JSON If successful, returns 204 No Content in the response header, and OK in the response body.
XML If successful, returns 204 No Content in the response header, and OK in the response body.

Example

Request
PUT <baseurl>/process/set/deadline/2013-02-30%2013:00:00.000/pvm:001i56
Response
OK