Search

Custom Node Development in Browser

Fire Insights enables you to write custom nodes from your Browser.


You would provide the execute method for the Processor and the Schema update code.


You would also provide the details of the widgets through which the user would provide the parameters for the new custom node

.

Below are the steps for creating the custom node.


Once you login to Fire Insights application, there is PROCESSORS menu on top, select Custom Processors.




Click on CREATE PROCESSORS


Click on CREATE PROCESSORS to start creating the new processor.




It would open up the Create Processor Page as below.


Enter the name and other details for the new processor.



Then provide details for the various fields of the new processors. These fields would appear in the processor dialog when used in the workflow editor.



Click on the + sign to add a new field. For each field provide the following:

  • WIDGET

  • NAME

  • TITLE

  • VALUE

  • DESCRIPTION


Finally click on the Next button to go to the Code tab.


Execute Code

The Code tab is where you write the execution code for the new Custom Processor. It shows the default template which you can update.



Then click on Next button to go to the Schema tab.


Schema Update Code

The Schema tab is where you add the code which updates the incoming schema to produce the output schema from this processor.

It displays the default template code which you can update.



Finally click on the Submit button to finish creating the new custom processor.


Once the custom processor is submitted successfully, it will be visible in Custom Processors list page.



Testing the custom processor


Fire Insights enables you to seamlessly test your custom processor.


When editing the custom processor, select the Dataset for the data you want to feed to the custom processor. Then click on Test to view the output of the new custom processor.




Using the new Processor


The processor is now available in the Workflow Editor.



You can click on the custom processor to start using it in your workflow.


You can also export & import them.

6 views

RESOURCES

SOCIAL

  • facebook
  • linkedin
  • twitter
  • angellist
© 2020 Sparkflows, Inc. All rights reserved. 

Terms and Conditions