Skip to main content

Workflow Rejection UI

Verified behavior

Reject is a direct task-row action and submits a fixed portal comment. The UI provides no confirmation, user-entered reason, reason requirement, subject preview or downstream-impact warning.

The backend marks the task rejected and the whole workflow instance rejected. It protects against a non-running instance or a task already decided. On success, the UI shows a toast and reloads both tabs.

Limitation

Although the backend accepts an optional decision comment, the implemented UI cannot capture an approver's actual rejection rationale. The fixed comment becomes the recorded reason.

Requires Confirmation

Whether a reason must be mandatory, how sensitive comments should be handled and whether rejection requires confirmation require confirmation.

Source References

  • UI/salary-ui/apps/client-hrms-portal/src/pages/admin/OperationsAdminPages.tsx
  • microservices/src/workflow-service/Application/Commands/WorkflowInstanceCommands.cs
  • microservices/src/workflow-service/Domain/Workflow/WorkflowInstance.cs

See Also

Keywords

Workflow rejection UI, reject task, rejection reason.

Revision Information

Draft source-backed documentation reviewed on 2026-07-20; next quarterly review is 2026-10-20.