Run Javascript

Learn about the Run Javascript activity in PopFlow BUI.

Last published on: October 14th, 2022

The Run Javascript Activity is used to perform advanced script-like processing using javascript.

Delete

NOTE

Working knowledge of javascript and writing javascript expressions is required to use this activity.


Configuration Parameters


After opening the 'Run Javascript' activity, you will get the below configuration panel. From here, you can compose javascript expressions.       

Sample Run Javascript Activity


This example shows an alert popup to show the 'Hello, this is a test of the JavaScript Alert!' message in the Oracle service cloud.

  1. Select the 'Run Javascript' activity from 'Activity Sidebar'.
  2. Click on 'Run Javascript' activity to open and configure the 'Run Javascript' activity.
  3. Click on the 'Add Javascript' field and write any javascript expression.
Example JavaScript:
alert("Hello, this is a test of the JavaScript Alert!");
  1. Execute the activity, and it will show an alert pop-up in the Oracle Service Cloud.


Considerations

  • JavaScript can only execute if your local browser settings prohibit the use.
  • Some Chrome extensions may disable the use of JavaScript.
  • JavaScript can be blocked by specific sites based on advanced settings in Chrome. (More information here)