1. Home
  2. FlexRule Server
  3. Service Execution
  4. Execute in FlexRule Workbench

Execute in FlexRule Workbench

Print Friendly, PDF & Email

◷ Reading Time: 2 minutes

After deploying the package on the FlexRule Server, you should first ensure that it runs successfully.

1. Once you deploy the example, you can see it as a service under Execution Server –> Services.

Click on Test Run under Actions.

2. Under Info, change the Client Secret to the App1 password that you defined during the Default Account setting in FlexRule Server Master configuration.

4. Under Inputs, enter the input JSON.

 [
  {
    Name: "car",
    Value: {
      Airbags: "Driver, FrontPassenger",
      ModelYear: 2007,
      Made: "Hyundai",
      Model: "IX35",
      Style: "Sedan"
    }
  }
 ]

5. Click Test Drive to run the test.

6. Under Results, the output will be shown.

After a ‘Test Run’, Service URL will be shown at the beginning of the Test Run page. This is the URL you should use in your application to call the deployed package.

Updated on August 9, 2019

Was this article helpful?

Related Articles