The Editor perspective
After our workflows are created, the JavaScript code can be generated by clicking the button or pressing the Ctrl + B shortcut. The generated code contains the JavaScript code for the following:
- The scenario declaration
- The automation steps implementation
- A function declared for each activity within the scenario
- The script file for the variables declaration
The generated code can be viewed and edited in the Editor perspective. SAP Intelligent RPA provides a powerful JavaScript code editor. The Editor perspective can be selected by clicking the button in the left pane in Desktop Studio. The default display of the Editor perspective is shown in the following screenshot:
We will explain each of the panels in the Editor perspective in the following subsections.
The Scripts panel
This Scripts panel (marked as 1 in Figure 9.17), also referred...