File Mover Blog

December 6, 2020

Trigger a Rule with no Source Files available in Limagito File Mover

In version v2020.12.6.0 we added ‘Pascal Script’ as Source. This makes it easier for us to add customer specific requests. A while ago we recieved a request if it was possible to trigger a Rule without having actually source files.

  • Select PScript (Pascal Script) as Source:

Limagito File Mover Pascal Script as Source

  • Add the following Pascal Script (Copy / Paste):
Begin
  psExitCode:= 1;
  // ... add your code here
  psAddToSourceFiles(psCreateDummyTxtFile(psRuleTempPath));
End.

Limagito Filemover Pascal Script trigger Rule

This is all what is need to trigger a Rule without the need for actual Source Files.

 

If you need any help with this ‘Trigger a Rule’ feature, please let us know.

Best Regards,

Limagito Team

By Limagito-Team Pascal Script , Share:
SEARCH