procedure SetItemAttrDate (itemtype in varchar2, itemkeys in Wf_Engine_Bulk.ItemKeyTabType, anames in Wf_Engine.NameTabTyp, avalues in Wf_Engine.DateTabTyp);
Sets the values of an array of item type attributes of type date in multiple work items, identified by the specified item type and array of item keys.
This API sets the value of one item type attribute in each work item. Consequently, the array of item keys must correspond on a one-to-one basis with the array of item type attribute names and with the array of item type attribute values.
Note: If you need to set the values of large numbers of item type attributes in the same work item, use WF_ENGINE.SetItemAttrDateArray() rather than WF_ENGINE_BULK.SetItemAttrDate().
If processing fails for any work items, then WF_ENGINE_BULK.SetItemAttrDate() adds those item keys to a global PL/SQL table called g_FailedItems within the WF_ENGINE_BULK package and also adds the corresponding item type attribute names to a global PL/SQL table called g_FailedAttributes. The procedure then continues processing the remaining items. When processing is complete, the procedure raises an exception for any failed items.
| itemtype | A valid item type. |
| itemkeys | An array of the item keys that identify the work items to which the item type attributes belong. An item key is a string derived from the application object's primary key that uniquely identifies a work item within an item type.
Note: The item key for a work item can only contain single-byte characters. It cannot contain a multibyte value. |
| anames | An array of the internal names of the item type attributes. The array of item type attribute names must correspond on a one-to-one basis with the array of item keys. |
| avalues | An array of the values for the item type attributes. The array of item type attribute values must correspond on a one-to-one basis with the array of item keys. |