com.tibco.wcc.schema.workItems

This topic describes the data passed in the payload for PageBus event, com.tibco.wcc.schema.workItems.

Data in the PageBus event:

topic: The PageBus topic for the event -- see Non-WCC Components Publishing Events.
message: schemaId = "com.tibco.wcc.schema.workItems"
         scope = "public"
         id = Work item ID.
         version = Number of times the work item has changed state. Starts at 0 when
            the work item is created, and is incremented by one each time it changes
            state.
         description = Work item description.
         startDate = Date and time the work item was created and arrived in
            the work item list.
         endDate = Date and time in this column indicates that the work item has a
            deadline. Note that by default, the column header is “Target Date”.
         distributionStrategy = Method used to distribute the work item when it was
            originally created, either "OFFER" or "ALLOCATE".
         priority = Numeric value indicating the relative importance of the
            work item.
         groupId = Identifies a number of work items that are grouped together in
            the process definition for some purpose.
         activityId = Identifies the user activity within the process that generated
            the work item. This number can be used in the event viewer to identify
            the work item across all components.
         appId = A GUID that represents the application.
         appInstance = Id of the process instance from which the work item was
            created.
         appName = Name of process template that was started to create this work
            item.
         scheduleStatus = Indicates if the work item is inside its schedule period,
            which is considered from the start date/time (Start Date column) to the
            target date/time (Target Date column). The possible values are: BEFORE,
            DURING, AFTER and NO_SCHEDULE.
         scheduleStatusLocalized = The localized term for “status”.
         state = The work item’s current state: OFFERED, ALLOCATED, CREATED, OPENED,
            PENDED, PENDHIDDEN, or SUSPENDED.
         stateLocalized = The localized term for “state”.
         workTypeId = Work type ID.
         workTypeUid = Work type universal ID.
         workTypeVersion = Work type version number.
         workTypeDescription = Work type description.
         attribute1 = The value in attribute 1.
         attribute2 = The value in attribute 2.
         attribute3 = The value in attribute 3.
         attribute4 = The value in attribute 4.
         attribute5 = The value in attribute 5.
         attribute6 = The value in attribute 6.
         attribute7 = The value in attribute 7.
         attribute8 = The value in attribute 8.
         attribute9 = The value in attribute 9.
         attribute10 = The value in attribute 10.
         attribute11 = The value in attribute 11.
         attribute12 = The value in attribute 12.
         attribute13 = The value in attribute 13.
         attribute14 = The value in attribute 14.
         attribute15 = The value in attribute 15.
         attribute16 = The value in attribute 16.
         attribute17 = The value in attribute 17.
         attribute18 = The value in attribute 18.
         attribute19 = The value in attribute 19.
         attribute20 = The value in attribute 20.
         attribute21 = The value in attribute 21.
         attribute22 = The value in attribute 22.
         attribute23 = The value in attribute 23.
         attribute24 = The value in attribute 24.
         attribute25 = The value in attribute 25.
         attribute26 = The value in attribute 26.
         attribute27 = The value in attribute 27.
         attribute28 = The value in attribute 28.
         attribute29 = The value in attribute 29.
         attribute30 = The value in attribute 30.
         attribute31 = The value in attribute 31.
         attribute32 = The value in attribute 32.
         attribute33 = The value in attribute 33.
         attribute34 = The value in attribute 34.
         attribute35 = The value in attribute 35.
         attribute36 = The value in attribute 36.
         attribute37 = The value in attribute 37.
         attribute38 = The value in attribute 38.
         attribute39 = The value in attribute 39.
         attribute40 = The value in attribute 40.

Example:

topic: "com.tibco.wcc.order.wccPrototype.wccWorkItems.listItemSelect"
message: schemaId = "com.tibco.wcc.schema.workItems"
         scope = "public"
         id = "52"
         version = "0"
         description = "Return Call"
         startDate = "2010-10-18 10:28:49"
         endDate = ""
         distributionStrategy = "OFFER"
         priority = "50"
         groupId = "0"
         activityId = "pvm:001ij"
         appId = "_uxr1YF6yEd-KqJmYNEw8ow"
         appInstance = "pvm:0a123"
         appName = "SalesCallbackProcess"
         scheduleStatus = "BEFORE"
         scheduleStatusLocalized = "Before"
         state = "OFFERED"
         stateLocalized = “Offered”
         workTypeId = ""
         workTypeUid = ""
         workTypeVersion = ""
         workTypeDescription = ""
         attribute1 = ""
         attribute2 = ""
         attribute3 = ""
         attribute4 = ""
         attribute5 = ""
         attribute6 = ""
         attribute7 = ""
         attribute8 = ""
         attribute9 = ""
         attribute10 = ""
         attribute11 = ""
         attribute12 = ""
         attribute13 = ""
         attribute14 = ""