English
flow.remind.list.batch.option.click.before
About 143 wordsLess than 1 minute
2025-09-22
Description: this hook is used before clicking a batch operation button on the approval to-do list page, and can be used to customize popup text.
1. forceShowEditForm
Function Description
Customize the popup text shown when clicking a batch operation button.
Parameters
| Parameter | Description | Type |
|---|---|---|
| item | Currently clicked batch popup item | Object |
Return Value
| Parameter | Description | Type |
|---|---|---|
| isIntercept | Whether to intercept the operation | Boolean |
Parameter Code Example
{
title: "Custom batch-operation click prompt",
}Code Example
module.exports = function (context, pluginService, pluginParam) {
return {
apply() {
return [
{
event: "flow.remind.list.batch.option.click.before",
functional: function (context, options) {
return Promise.resolve({
title: "Custom batch-operation click prompt",
isIntercept: false
});
}
}
]
}
}
}
