Step 1: Choose a Remove Strategy
ThedataTypes.risk.removeStrategy property determines what happens when a user removes a risk item from the grid. The default strategy is delete, which permanently removes the work item:
| Strategy | Behavior | Recoverable |
|---|---|---|
delete | Permanently deletes the Polarion work item | No |
| Status-based | Transitions item to a rejected status, hiding it from the grid | Yes |
Step 2: Configure Status-Based Soft Delete
Configure the rejected status properties to implement soft delete. This hides the item from Risksheet by transitioning it to a specific workflow state:| Property | Default | Description |
|---|---|---|
rejectedAction | reject | Workflow action to execute when removing the item |
rejectedStatus | rejected | Target status value after the action executes |
rejectedResolution | invalid | Resolution value set on the work item |
rejectedStatus are automatically filtered from the grid view.
Step 3: Verify Workflow Configuration
Ensure your Polarion work item workflow supports the configured transition:- Open the Polarion workflow editor for your risk work item type
- Verify that the
rejectaction (or your configuredrejectedAction) is available from all active states - Confirm the action transitions to the
rejectedstatus (or your configuredrejectedStatus) - Ensure the
rejectedstatus allows the configured resolution value
Risksheet does not support electronic signatures for rejection workflows due to Polarion API limitations. If your process requires signatures when rejecting items, split the rejection into a Risksheet action (without signature) and a separate Polarion workflow action (with signature) performed outside Risksheet.
Step 4: Configure Task Removal Behavior
Downstream task items have their own removal logic with two distinct behaviors depending on whether the risk item has single or multiple tasks:- Multiple tasks: the task row is deleted from the grid, and the link relationship is removed
- Single task: the task fields are cleared from the row, but the risk item row is preserved
Step 5: Restrict Item Creation
To prevent users from creating new items directly in Risksheet (ensuring all required fields are filled in Polarion):- Set
showInMenutofalseon the data type to remove the creation button from the toolbar - Set
canCreatetofalseon individual column configurations to allow linking existing items only
Verification
After saving your configuration:- Open a Risksheet document with risk items
- Right-click on a risk item to open the context menu
- Select the remove option
- For
deletestrategy: confirm the item is permanently removed from Polarion - For status-based strategy: confirm the item disappears from the grid but still exists in Polarion with the configured status and resolution
See Also
- Configure Multiple Risk Types — risk type configuration
- Configure Downstream Tasks — task data type setup
- Configure Permissions — access control for removal actions
- Customize the Context Menu — context menu options
- Configure FMEA Workflows — FMEA workflow with reject actions
Sources
Sources
KB Articles
- Configure -Remove-Delete- Risk Action
- Adjusting Risksheet configuration
- Risksheet Configuration Properties
- How to evaluate Nextedy RISKSHEET
PolarionAppConfigManager.javaRemoveTaskCommand.tsRisksheetDataStorage.javaRisksheetProjectProperties.javaRisksheetViewServlet.java