RB_WF_EMAIL_VW(SQL View) |
Index Back |
---|---|
Undelivered Emails WorklistUndelivered Emails Worklist view |
SELECT A.OPRID , A.BUSPROCNAME , A.ACTIVITYNAME , A.EVENTNAME , A.WORKLISTNAME , A.INSTANCEID , A.INSTSTATUS , A.INSTAVAILABLEDTTM , A.INSTTIMEOUTDTTM , A.ORIGINATORID , B.UID20 , B.DTTM_STAMP , B.USERID , B.EMAIL_FROM , B.EMAIL_TO , B.EMAIL_SUBJECT254 , C.ERROR_MESSAGE , A.WL_PRIORITY , A.COMMENTSHORT , CASE WHEN A.INSTSTATUS = 2 THEN 'Y' ELSE 'N' END , A.SYNCID FROM PSWORKLIST A , %Table(RB_EMAIL_WL) B , %Table(RB_EMAIL_E) C WHERE A.BUSPROCNAME = B.BUSPROCNAME AND A.ACTIVITYNAME = B.ACTIVITYNAME AND A.EVENTNAME = B.EVENTNAME AND A.WORKLISTNAME = B.WORKLISTNAME AND A.INSTANCEID = B.INSTANCEID AND A.INSTSTATUS <= 2 AND C.UID20 = B.UID20 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | BUSPROCNAME | Character(30) | VARCHAR2(30) NOT NULL | Business Process Name (see PSBUSPROCDEFN). |
3 | ACTIVITYNAME | Character(30) | VARCHAR2(30) NOT NULL | Name of a Business Process Activity (see PSACTIVITYDEFN). |
4 | EVENTNAME | Character(30) | VARCHAR2(30) NOT NULL | Defines a routing event for PS Workflow |
5 | WORKLISTNAME | Character(30) | VARCHAR2(30) NOT NULL | Worklist Name |
6 | INSTANCEID | Number(10,0) | DECIMAL(10) NOT NULL | For a given worklist the unique number of rows in PSWORKLIST |
7 | INSTSTATUS | Number(5,0) | INTEGER NOT NULL |
Determines worklist status, available, selected, worked, cancelled
0=Selected 1=Open 2=Worked 3=Cancelled |
8 | INSTAVAILABLEDTTM | DateTime(26) | TIMESTAMP | Datetime worklist instance was made available |
9 | INSTTIMEOUTDTTM | DateTime(26) | TIMESTAMP | Datetime that a worklist times out |
10 | ORIGINATORID | Character(30) | VARCHAR2(30) NOT NULL | Originator Identifier |
11 | UID20 | Character(20) | VARCHAR2(20) NOT NULL | This field is for UID of 20 characters long. |
12 | SUBMIT_DTTM | DateTime(26) | TIMESTAMP | Submitted Datetime |
13 | SUBMIT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Submitted By OPRID......................................... |
14 | EMAIL_FROM | Character(254) | VARCHAR2(254) NOT NULL | Email From |
15 | EMAIL_TO | Character(254) | VARCHAR2(254) NOT NULL | EMAIL_TO |
16 | SUBJECT | Character(254) | VARCHAR2(254) NOT NULL | Subject |
17 | ERROR_MESSAGE | Character(254) | VARCHAR2(254) NOT NULL | For Standard Journal (SJE) |
18 | WL_PRIORITY | Character(1) | VARCHAR2(1) NOT NULL |
Priority
1=1-High 2=2-Medium 3=3-Low |
19 | COMMENTSHORT | Character(30) | VARCHAR2(30) NOT NULL | Short Comment |
20 | SHOW_COMPLETED | Character(1) | VARCHAR2(1) NOT NULL |
This field is used to determine whether the worklist should be filtered to show only completed worklist entries.
Y/N Table Edit Default Value: N |
21 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |