Skip to end of banner
Go to start of banner

Staff Contact - Worker Status

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

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 work.

Traffic Light

Logic

All related Document__c records have a green traffic light records where:

  • Document_Type__c = 'Worker Screening' OR

  • Required__c = TRUE

  • Expiry_Date__c > TODAY

  • Verified = 'Yes'

If any related Document__c records have a yellow traffic light.

If any related Document__c records have a red traffic light.

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 AND Verified_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'

  • No labels