month day hours minutes

Writing Expressions 22-21 Table 22–7 shows examples of interval literals:

22.12.4 Using Array Literals

You can assign a value to a data object of type Interval using literals. You can also use interval literals to provide a parameter of type interval to a method. To define an array literal you must provide a list of values separated by comas and enclosed by brackets. You can also specify the values using literals or attributes from data objects. The following list shows examples of array literals: ■ [ One, Two, Three ] ■ [ 1, 2, 3 ] ■ [ customer.firstName, customr.lastName ]

22.13 XPath BPM Extension Functions

The BPM Extension Functions enable you to access the following elements using XPath: ■ Process and Project Data Objects ■ Arguments ■ Activity Instance Attributes In XPath this is the only way of accessing the value of the described elements in your BPMN process.

22.13.1 getActivityInstanceAttribute

Returns the value of a specific activity instance attribute. See Section 8.4, Introduction to Activity Instance Attributes for more information about the supported activity instance attributes. M Month d or D Day h or H Hour m Minutes s or S Seconds x Microseconds Table 22–7 Examples of interval literals Example Description 1Y1M3h2m1.500s 1 year, 1 month, 3 hours, 2 minutes and 1.500 milliseconds 1.5h 1.5 hours 3M15d 3 months and 15 days Table 22–6 Cont. Time Unit Suffixes Time Unit Suffix Description 22-22 Modeling and Implementation Guide for Oracle Business Process Management Signature: bpmn:getActivityInstanceAttributeactivityName, attributeName Arguments: activity name - The name of the activity that contains the activity instance attribute. attributeName - The name of the activity instance attribute for which you want to find out the value. Examples: bpmn:getActivityInstanceAttributeuserTask, priority bpmn:getActivityInstanceAttributeuserTask, title

22.13.2 getDataInput

Returns the value of a specific input argument in a data association. Signature: bpmn:getDataInputdataInputName Arguments: dataInputName - String that contains the name of the data input argument. Examples:

22.13.3 getDataObject

Returns the value of a specific data object. Signature: bpmn:getDataObjectdataObjectName Arguments: dataObjectName - String that contains the name of the data object whose value you want to obtain. Examples: bpmn:getDataObjectdiscount bpmn:getDataObjectapproveTermsOutcome

22.13.4 getDataOutput

Returns the value of a specific data output argument in a data association. Signature: pmn:getDataOutputdataOutputName Arguments: dataOutputName - String that contains the name of the data output argument.