-
Notifications
You must be signed in to change notification settings - Fork 0
Workflow: カスタム処理内でワークフロー変数を参照可能にする(ドキュメント修正) #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 updates the workflow documentation to add information about the UserTaskVariableNotification interface, which allows custom processing to access workflow variables. The documentation is written in Japanese and follows the existing documentation structure.
Changes:
- Added reference to
UserTaskVariableNotificationinterface in the property table fornotificationClassName - Added detailed explanation and code example for implementing
UserTaskVariableNotification
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| // ワークフロー変数【item】に格納されているワークフロー対象Entityデータを取得する | ||
| GenericEntity item = (GenericEntity) variables.get("item"); | ||
| if (item == null) { | ||
| return; | ||
| } | ||
|
|
||
| System.out.println("entity data:" + item.toString()); |
Copilot
AI
Jan 29, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation in this code block is inconsistent. Lines 1113, 1115, 1117, and 1119 use spaces for indentation, while the rest of the code (and the existing example above) uses tabs. For consistency with the existing code example, all lines should use tabs for indentation.
| // ワークフロー変数【item】に格納されているワークフロー対象Entityデータを取得する | |
| GenericEntity item = (GenericEntity) variables.get("item"); | |
| if (item == null) { | |
| return; | |
| } | |
| System.out.println("entity data:" + item.toString()); | |
| // ワークフロー変数【item】に格納されているワークフロー対象Entityデータを取得する | |
| GenericEntity item = (GenericEntity) variables.get("item"); | |
| if (item == null) { | |
| return; | |
| } | |
| System.out.println("entity data:" + item.toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
修正しました。
下記に関するドキュメント修正