Skip to content

Conversation

@chihiro-adachi
Copy link
Contributor

Why

kintone REST API のプロセス管理設定において、アクションには typeexecutableUser パラメータが存在しますが、Java Clientでは未対応でした。これらのパラメータをサポートすることで、作業者以外も実行可能なアクション(SECONDARY type)の設定が可能になります。

ref: https://cybozu.dev/ja/kintone/docs/rest-api/apps/settings/get-process-management-settings/
ref: https://cybozu.dev/ja/kintone/docs/rest-api/apps/settings/update-process-management-settings/

What

  • ProcessActionType enum を新規作成(PRIMARY / SECONDARY)
  • ProcessExecutableUser クラスを新規作成(SECONDARY typeのアクションで実行可能なユーザーを指定)
  • ProcessAction クラスに type と executableUser フィールドを追加

How to test

既存のテストが全て成功することを確認済み。

Checklist

  • Read CONTRIBUTING.md at the repository.
  • Updated documentation if it is required.
  • Added/updated tests if it is required. (or tested manually)

Add support for action type (PRIMARY/SECONDARY) and executable user
settings in process management API.
Copilot AI review requested due to automatic review settings December 11, 2025 02:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for the type and executableUser parameters to the Process Management Settings API in the kintone Java client. These parameters were previously missing from the Java client implementation but are documented in the kintone REST API. The addition enables configuration of SECONDARY type actions that can be executed by users other than the assigned workers.

Key changes:

  • Created ProcessActionType enum to represent PRIMARY and SECONDARY action types
  • Created ProcessExecutableUser class to specify users who can execute SECONDARY type actions
  • Extended ProcessAction class with type and executableUser fields

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/main/java/com/kintone/client/model/app/ProcessActionType.java New enum defining PRIMARY and SECONDARY action types
src/main/java/com/kintone/client/model/app/ProcessExecutableUser.java New class holding list of entities that can execute SECONDARY actions
src/main/java/com/kintone/client/model/app/ProcessAction.java Added type and executableUser fields to support new API parameters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chihiro-adachi chihiro-adachi merged commit 33706b5 into master Dec 11, 2025
2 checks passed
@chihiro-adachi chihiro-adachi deleted the feat/process-management branch December 11, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants