Risksheet provides server-side endpoints for querying available workflow actions and executing document status transitions directly from the risk analysis interface.
The actionId values are defined in the Polarion workflow configuration and must match configured transition names exactly. Check your project’s workflow definitions for valid action identifiers.
After a successful status change, the entire browser page automatically reloads. This ensures all UI elements — buttons, permissions, validation rules, and available workflow actions — reflect the new document status.
Error messages from the server are displayed verbatim to help you diagnose problems. Common error scenarios:
Error Type
Cause
Resolution
Validation failure
Required fields not populated
Fill in required fields before transitioning
Permission denied
Insufficient user permissions
Contact your Polarion administrator
Workflow rule violation
Transition not allowed from current state
Verify available transitions for the current status
Document not accessible
Document deleted, moved, or access restricted
Check document location and permissions
Console logging is available for debugging workflow executions. Open browser developer tools to view actionId, response data, and document state during troubleshooting.
The workflow actions API interacts with several configuration properties:
Property
Type
Default
Description
actionId
string
None
Identifier for the specific workflow action to execute
project
string
Required
Polarion project containing the document
document
string
Required
Document location path within the project
These three properties co-occur in the request payload. The actionId must correspond to a valid transition defined in the Polarion workflow configuration for the target document type.
In this configuration, the rejectedAction property specifies the workflow actionId used when a risk item is rejected during review. The workflow actions API processes this transition and updates the document status accordingly.