English
flowTodo.bpmList.render.after
About 173 wordsLess than 1 minute
2026-04-17
Description: This event is triggered after the Business Flow to-do list is rendered.
This event is used to execute extension logic after the to-do list is rendered, including but not limited to: 1. Set approval comments as required for batch agree 2. Set approval comments as required for batch reject
Parameters
| Parameter | Description | Type |
|---|---|---|
| batchAgreeOpinionRequired | batch agreewhether comments are required(Example) | Boolean |
| batchRejectOpinionRequired | batch rejectwhether comments are required(Example) | Boolean |
Examples
1. batchAgreeOpinionRequired
Feature Description
Sets whether approval comments are required for batch agree.
Parameters
None
Return Value
None
Parameter Code Example
return Promise.resolve({
batchAgreeOpinionRequired: true,
});Code Example
export default class Plugin {
apply() {
return [
{
event: 'flowTodo.bpmList.render.after',
functional: this.renderAfter.bind(this),
},
];
}
renderAfter() {
return Promise.resolve({
batchAgreeOpinionRequired: true,
});
}
}2. batchRejectOpinionRequired
Feature Description
Sets whether approval comments are required for batch reject.
Parameters
None
Return Value
None
Parameter Code Example
return Promise.resolve({
batchRejectOpinionRequired: true,
});Code Example
export default class Plugin {
apply() {
return [
{
event: 'flowTodo.bpmList.render.after',
functional: this.renderAfter.bind(this),
},
];
}
renderAfter() {
return Promise.resolve({
batchRejectOpinionRequired: true,
});
}
}