The script method invoked in this example is StringJoinerScript.JoinTokensAsync()
- Copy the content of the build output folder
sample-rules\bin\Debug\netstandard2.0
folder 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:
result
The key name in the outputs Dictionary
- Script location:
- Providing test input values, for example: a and b:
- Run the workflow and verify
runscriptrule_result
token contains expected result