Info |
---|
My Supports Staff Members have a Client Contact record in Salesforce. The Worker Status is a traffic light icon that indicates the Status of the Staff Member’s eligibility to work based on criteria listed in this article. |
Worker Status Logic
The eligibility of a staff member's Worker Status depends on the status of specific Documents they are required to possess. To be eligible for work, a staff member must have an active Document Version of the necessary Documents. For instance, if a staff member needs a vaccination, it is mandatory to have a current document (with an expiry date in the future) or a document with no expiry uploaded in order to be eligible for workThis Logic is TBC.
Traffic Light | Logic |
---|---|
All related Document__c
records have a Status Badge - Document Valid and:
Document_Type__c = 'Worker Screening'
ORRequired__c = TRUE
ANDExpiry_Date__c > TODAY
ORNo Expiry = TRUE
Verified = 'Yes'
If any related Document__c
records have a Status Badge - Expiring Soon.
If any related Document__c
records are Expiry Date = <TODAY
ORDocument
doesn’t have related Document Version
...
Managing Documents
Document Status Formula
On the Document_Version__c
Record, a Status Icon similar to the traffic light icon has been implemented.
Document Verification
IF
Verified__c = 'Yes'
THEN
Verified_Date__c
ANDVerified_By__c
are stamped with the user who verifies the document at the time of verification. This is an automated process.
...
Icon
Status
Icon
Status
No Document Version
and is a Required
document.
IF(OR(Effective_From__c
> TODAY(), ISBLANK(Expiry_Date__c
)), 'Pending',
'Active'
Current Document Version
Valid and Verified if applicable.
IF(OR(Effective_From__c
> TODAY(), ISBLANK(Expiry_Date__c
)), 'Pending',
'Active'
No Document Version
- Pending Upload, Not Required
.
IF(OR(Effective_From__c
> TODAY(), ISBLANK(Expiry_Date__c
)), 'Pending',
'Active'
Current Document Version
but Expiring
in 7 days.
IF(Expiry_Date__c
< TODAY() + 7, 'Expiring Soon'
Current Document Version
has Expired.
IF (NOT(No_Expiry__c
), IF( Expiry_Date__c
< TODAY(), 'Expired'
This Logic is TBC. | |
This Logic is TBC. | |
This Logic is TBC. |
...