The demo site starts with user accounts and the standard case types, but no Phase 2 setup. Part 1 builds the setup as the administrator: a case type with custom fields, department heads and approval templates. Part 2 raises and approves cases with the test accounts. Part 3 covers the remaining features. Follow the parts in order. 示範網站目前只有使用者帳號和原本的案件類型,還沒有第二期的設定。第 1 部分由管理員建立設定:案件類型與自訂欄位、部門主管、審批範本;第 2 部分用測試帳號建立和審批案件;第 3 部分測其他功能。請按順序進行。
alice@orix.local, not just alice. A short name is treated as a company directory login, which the demo site does not have. If the site has been idle, the first page can take up to a minute to load.
請輸入 alice@orix.local,不要只打 alice。只打名稱會被當成公司 AD 帳號登入,示範網站沒有接 AD。網站一段時間沒人使用時,第一次開啟可能要等約一分鐘。The roles below are what each account plays after you finish Part 1.下表是完成第 1 部分設定後,各帳號在測試中的角色。
| Login帳號 | Department部門 | Role in this guide在本指南中的角色 |
|---|---|---|
| admin@orix.local | OAL_TI | System admin (does all of Part 1) · Head of OAL_FAD系統管理員(負責第 1 部分)· 財務會計部主管 |
| alice@orix.local | OAL_TI | Initiator (raises cases)發起人(建立案件) |
| bob@orix.local | OAL_TI | Approver in the “any one” template · team member「任一人」範本的審批人 · 團隊成員 |
| carol@orix.local | OAL_HRA | Head of OAL_TI · her own department has no head科技創新部(OAL_TI)主管 · 她自己的部門沒有主管 |
| dave@orix.local | OAL_TR | Fixed approver in the IT template · initiator for the “any one” test · team managerIT 範本的指定審批人 ·「任一人」測試的發起人 · 團隊經理 |
| erin@orix.local | OAL_FAD | Extra approver for large amounts · reviewer in the “any one” template · initiator for the default template test大額案件的追加審批人 ·「任一人」範本的審閱人 · 預設範本測試的發起人 |
Log in as登入帳號 admin@orix.local
社交費用, Name (English) Social Expense. The key is generated from the English name and cannot be changed later.名稱(中文)填 社交費用,名稱(English)填 Social Expense。系統會用英文名稱產生代碼,建立後不能修改。| Label (中文 / English)名稱(中文/English) | Type類型 | Required必填 | Options (中文 / English)選項(中文/English) |
|---|---|---|---|
| 費用類別 / Expense Category | Dropdown下拉選單 | Yes是 | 餐飲 / Meals · 禮品 / Gifts · 娛樂 / Entertainment |
| 人數 / Number of Guests | Number數字 | Yes是 | — |
Expected: the list shows Social Expense as Active with 2 custom fields.預期:列表顯示「社交費用」為啟用,有 2 個自訂欄位。
Sidebar → Approval Templates → + New template, once for each table below. Each case type can have one active default template and one active template per department.側邊欄 →「審批範本」→「+ 新增範本」,依下面三個表格各建一個。每個案件類型可以有一個啟用中的預設範本,以及每個部門各一個啟用中的範本。
Settings the three templates share: Case type Social Expense, Workflow type Review + approval, Initiator can change approvers Locked, When the department has no head Block and ask to contact the administrator, Status Active.三個範本共同的設定:案件類型選「社交費用」,流程類型選「審閱 + 審批」,發起人能否修改審批人選「鎖住」,部門沒有主管時選「擋下,請聯絡管理員」,狀態為「啟用」。
| Name (中文 / English)名稱(中文/English) | 社交費用 - 預設 / Social Expense - Default |
|---|---|
| Department部門 | All (default)全部(預設) |
| Review stage審閱階段 | Dynamic: initiator’s department head動態:發起人的部門主管 |
| Approval stage 1審批第 1 階段 | Dynamic: initiator’s department head動態:發起人的部門主管 |
| Name (中文 / English)名稱(中文/English) | 社交費用 - IT / Social Expense - IT |
|---|---|
| Department部門 | OAL_TI |
| Review stage審閱階段 | Dynamic: initiator’s department head動態:發起人的部門主管 |
| Approval stage 1審批第 1 階段 | Dynamic: initiator’s department head動態:發起人的部門主管 |
| Approval stage 2審批第 2 階段 | Specific people: Dave Ho指定的人:Dave Ho |
| Conditional rule條件規則 | If Amount greater than 50000, add an approval stage: Specific people: Erin Lam如果「金額」大於 50000,就加一個審批階段:指定的人 Erin Lam |
| Name (中文 / English)名稱(中文/English) | 社交費用 - 庫務 / Social Expense - Treasury |
|---|---|
| Department部門 | OAL_TR |
| Review stage審閱階段 | Specific people: Erin Lam指定的人:Erin Lam |
| Approval stage 1審批第 1 階段 | Specific people: Bob Wong and Carol Lee · Any one approves指定的人:Bob Wong、Carol Lee ·「任何一人批即可」 |
Expected: filtering the list by Social Expense shows three active templates.預期:用「社交費用」篩選,列表顯示三個啟用中的範本。
Only needed to test the My Team list in Part 3. The team manager list shows users who hold a role named exactly manager, and My Team appears for users whose role has the permission read on TeamCase.只有要測第 3 部分的「我的團隊」才需要。團隊經理只能從擁有名為 manager 角色的使用者中選;擁有 TeamCase 的 read 權限的角色,才會看到「我的團隊」。
TeamCase, Action read.「RBAC 管理」→ 新增權限:資源 TeamCase,動作 read。manager, scope User. Give it the read TeamCase permission.新增角色:名稱 manager,範圍選使用者(User);把 read TeamCase 權限加給它。manager.「使用者管理」→ Dave Ho → 角色(盾牌圖示)→ 加上 manager。Log in as登入帳號 alice@orix.local
Log in as登入帳號 carol@orix.local (OAL_HRA has no head and no department template)(OAL_HRA 沒有主管,也沒有部門範本)
Start a Social Expense case.新建「社交費用」案件。 Expected: the Default template applies and shows “Your department has no department head configured”; the case cannot be submitted.預期:套用預設範本,顯示「你的部門尚未設定部門主管」,無法送出。
Log in as登入帳號 erin@orix.local (OAL_FAD has no department template)(OAL_FAD 沒有部門專用範本)
Start a Social Expense case.新建「社交費用」案件。 Expected: “Social Expense - Default” applies, with System Admin (head of OAL_FAD) as reviewer and approver.預期:套用「社交費用 - 預設」,審閱人和審批人都是 System Admin(OAL_FAD 主管)。
Log in as登入帳號 dave@orix.local (OAL_TR uses the Treasury template)(OAL_TR 套用庫務部範本)
After submitting, the initiator opens the case and clicks Edit.送出後,發起人打開案件按「編輯」。 Expected: only CC can be changed; reviewers and approvers are fixed by the template.預期:只能修改副本收件人,審閱人和審批人由範本決定。
To see the opposite, edit the Default template, set “Initiator can change approvers” to Can change, and start a case as Erin: the reviewer and approvers can then be edited.想看相反情況:把預設範本的「發起人能否修改審批人」改成「可以修改」,再以 erin 建案,就能修改審閱人和審批人。
| # | Feature功能 | How to test測試方法 |
|---|---|---|
| #1 | End review結束審閱 | As Alice, raise a case with two reviewers (for example a Memo with Bob and Carol). After one reviews, Alice opens the case → End review → enters a reason. The other reviewer shows “Not reviewed”. Nothing completes automatically on the target date.以 alice 建一個有兩位審閱人的案件(例如「備忘錄」,審閱人 bob、carol)。一人審閱後,alice 打開案件 →「結束審閱」→ 填原因;另一人顯示「未審閱」。到了目標日期也不會自動完成。 |
| #3 | Attachment preview附件預覽 | Open the case from 2.1 and click each attachment. PDF, Word (.docx), Excel, PowerPoint (.pptx), images and text files open in a window without downloading.打開 2.1 的案件,逐一點附件。PDF、Word(.docx)、Excel、PowerPoint(.pptx)、圖片及文字檔都直接在視窗中預覽,不用下載。 |
| #5 | Email reminderEmail 提醒 | As the initiator of a case in review or approval → Remind → tick the pending people → tick Email → Send.發起人打開審閱中或審批中的案件 →「提醒」→ 勾選待處理的人 → 勾「Email」→ 送出。 |
| #6 | Search and export搜尋與匯出 | Inbox → Advanced Filters (initiator, approver, reviewer) → change page: the filter still applies → Export Excel. Open a case and press Back: the filters are kept.收件箱 →「進階篩選」(發起人、審批人、審閱人)→ 換頁後篩選仍有效 →「匯出 Excel」。打開案件再按「返回」,篩選仍在。 |
| #6 | My Team我的團隊 | Needs step 1.4. Log in as Dave → My Team: Alice’s and Bob’s cases are listed; filter by several priorities and departments.需先完成 1.4。以 dave 登入 →「我的團隊」:列出 alice、bob 的案件;可多選優先級和部門篩選。 |
| #7 | Draft history hidden隱藏草稿紀錄 | Create a draft, edit it a few times, then submit. The audit trail and the PDF start at “Case submitted”.建草稿並修改幾次後送出;稽核紀錄及 PDF 從「案件已送出」開始。 |
| #8 | Download Case on the case from 2.1: the PDF keeps the content formatting and lists the case type and custom fields (in English).在 2.1 的案件按「下載案件」:PDF 保留內容格式,並列出案件類型和自訂欄位(英文)。 |