English
flowTodo.approval.card.render.after
About 182 wordsLess than 1 minute
2025-12-16
This event is used to perform extra actions after rendering approval to-do cards, including retrieving the object apiName, customizing the batch change approver button, and customizing the batch approval button.
Parameters
| Parameter | Description | Type |
|---|---|---|
| getCurrentObj | Gets the object apiName (Example) | Function |
| setBatchChangeStyle | Customizes the batch change approver button (Example) | Function |
| setBatchApprovalStyle | Customizes the batch approval button (Example) | Function |
Examples
1. getCurrentObj
Description
Gets the apiName of the object in the current filter condition, and controls the batch approval / batch change approver buttons under the current object.
Return Value
| Parameter | Description | Type |
|---|---|---|
| apiName | Object apiName | String |
2. setBatchChangeStyle
Description
This method can be used to customize the label of the batch change approver button or hide the button.
Parameters
| Parameter | Description | Type |
|---|---|---|
| String | Sets the button label | String |
| false | Hides the button | Boolean |
3. setBatchApprovalStyle
Description
This method can be used to customize the label of the batch approval button or hide the button.
Parameters
| Parameter | Description | Type |
|---|---|---|
| String | Sets the button label | String |
| false | Hides the button | Boolean |
