Debug & check a reasoner

From AMTech WikiDocs
Revision as of 11:22, 11 May 2016 by Carlos (Talk | contribs)

Jump to: navigation, search

Run

execute

Allows to check the execution of a reasoner without the need to be published and deployed.

  • The reasoners executes in a sandbox with the security context of the creator
  • It executes the same logic that when the reasoner is deploy.
    • The creator initiates the execution by selecting an instance of the observation type configured. (See Simulator)
Select observation instance

Debug

The creator can request for more detail information by using the function debug this option is only available for javascript options

Select observation instance
  • The results appears in a segment like the following
   INFO: action helloWorld BEGIN: JS evaluation debug
   INFO: action helloWorld DEBUGGING *** helloWorldProducer
   INFO: action helloWorld END: JS evaluation debug
Select observation instance

Check

After the reasoner has been execute and the result are the expected please check Ready to be published.

Ready
  • If this operation is omitted the publication process will abort with an error