Skip to content
English
  • There are no suggestions because the search field is empty.

Pro Active MOC, CSSR and Inspections trigger logic

CSSR:

The function app logic we have in place to trigger a form automatically from the platform is as follows. The below checks are done daily:

 

Vessel Criteria:

  • Vessel is vetted in the last 12 months (with status Accept or unaccept)

Class Status Report Criteria:

  • for all vessels whose class status report expiry in 3 days, or class status report has already expired (NOTE - since we trigger this daily, it will always trigger for vessels whose CSSR will expire exactly in 3 days. Unless the logic app is switched off and turned back on after some days)

  • AND there is no class status report in progress

If there is already a class status report not in a closed state no new task will be created.

The email will be sent to the DOC email + vetting contacts

 

MOC:

In order for an MOC to be triggered automatically, the below conditions need to be met. The below checks are done daily

 

Vessel Criteria:

  • The cargo type is Dry.

  • The vessel type can be vetted

  • The DOC change date is within the last 90 days.

DOC Change Date Logic:

  • If the EffectiveDate of the company association exists and is in the future, it uses that date.

  • Otherwise, it uses the CreatedDate (fallback).

  • This selected date is used to determine if the DOC change happened today.

Open MOC Vessels – Exclude Vessels Already Under Vetting Process

This subquery fetches vessels that are currently in a 'mo-c' (Management of Change) vetting process, based on the following conditions:

  • The form is not yet completed (IsFinalState = 0).

  • OR the process is in a pending input state (WorkflowStatusNotes = 'Pending Form Input').

  • This ensures we don’t include vessels that are already being worked on.

This list is excluded from the final output

 

ExcludeCompanies – Ignore Certain Companies

Another filter is based on a company exclusion list:

  • This checks if the vessel’s associated company appears in a list called 'CFR - Internal cost change'.

  • These companies are ignored because they might be for internal testing or not relevant for operational vetting.

Final Output – Eligible Vessels

Finally, the query selects vessels that meet all of the following criteria:

  • The DOC change date is today ([Date] BETWEEN @StartDate AND @EndDate).

  • The vessel is not already in a vetting (MOC) process.

  • The vessel is not associated with an excluded company.

If the above conditions are met, an email is sent to the DOC email + DOC vetting contacts emails of the vessel. If no DOC email and vetting contacts email is found, we ignore that vessel for now and no form is created

If no action from Ship Manager takes place, when a new vet is initiated, system will:

  • Link the pending task to the vet request.

  • Send the existing email notification with the vet with link to the pending task.

 

Rightship Inspection:

In order to trigger an automatic inspection on a vessel, the below 3 criteria must be met:

1. Either

  • Combination of

    • Didn't have any inspection outcome yet OR (currently not have any accepted inspection or currently had an accepted one but being expired)

    • Age requirement condition came in the next 2 months (25/14 years for vessels less than 8000 dwt and greater) AND have at least a vet in the last 5 years

  • Have an expired inspection and there's an Age requirement condition

2. Didn't have any open inspection or there's an inspection at Inspection Required state without sending notification email yet

3. The vessel is not Sanctioned