The script method invoked in this example is StringJoinerScript.JoinTokensAsync()
- Copy the content of the build output folder
sample-rules\bin\Debug\netstandard2.0folder under one of the three LFPALocalAgent folder e.g.C:\Program Files\Laserfiche\ProcessAutomationWorkerAgent\LFPALocalAgent\myscriptbin
-
Create a new Script rule
- Script location:
myscriptbin/lf-sample-csharp-script-rules.dll - Class name:
StringJoinerScript - Method name:
JoinTokensAsync - Output:
resultThe key name in the outputs Dictionary
- Script location:
- Providing test input values, for example: a and b:
- Run the workflow and verify
runscriptrule_resulttoken contains expected result


