Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Image RemovedImage Added

All related Document__c records have a green traffic light records whereStatus Badge - Document Valid and:

  • Document_Type__c = 'Worker Screening' OR

  • Required__c = TRUE

  • Expiry_Date__c > TODAY

  • Verified = 'Yes'

Image RemovedImage Added

If any related Document__c records have a yellow traffic lightStatus Badge - Expiring Soon.

Image RemovedImage Added

If any related Document__c records have a red traffic lightStatus Badge - Expired.

...

Managing Documents

Document Status Formula

...

  • 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

Image RemovedImage Added

No Document Version and is a Required document.

IF(OR(Effective_From__c > TODAY(), ISBLANK(Expiry_Date__c)), 'Pending',
'Active'

Image RemovedImage Added

Current Document Version Valid and Verified if applicable.

IF(OR(Effective_From__c > TODAY(), ISBLANK(Expiry_Date__c)), 'Pending',
'Active'

Image RemovedImage Added

No Document Version - Pending Upload, Not Required.

IF(OR(Effective_From__c > TODAY(), ISBLANK(Expiry_Date__c)), 'Pending',
'Active'

Image RemovedImage Added

Current Document Version but Expiring in 7 days.

IF(Expiry_Date__c < TODAY() + 7, 'Expiring Soon'

Image RemovedImage Added

Current Document Version has Expired.

IF (NOT(No_Expiry__c), IF( Expiry_Date__c < TODAY(), 'Expired'