This tutorial will show you how to create document expiry notifications, and then send them to crew members automatically when they trigger a legality check.
As N-OC knows the expiry date it can send the notification at a preselected number of days before they expire.
1. HR Documents The documents that you want to include in the warning process must have the "Notifiable" option ticked. | ![]() | ||||||||||||||||||||||||||||||||
2. HR Document filter Create a document filter. Make a free text entry and enter Expires <= DateTime.UtcNow.AddDays(30), in this example it will filter documents that will expire in the next 30 days. If you want to make the filter more specific you can add more expressions. | ![]() | ||||||||||||||||||||||||||||||||
3. Integration Factory Create a new document that hold the content of the message. It must be of Datatype "Document" Create the Tempate Text.
Use the "Test" button to check the output. "Document English Qualification (Pilots) for Obukhov, Volodymyr expires:04/12/2019 00:00:00" | ![]() ![]() | ||||||||||||||||||||||||||||||||
Create a new document that hold the Header of the message. It must be of Datatype "Document" Create the Tempate Text.
Use the "Test" button to check the output: Header for: English Qualification (Pilots) | ![]() ![]() | ||||||||||||||||||||||||||||||||
4. Business Job in 'Automation Factory' Create a new Business job.
The Email (or SMS) will only be sent one time when triggered, and is sent like any other message in relation to message curfews etc. | |||||||||||||||||||||||||||||||||
![]() |