Execute custom JavaScript with the Execute method as part of an automation in the RPA Desktop Design Studio.

Execute

Executes the custom JavaScript you have written. Before executing,

Configure the Execute method

  1. Click the method settings icon (Method settings icon).
  2. Select the class from the Classes list as set in the custom JavaScript you had written.
  3. Select the method from the Methods list as set in the custom JavaScript you had written.
  4. Click OK.

    A Data In port is created to accept the value for the function you have created.

Table 1. Execute method parameters
Parameter Description Data port type Data type Default value Mandatory?
Function value Accepts the value for the function you have created. Data in Object None Yes
Result Returns the output of the custom JavaScript execution. Data out String None Not applicable