[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: BP-127: WS-HT API's required to set task deadlines
Assigned: http://www.osoa.org/jira/browse/BP-127 From: Ralf Mueller
[mailto:ralf.mueller@oracle.com] Target: Latest WS-HT spec Description: As part of the the discussion on BP-104, a new set of WS-HT
API's needs to be added to set a task deadlines duration or deadline expression of the
startDeadline and completionDeadline Proposal: 1. Modify type "tDeadline" in ws-humantask.xsd to
include a name attribute for deadlines. This is to identify a
deadline out of the potential many deadlines a task might specify <xsd:complexType
name="tDeadline"> <xsd:complexContent> <xsd:extension
base="tExtensibleElements"> <xsd:sequence> <xsd:choice> <xsd:element
name="for" type="tDuration-expr" />
<xsd:element name="until" type="tDeadline-expr"
/> </xsd:choice> <xsd:element
name="escalation" type="tEscalation"
minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> <xsd:attribute
name="name" type="xsd:NCName" use="required"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> 2. WS-HT Chapter 7.1.1., Participant Operations Add the following API's: setTaskStartDeadlineExpression In: task identifier deadline name deadline expression Out: void setTaskStartDurationExpression In: task identified deadline name duration expression Out: void setTaskCompletionDeadlineExpression In: task identifier deadline name deadline expression Out: void setTaskCompletionDurationExpression In: task identifier deadline name duration expression Out: void Operations above should support Batch Processing, the
Pre-State is CreatedReady, Reserved, In Progress and there is no state transition as part of above operations Please note that above API's simply set the duration or
deadline expressions of a task deadline. As an alternative we could have the API overwrite the entire startDeadline,
completionDeadline definition (including the deadline escalation definitions). Personally, i wouldn't go that
route though. Best Regards, Ralf |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]