# Oracle Workflow Process Definition Test bug # $Header$ VERSION_MAJOR = "2" VERSION_MINOR = "6" LANGUAGE = "ZHT" ACCESS_LEVEL = "100" DEFINE ITEM_TYPE KEY NAME VARCHAR2(8) TRANS DISPLAY_NAME VARCHAR2(80) TRANS DESCRIPTION VARCHAR2(240) BASE PROTECT_LEVEL NUMBER BASE CUSTOM_LEVEL NUMBER BASE WF_SELECTOR VARCHAR2(240) BASE READ_ROLE REFERENCES ROLE BASE WRITE_ROLE REFERENCES ROLE BASE EXECUTE_ROLE REFERENCES ROLE BASE PERSISTENCE_TYPE VARCHAR2(8) BASE PERSISTENCE_DAYS NUMBER DEFINE ITEM_ATTRIBUTE KEY NAME VARCHAR2(30) TRANS DISPLAY_NAME VARCHAR2(80) TRANS DESCRIPTION VARCHAR2(240) BASE PROTECT_LEVEL NUMBER BASE CUSTOM_LEVEL NUMBER BASE TYPE VARCHAR2(8) BASE FORMAT VARCHAR2(240) BASE VALUE_TYPE VARCHAR2(8) BASE DEFAULT VARCHAR2(4000) END ITEM_ATTRIBUTE END ITEM_TYPE DEFINE LOOKUP_TYPE KEY NAME VARCHAR2(30) TRANS DISPLAY_NAME VARCHAR2(80) TRANS DESCRIPTION VARCHAR2(240) BASE PROTECT_LEVEL NUMBER BASE CUSTOM_LEVEL NUMBER BASE ITEM_TYPE REFERENCES ITEM_TYPE DEFINE LOOKUP_CODE KEY NAME VARCHAR2(30) TRANS MEANING VARCHAR2(80) TRANS DESCRIPTION VARCHAR2(240) END LOOKUP_CODE END LOOKUP_TYPE DEFINE MESSAGE KEY ITEM_TYPE REFERENCES ITEM_TYPE KEY NAME VARCHAR2(30) TRANS DISPLAY_NAME VARCHAR2(80) TRANS DESCRIPTION VARCHAR2(240) BASE PROTECT_LEVEL NUMBER BASE CUSTOM_LEVEL NUMBER TRANS SUBJECT VARCHAR2(240) TRANS BODY VARCHAR2(4000) TRANS HTML_BODY VARCHAR2(4000) BASE DEFAULT_PRIORITY NUMBER BASE READ_ROLE REFERENCES ROLE BASE WRITE_ROLE REFERENCES ROLE DEFINE MESSAGE_ATTRIBUTE KEY NAME VARCHAR2(30) TRANS DISPLAY_NAME VARCHAR2(80) TRANS DESCRIPTION VARCHAR2(240) BASE TYPE VARCHAR2(8) BASE SUBTYPE VARCHAR2(8) BASE FORMAT VARCHAR2(240) BASE VALUE_TYPE VARCHAR2(8) BASE DEFAULT VARCHAR2(4000) BASE ATTACH VARCHAR2(1) END MESSAGE_ATTRIBUTE END MESSAGE DEFINE ACTIVITY KEY ITEM_TYPE REFERENCES ITEM_TYPE KEY NAME VARCHAR2(30) TRANS DISPLAY_NAME VARCHAR2(80) TRANS DESCRIPTION VARCHAR2(240) BASE PROTECT_LEVEL NUMBER BASE CUSTOM_LEVEL NUMBER BASE TYPE VARCHAR2(8) BASE FUNCTION VARCHAR2(240) BASE FUNCTION_TYPE VARCHAR2(30) BASE RESULT_TYPE VARCHAR2(30) BASE RERUN VARCHAR2(8) BASE COST NUMBER BASE READ_ROLE REFERENCES ROLE BASE WRITE_ROLE REFERENCES ROLE BASE EXECUTE_ROLE REFERENCES ROLE BASE ICON_NAME VARCHAR2(30) BASE MESSAGE VARCHAR2(30) BASE ERROR_PROCESS VARCHAR2(30) BASE ERROR_ITEM_TYPE VARCHAR2(8) BASE EXPAND_ROLE VARCHAR2(1) BASE RUNNABLE VARCHAR2(1) BASE EVENT_FILTER VARCHAR2(240) BASE EVENT_TYPE VARCHAR2(30) DEFINE ACTIVITY_ATTRIBUTE KEY NAME VARCHAR2(30) TRANS DISPLAY_NAME VARCHAR2(80) TRANS DESCRIPTION VARCHAR2(240) BASE TYPE VARCHAR2(8) BASE FORMAT VARCHAR2(240) BASE VALUE_TYPE VARCHAR2(8) BASE DEFAULT VARCHAR2(4000) END ACTIVITY_ATTRIBUTE DEFINE PROCESS_ACTIVITY KEY LABEL VARCHAR2(30) BASE ACTIVITY_ITEM_TYPE REFERENCES ITEM_TYPE BASE ACTIVITY_NAME VARCHAR2(30) BASE START_END VARCHAR2(8) BASE DEFAULT_RESULT VARCHAR2(30) BASE ICON_GEOMETRY VARCHAR2(2000) BASE VALUE_TYPE VARCHAR2(8) BASE PERFORM_ROLE REFERENCES ROLE BASE USER_COMMENT VARCHAR2(4000) DEFINE ACTIVITY_ATTRIBUTE_VALUE KEY NAME VARCHAR2(30) BASE VALUE_TYPE VARCHAR2(8) BASE VALUE VARCHAR2(4000) END ACTIVITY_ATTRIBUTE_VALUE DEFINE ACTIVITY_TRANSITION KEY FROM REFERENCES PROCESS_ACTIVITY KEY TO REFERENCES PROCESS_ACTIVITY BASE ARROW_GEOMETRY VARCHAR2(2000) END ACTIVITY_TRANSITION END PROCESS_ACTIVITY END ACTIVITY DEFINE ROLE KEY NAME VARCHAR2(30) BASE DISPLAY_NAME VARCHAR2(80) BASE DESCRIPTION VARCHAR2(240) BASE NOTIFICATION_PREFERENCE VARCHAR2(8) BASE LANGUAGE VARCHAR2(30) BASE TERRITORY VARCHAR2(30) BASE EMAIL_ADDRESS VARCHAR2(240) BASE FAX VARCHAR2(240) BASE STATUS VARCHAR2(8) BASE EXPIRATION_DATE DATE END ROLE BEGIN ITEM_TYPE "RWSTD" PROTECT_LEVEL = "100" CUSTOM_LEVEL = "100" DISPLAY_NAME = "Oracle9i Reports" PERSISTENCE_TYPE = "TEMP" PERSISTENCE_DAYS = "0" BEGIN ITEM_ATTRIBUTE "SRW_JOB_ID" PROTECT_LEVEL = "100" CUSTOM_LEVEL = "100" DISPLAY_NAME = "Reports 工作 ID" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" END ITEM_ATTRIBUTE BEGIN ITEM_ATTRIBUTE "SRW_SERVER_NAME" PROTECT_LEVEL = "100" CUSTOM_LEVEL = "100" DISPLAY_NAME = "報表伺服器名稱" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" DEFAULT = "rep_slin-pc2" END ITEM_ATTRIBUTE BEGIN ITEM_ATTRIBUTE "SRW_GATEWAY_URL" PROTECT_LEVEL = "100" CUSTOM_LEVEL = "100" DISPLAY_NAME = "報表伺服器閘道 URL" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" DEFAULT = "http://host.example.com:8888/reports/rwservlet" END ITEM_ATTRIBUTE BEGIN ITEM_ATTRIBUTE "MESSAGE_DOCUMENT" PROTECT_LEVEL = "100" CUSTOM_LEVEL = "100" DISPLAY_NAME = "通知訊息文件" TYPE = "URL" FORMAT = "_blank" VALUE_TYPE = "CONSTANT" END ITEM_ATTRIBUTE BEGIN ITEM_ATTRIBUTE "SRW_OUTPUT_URL" PROTECT_LEVEL = "100" CUSTOM_LEVEL = "100" DISPLAY_NAME = "文件輸出 URL" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" END ITEM_ATTRIBUTE END ITEM_TYPE BEGIN LOOKUP_TYPE "SRW_STATUS" PROTECT_LEVEL = "100" CUSTOM_LEVEL = "100" DISPLAY_NAME = "Reports - 狀態" ITEM_TYPE = "RWSTD" BEGIN LOOKUP_CODE "FAILED" MEANING = "失敗" END LOOKUP_CODE BEGIN LOOKUP_CODE "QUEUED" MEANING = "排入佇列" END LOOKUP_CODE BEGIN LOOKUP_CODE "RUNNING" MEANING = "執行中" END LOOKUP_CODE BEGIN LOOKUP_CODE "SCHEDULED" MEANING = "已排定" END LOOKUP_CODE BEGIN LOOKUP_CODE "SUCCESS" MEANING = "成功" END LOOKUP_CODE END LOOKUP_TYPE BEGIN ACTIVITY "RWSTD" "SRW_REPORTSTATUS" PROTECT_LEVEL = "100" CUSTOM_LEVEL = "100" DISPLAY_NAME = "報表狀態" DESCRIPTION = "取得報表的狀態" TYPE = "FUNCTION" FUNCTION = "SRW_WORKFLOW.getstatus" RESULT_TYPE = "SRW_STATUS" RERUN = "RESET" COST = "0" ICON_NAME = "RWBLD.ICO" ERROR_ITEM_TYPE = "WFERROR" RUNNABLE = "Y" BEGIN ACTIVITY_ATTRIBUTE "SERVER" DISPLAY_NAME = "伺服器" DESCRIPTION = "報表伺服器名稱" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" END ACTIVITY_ATTRIBUTE BEGIN ACTIVITY_ATTRIBUTE "GATEWAY" DISPLAY_NAME = "閘道" DESCRIPTION = "Servlet 的閘道 URL" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" END ACTIVITY_ATTRIBUTE BEGIN ACTIVITY_ATTRIBUTE "SRWWF_JOBID_TARGET" DISPLAY_NAME = "JobID 目標" DESCRIPTION = "保存此「工作」之 jobID 的「項目屬性」的名稱" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" DEFAULT = "SRW_JOB_ID" END ACTIVITY_ATTRIBUTE END ACTIVITY BEGIN ACTIVITY "RWSTD" "SRW_RUNREPORT" PROTECT_LEVEL = "100" CUSTOM_LEVEL = "100" DISPLAY_NAME = "執行報表" DESCRIPTION = "執行「報表伺服器」的報表" TYPE = "FUNCTION" FUNCTION = "SRW_WORKFLOW.RUNREPORT" RESULT_TYPE = "SRW_STATUS" RERUN = "RESET" COST = "0" ICON_NAME = "RWBLD.ICO" ERROR_ITEM_TYPE = "WFERROR" RUNNABLE = "Y" BEGIN ACTIVITY_ATTRIBUTE "SERVER" DISPLAY_NAME = "伺服器" DESCRIPTION = "報表伺服器名稱" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" END ACTIVITY_ATTRIBUTE BEGIN ACTIVITY_ATTRIBUTE "USERID" DISPLAY_NAME = "UserID" DESCRIPTION = "資料庫登入資訊" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" END ACTIVITY_ATTRIBUTE BEGIN ACTIVITY_ATTRIBUTE "GATEWAY" DISPLAY_NAME = "閘道" DESCRIPTION = "Servlet 的閘道 URL" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" END ACTIVITY_ATTRIBUTE BEGIN ACTIVITY_ATTRIBUTE "REPORT" DISPLAY_NAME = "報表" DESCRIPTION = "報表名稱" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" END ACTIVITY_ATTRIBUTE BEGIN ACTIVITY_ATTRIBUTE "SRWWF_JOBID_TARGET" DISPLAY_NAME = "報表 jobID 目標" DESCRIPTION = "保存此「工作」之 jobID 的項目屬性的名稱" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" DEFAULT = "SRW_JOB_ID" END ACTIVITY_ATTRIBUTE BEGIN ACTIVITY_ATTRIBUTE "SRWWF_OUTPUT_URL_TARGET" DISPLAY_NAME = "報表輸出 URL 目標" DESCRIPTION = "保存此工作之報表輸出 URL 的項目屬性的名稱" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" DEFAULT = "SRW_OUTPUT_URL" END ACTIVITY_ATTRIBUTE BEGIN ACTIVITY_ATTRIBUTE "BACKGROUND" DISPLAY_NAME = "背景" TYPE = "VARCHAR2" VALUE_TYPE = "CONSTANT" DEFAULT = "yes" END ACTIVITY_ATTRIBUTE END ACTIVITY