Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.17 KB

File metadata and controls

31 lines (19 loc) · 1.17 KB

Dictionary Scraper Laserfiche C# Rule script project

The script method invoked in this example is DictionaryScraper.GetDefinition

Deploy script to your remote agent

  • Copy the content of the build output folder DictionaryScraper\bin\Debug\net48 folder under one of the three LFPALocalAgent folder e.g. C:\RulesTesting\RemoteAgentFiles\US_WEST_2\A\ProcessAutomationWorker\bin\Scripts

Configure and test this script rule in your Laserfiche Cloud Account -> Process Automation -> Rules

  • Create a new Script rule

    • Script location: ProcessAutomationWorker\bin\Scripts\DictionaryScraper\DictionaryScraper.dll
    • Class name: DictionaryScraper.Core.DictionaryScraper
    • Method name: GetDefinition
    • Output
      • Definitions The result key name in the outputs Dictionary
      • Error The error key name in the outputs Dictionary

    Drag Racing

Test the rule

  • Providing test word you want to search in dictioanry.com, e.g. time

Drag Racing

Test script rule in a workflow

  • Run the workflow and verify Definitions token contains expected result

Drag Racing