Appearance
Signing Result
Display the outcome of a document signing ceremony and redirect the user back to the appropriate workflow.
Route
/signing-result/:documentType/:id/:result
:documentType-- the type of document signed:timesheet-access-permit,onboarding, orwork-order:id-- the document or engagement identifier (Base64-encoded for onboarding documents):result-- the signing outcome:finishedordeclined
Roles
Authenticated users only (Candidate, Company Owner, Company Admin, Team Admin, Tenant Admin, Tenant Contributor).
Features
- Displays a Remundo-branded outcome page with an image and message based on the document type and result
- Supports three document types, each with tailored content:
- Timesheet access permit -- shows a success message with a button to return to the timesheet page
- Onboarding -- polls the API to confirm the document status has updated, then shows a success message with a button to return to onboarding
- Work order -- tracks signing state in local storage and shows a loading spinner while processing, with a 60-second timeout warning
- For
declinedresults, shows a generic "signing declined" message - Redirects to
/404-pageif the:resultparameter is neitherfinishednordeclined - Page is rendered outside the main application layout (
notInLayout: true)
Behavior notes
- For onboarding documents with
finishedresult, the component decodes the Base64:idto extract the EOR ID and document ID, then usespollingGetConditionto repeatedly check whether the document status has changed toAcceptedorInProgressbefore showing the completion dialog. - For work orders with
finishedresult, the document ID is stored in local storage (IsWorkOrderBeingSigned) to track in-progress signings. A timer warns the user after 60 seconds if processing has not completed. - The redirect button navigates using
window.parent.location.replaceto support rendering inside an iframe (used by the signing ceremony provider). - For timesheet access permits, the redirect appends
?confirm-signature=trueto the parent page URL.