Process Instance List Event Payload

This topic describes the event payload for the process instance list.

Data in the PageBus event:

topic: "listItemSelect"
message: schemaId = "com.tibco.wcc.schema.processViews"
         schemaVersion = "2"
         items = [
                   {
                     "name": Name of the process instance list.
                     "templates": Process templates whose instances are shown in
                              the process instance list.
                     "description": Description of the process instance list.
                     "baseFilter": Filter always imposed on the list; this filter 
                              is not visible to the user.
                     "pageSize": Number of process instances to display per page.
                     "sort": Sort order specified for process instance list.
                     "columns": Columns to display in process instance list.
                     "refinementFilter": Filter imposed on the list that the user
                               can see in the Filter dialog.
                     "userAccess": Specifies access to functions on the list.
                     "options": Specifies process instance list options to impose 
                               on the list.
                   }
                 ]

Example:

topic: "listItemSelect"
message: schemaId = "com.tibco.wcc.schema.processviews"
         schemaVersion = "2"
         items = [
                   {
                     "name": "Sales",
                     "templates": "<templates><template process=
                             \"SalesCallbackProcess\" module=\"*\" version=
                             \"*\"/><template process=\"SalesSurveyProcess\"
                             module=\"*\" version=\"*\"/></templates>",
                     "description": "Sales processes",
                     "baseFilter": "INSTANCE.PRIORITY = 200",
                     "pageSize": "25",
                     "sort": "<sort authority=\"FORCE\"><attribute name=
                             \"INSTANCE.START_DATE\" ascending=\"true\"/></sort>",
                     "columns": "<columns authority=\"FORCE\"><column name=
                             \"StatusImage\"/><column name=\"INSTANCE.ID\"/><column 
                             name=\"INSTANCE.NAME\"/><column name=
                             \"INSTANCE.STATUS\"/><column name=
                             \"INSTANCE.START_DATE\"/><column name=
                             \"INSTANCE.PRIORITY\"/><column name=
                             \"INSTANCE.WAITING_WORK_COUNT\"/></columns>",
                     "refinementFilter": "<filterCdf authority=\"FORCE\"><data
                             jsxid=\"jsxroot\"><record jsxid=\"jsx_1296510460021\"
                             jsximg=\"\" allowDrop=\"insertBefore\" allowDrag=
                             \"yes\" Type=\"COL_STATE\" apType=\"string\" jsxtype=
                             \"State\" jsxtext=\"Instance Status  =  Active\" 
                             Label=\"Instance Status\" Operator=\"Equal\" 
                             Value=\"Active\" field=\"INSTANCE.STATUS\" source=
                             \"System\" jsxselected=\"1\" ExpressionValue=
                             \"'ACTIVE'\"/></data></filterCdf>",
                     "userAccess": "<access><access name=\"Cancel\"/>
                             <access name=\"Resume\"/>
                             <access name=\"Suspend\"/>
                             <access name=\"ResumeHalted\"/>
                             <access name=\"Retry\"/>
                             <access name=\"Ignore\"/>
                             <access name=\"AllocateToSelf\"/>
                             <access name=\"Filter\"/>
                             <access name=\"Sort\"/>
                             <access name=\"EventViewer\"/>
                             <access name=\"ShowOutstanding\"/>
                             <access name=\"ShowOutstandingAdmin\"/>
                             <access name=\"SelectColumns\"/>
                             <access name=\"ShowCustomAttributes\"/>
                             </access>",
                     "options": "<options><option name=\"showMillis\" value=
                         \"true\"/></options>"
                   }
                 ]