Runner

Print Friendly, PDF & Email

◷ Reading Time: 5 minutes

Introduction

FlexRule Runner allows the users to run a project without installing FlexRule Designer. It only requires the project package, FlexRule Runtime environment, and the JSON input file (if necessary) to run a built project.

Video Description

Run a package using the Runner

1. Open the Runner Installation location:

C:\Program Files (x86)\Pliant Framework\FlexRule Runner\<version number>\Bin

2. Add Runtime location and license path

3. Add the package file to run ( eg: SupplierAssessment.frdp)

4. Run the package

Run a package using the command line

1. Open the Runner.

Default installation location:

C:\Program Files (x86)\Pliant Framework\FlexRule Runner\<version number>\Bin

2. Add Runtime location and license path

3. Add the package file to run ( eg: SupplierAssessment.frdp)

4. Open the command line, go to the location where you installed the Runner and use the following commands to run.

– To open Runner

FlexRule.Runner.exe

– To see command line help FlexRule.Runner.exe /?

– To run a package FlexRule.Runner.exe /packageName

"SupplierAssessment" /packageVersion "1" /inputFile "D:\SamplePackages\eligible-supplier.jc.json" 

Task Scheduler

You can schedule a package to run using Task Scheduler. It uses Windows Task Scheduler and runs the given packages according to the given schedule.

You should run the Runner as an administrator to schedule tasks.

1. Click on the Tasks List icon to see the tasks.

2. The list of tasks can be viewed as follows.

3. Click on the new task icon to schedule a new task

4. Give a task name, description, package, and the JSON input file.

5. Choose task triggers

6. Setup the trigger time

7. Task summary will be shown and finish the process to add the task

Log files

Log files are available to view the exceptions.

Database file

Log files are available to view the exceptions.

Troubleshooting

If you get the following error, that means you should run the runner as administrator.

Download an example

Download a sample package (SupplierAssessmentPackage.zip) using the attachment at the end of the page.

Updated on July 16, 2019

Article Attachments

Was this article helpful?