User Manual

08.14.2024

MANUAL

FAQ: Importing the example site package for the Approval Request Workflow

## Description This page introduces the procedure for importing the site package for the workflow function, which is explained in detail in the FAQ below, and actually trying it out. [FAQ: Implementing workflows (approval processes) such as approval requests using server scripts](faq-server-script-workflow) You can check the table configuration and server script settings on Pleasanter by downloading the site package and other data from the link below and importing it. *In Pleasanter.net and the demo environment, even if you import the site package, you cannot try it out because the user ID and other settings are different. You can check the table configuration and server script settings. You can download the following data used in the explanation on this page. ・Site package ・CSV for importing users [*Click here to download the entire data set](https://pleasanter.org/downloads/workflow_example.zip) ## User Department Structure Chart | Login ID | Name | Department | Executive | Senior Executive | Executive Employee | Applicant | | --- | --- | --- | :-: | :-: | :-: | :-: | | Test1_User1 | Owada Asahi | Executive |○||| | Test1_User10 | Yamamoto Yoko | Development Dept. 1 ||○||| | Test1_User11 | Nakamura Takashi | Development Dept. 1 |||○|| | Test1_User12 | Yoshida Yu | Development Dept. 1 ||||○| | Test1_User20 | Ito Daisuke | Development Dept. 2 ||○||| | Test1_User21 | Sasaki Haruka | Development Dept. 2 |||○|| | Test1_User22 | Murakami Kana | Development Dept. 2 ||||○| ## Step 1: Import Site Packages Import the downloaded example of approval management (workflow example).json. To import a site package, you need administrator privileges. [Site Function: Export/Import Site Package](/manual/site-package-export) ## Step 2: Create A Department Open department management and create a department as follows. The script will use the following department ID to obtain the executives, so if the department ID is different from the following, you will need to modify the script. The applicant's department will be obtained from the login information, so the department IDs for Development Division 1 and Development Division 2 below can be different. | Department ID | Department name | | --- | --- | | 2 | Executives | | 3 | Development Division 1 | | 4 | Development Division 2 | ## Step 3: Import Users Open User Management and import the downloaded User List Import.csv file. Please confirm that the users are registered as follows. | Department name | Members | | --- | --- | | Executives | Owada Asahi | | Development Division 1 | Yamamoto Yoko | | Development Division 1 | Nakamura Takashi | | Development Division 1 | Yoshida Yui | | Development Division 2 | Ito Daisuke | | Development Division 2 | Sasaki Haruka | | Development Division 2 | Murakami Kana | The login password for all of the above users is pleasanter, so please check whether you can log in with each user. This time, we will explain the scenario in which Yoshida Yui, a user of Development Division 1, applies for approval. If the folder called "Approval Document Management Examples" does not appear even if you log in as Yoshida Yui, log in as the user who imported the site package and check the access permissions for the site. [Site Access Control](/manual/table-management-site-access-control) ## Step 4: Create A Group and Register Members Open Group Management and create the two groups shown below. The script will use the following group IDs to set the approval route, so if your group IDs are different, you will need to modify the script. After creating the groups, add members to each group as follows. | Group ID | Group name | Members | | --- | --- | --- | | 3 | Executive | Nakamura Takashi | | 3 | Executive | Sasaki Haruka | | 4 | Senior executive | Yamamoto Yoko | | 4 | Senior executive | Ito Daisuke | ## Procedure for Submitting An Approval Request Log in as Yoshida Yui (Test1_User12) and open the example table for approval request management created by importing the site package. Click Create, and enter "Purchase of a computer" as the title and 150,000 JPY as the amount as an example, and click the Create button at the bottom of the window. When the record is created, the "Apply" button and the "For executives" field will be displayed below the "Initiator" input field. In this example, the amount of the request is less than 200,000 JPY, so Nakamura Takashi, a senior employee of the department, will be the approver. ![image](https://pleasanter.org/binaries/eda262a7735a4a1a92b6295cb68f0aab) By clicking the Request button, a notification email is sent to the approver stating "The above approval request has been received," and the current location is updated to the approver, Nakamura Takashi. If the amount of the request is 1,000,000 JPY or more, the approval route is automatically set as follows: senior employee, senior executive, and officer. ![image](https://pleasanter.org/binaries/89611fa2f83746d9a07ec61a9b896d79) If you log in as Nakamura Takashi (Test1_User11), a senior employee who is the first approver of the approval route, and open the above record, the Reject and Executive Approval buttons will be displayed in the Executive Use column. *This sample does not implement rejection processing. ![image](https://pleasanter.org/binaries/73f150bc86f84736b2315b0514ca10cf) As senior employee Nakamura Takashi approves, the approval route is updated to show the second approver, senior executive Yamamoto Yoko, as the current position. ![image](https://pleasanter.org/binaries/c00bd9eb3017446790a117bc2ce3da82) The steps to the decision maker will proceed through the approval route set up in this way. ![image](https://pleasanter.org/binaries/42b57015a664486ca76ac20a5705f6ea) ![image](https://pleasanter.org/binaries/857f48ac051842e1bdc95221f0257135) In this example, the application is registered as completed when the decision-maker, Owada Akira, approves it, and the record is updated to read-only. The screen displays "read-only," and the current location is returned to the applicant, Yoshida Yui. ![image](https://pleasanter.org/binaries/38487e99e5fe4a88bbd352ac94f1f7c1) ## Related Information ・[FAQ: Implementing workflows (approval processes) such as request submissions](/manual/faq-server-script-workflow) ・[Execution timing for each object](/manual/server-script-conditions)
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.