Script Form Step For External Forms
  • Updated on 05 Mar 2019
  • 1 minute to read
  • Print
  • Dark
    Light

Script Form Step For External Forms

  • Print
  • Dark
    Light

Overview

A Script Form Step was designed for doing additional work with javascript before processing an External Form . This tutorial shows a simple example of how to configure and use the Script Form step in a flow .
This document applies only to 5.0 versions.

Simple Script Form Step

On the Script Form Step under theScript section, there are two options for the Script Source:
NVelocity andData

  • Data : Allows script data to pass to the step.
  • NVelocity: Allows script to be manually entered in the text box underScript Data.
  • NVelocity Script Source: Use NVelocity and add the script in the text box under Script Data**[NVelocity].**

In this example, use NVelocity Script Source. Use NVelocity and add the script in the text box under Script Data [NVelocity]. If passData needs to be passed to this step select Add New under the Expose Data On Service section.
Script-Data.jpg

On the Script Form Step in the properties tab in the Service Definition section under Service Outcomes, select Add New and add an outcome path.
2018-10-31_145916.jpg

Select Integration on the orange action panel to view how to interact with script forms.
2018-11-08_122711.jpg

Under External Form Integration Details select Script Forms and view details for Script Form.
script-Form.jpg

Select Script Form Details and view Javascript details.
View-Integation-Details.jpg

Was this article helpful?