Skip to main content

Configure the Remove Strategy

Open your risksheet.json configuration and locate the dataTypes.risk section. Add or modify the removeStrategy property:
{
  "dataTypes": {
    "risk": {
      "type": "fmea",
      "removeStrategy": "delete"
    }
  }
}
Available strategies:
  • delete - Permanently deletes the risk work item from Polarion
  • reject - Executes a workflow action to reject the item (preserves the item)
Risk items imported from Excel via the Polarion work item importer may fail to delete if the reject action workflow is not properly configured. Native RISKSHEET items typically work without additional setup.

Configure Rejection Workflow

When using removeStrategy: "reject", configure the workflow action and status values:
{
  "dataTypes": {
    "risk": {
      "type": "fmea",
      "removeStrategy": "reject",
      "rejectedAction": "reject",
      "rejectedStatus": "rejected",
      "rejectedResolution": "invalid"
    }
  }
}
Configuration properties:
  • rejectedAction - Workflow action to execute (must exist in your work item workflow)
  • rejectedStatus - Status value to set when rejected
  • rejectedResolution - Resolution value to set when rejected
RISKSHEET does not support direct editing of Polarion’s resolution field. Use the rejection workflow configuration to automatically set resolution values when removing risks.

Workflow for Signature Requirements

If your risk removal process requires electronic signatures or approval dialogs: diagram Configure RISKSHEET rejection without signature requirements, then create a separate Polarion workflow action that handles signature capture.
Fields requiring external system integration (like electronic signatures) cannot be edited inline via RISKSHEET. Multi-step workflows requiring verification must split actions between RISKSHEET (initial action) and Polarion (signature/verification).

Troubleshoot Deletion Failures

If deletion fails:
  1. Open browser console (F12 key)
  2. Attempt to delete the risk item
  3. Review console errors for workflow or permission issues
  4. Check workflow configuration - Ensure the rejectedAction exists in your work item type’s workflow
  5. Verify permissions - Confirm you have delete permissions for the work item type
Configuration property names are case-sensitive. Use exact property names: removeStrategy, rejectedAction, rejectedStatus, rejectedResolution.

Verification

You should now see:
  • Delete strategy: Right-click a risk item → select Remove → item is permanently deleted from Polarion
  • Reject strategy: Right-click a risk item → select Remove → item status changes to rejected and remains in the system
  • Console errors resolved: No errors appear in browser console during removal operations

See Also

KB ArticlesSupport TicketsSource Code
  • PolarionAppConfigManager.java
  • RemoveTaskCommand.ts
  • RisksheetDataStorage.java
  • RisksheetProjectProperties.java
  • RisksheetViewServlet.java