Examples of how to autofill approvers

Article Number:040569

By autofilling a process management assignee (e.g., for an approver role), you can simplify the process for adding records and also prevent input errors.
This article shows two autofilling examples.

Example 1: Setting a reporting manager as an assignee

In this example, you will assign a user's reporting manager in a custom field of the user's profile so that the reporting manager will be automatically made the next process management assignee after the user takes an action.

Image of the created app:
Screenshot: An example of the screen that appears when you click the button for the "Apply" action on the "New record" screen or the record editing screen

To set a reporting manager as an assignee, follow the steps below.

Add a custom field for a reporting manager

To carry out the steps described below, you need to have permission to access the Users & system administration screen.

  1. Click the Settings icon (the gear-shaped icon) at the top of Kintone, then click Users & system administration.
    Screenshot: "Users & system administration" is highlighted

  2. Click Departments & users on the Users & system administration screen.
    Screenshot: "Departments & users" in "Users & system administration" is highlighted

  3. On the Departments & users screen, click Profile settings.
    Screenshot: "Profile settings" on the "Departments & users" screen is highlighted

  4. On the Profile settings screen, click Add in the Custom fields section.
    Screenshot: "Add" is highlighted in the "Custom fields" section on the "Profile settings" screen

  5. On the Add custom field screen, enter a field name.
    In this example, name the field "Reporting Manager". Select User selection for the field type.
    Screenshot: The "Add Custom Field" screen is displayed

  6. Click Save.

  7. On the Departments & users screen, click the icon to the left of the user whose manager you want to set.
    Screenshot: The icon for changing user information is highlighted on the "Departments & users" screen

  8. On the Change user information screen, specify a user in the custom field "Reporting Manager" at the bottom of the page.
    The custom field can contain only one user. To allow multiple reporting managers, you need to add a custom field for each reporting manager.
    Screenshot: On the "Change user information" screen, "Reporting Manager" is specified as the custom field name

  9. Click Change user information.

Add a reporting manager as an assignee

  1. Open the Kintone app where you want to add a reporting manager as an assignee, and then open the Process management screen.

  2. In the status where you want to add the reporting manager as an assignee, click the Select users from departments or groups icon under the Assignee list section. Screenshot: The "Select users from departments or groups" icon is highlighted on the"Process management" screen

  3. In the Select users dialog, click Others, and then choose the reporting manager.
    To make a request to multiple reporting managers, you must add multiple assignees when configuring the process management.
    Screenshot: "Others" and "Reporting Manager" are highlighted on the "Select users" dialog

  4. Click Add.

Example 2: Setting multiple approval routes

If there are multiple approver combinations possible depending on the department of the requester or the contents of the request, you can create an approval route in another app.
By using a lookup to get the approval route when a request is made, you can have the appropriate assignee set based on the department or request details, allowing process management to proceed smoothly.

Image of the created app:
Screenshot: An example of how a record is displayed with process management configured

To set multiple approval routes, follow the steps below.

Create an approval route app

  1. Create an app to add an approval route.
    Add the following fields to the form of the app:

    • Approval route name: Text field
    • Department: Department selection field
    • Approver: User selection field
    • Related departments: Department selection field
    • Final approver: User selection field
  2. Create a new record in the approval route app.
    Screenshot: The "View" screen of an approval route app

Retrieve the approval route

  1. Open the Kintone app where you want to add a reporting manager as an assignee.

  2. Place the following fields on the form.

    • Approval route name: Lookup field
    • Approver: User selection field
    • Related departments: Department selection field
    • Final approver: User selection field

    Screenshot: Adding necessary fields to a form in the app for process management

  3. In the settings dialog for the "Approval route name" field, configure the fields to retrieve the approval route name and assignees (Approver, Related departments, and Final approver).
    By including "Priority department" for "Related departments" in the initial filter setting, you can get the approval route for your department immediately.
    Screenshot: Lookup settings are highlighted on the "Lookup settings" dialog For information on Lookup fields, refer to the following page.
    "Lookup" fields

  4. Set the statuses on the Process management screen.
    The statuses should be as follows.

    • First status: Before applying
    • Next statuses:
      • Applying
      • Approved
      • Confirmed
      • Approval finalized
  5. Set up the first process in the workflow.
    The process settings should be as follows.

    • Assignee: User in "Created by" field
    • Action: Apply
    • Status after action taken: Applying
  6. Set up the next processes in the workflow.

    • Process for "Applying" status
      • Assignee: Approver
      • Action: Approve
      • Status after action taken: Approved
    • Process for "Approved" status
      • Assignee: Related departments
      • Action: Confirm
      • Status after action taken: Confirmed
    • Process for "Confirmed" status
      • Assignee: Final approver
      • Action: Finalize approval
      • Status after action taken: Approval finalized
  7. Make sure the flow diagram looks correct, then update the app. Your process management settings should look like the images below. Screenshot: An example of the "1. Enable this feature" and "2. Status settings" settings on the "Process management" screen Screenshot: Example of the "3. Process flow settings" settings on the "Process management" screen