Quick Start

A step-by-step guide to help you get started with Zen Addin for Microsoft Excel.

Installing Zen on Microsoft Excel

Click the Microsoft Excel Add-ins button, then search for Pebble Stream Zen.

To use Pebble Stream Zen, you must have a user account. Currently, you must request access from your company's Pebble Stream administrator.

Logging into Pebble Stream Zen

Click on the Open Zen button in Microsoft Excel's Home menu bar to load the Pebble Stream Zen onto your spreadsheet.


The design tab

When Pebble Stream Zen is loaded on a new spreadsheet with the initial Sheet1 worksheet, the design tab will be presented.

This tab has three main features:

  • the validate button
  • the execute button
  • the dependency graph

The validate button

Clicking the validate button checks whether the spreadsheet is suitable to run as a Pebble Stream process. Validation entails checking that all functions used in the spreadsheet are supported by Pebble Stream, that all Pebble Stream directives are well-formed, and that no worksheet cycles exist. All worksheets are classified as input, transient, or output.

When validation succeeds, the chances of this spreadsheet running correctly are greatly enhanced.

The execute button

Clicking the execute button validates the spreadsheet, then executes it. First, the input worksheets are analyzed for correctness, then the transient worksheets are executed, and finally, the output worksheets are executed. During this process, the designer's Pebble Stream directives perform transformations, conditional drag downs, data validations, and logic error detection.

The dependency graph

Whenever validation completes successfully, Zen will present a dependency graph. The dependency graph illustrates the relationships among worksheets in the spreadsheet. The grey circles represent the input worksheets, the blue diamonds represent the transient worksheets, and the navy hexagons represent the output worksheets. The arrows indicate dependency between two worksheets, pointing in the direction of data flow.

The node colors are also used on worksheet tabs.


Spreadsheet tabs are color-coded to highlight input, transient, and output worksheets.


Designers may use their scroll button to zoom in or out on graph nodes.


Zoom in or out of the dependency graph view.


Clicking on a node in the dependency graph will cause Microsoft Excel to navigate to that worksheet tab. Conversely, clicking on a worksheet tab will cause the dependency to center the graph at that node.


Clicking the Partner Allocation tab centers the dependency graph on the Partner Allocation node.


Clicking on any cell in the first row of a worksheet activates the PebbleScript editor. The editor provides autocompletion support when writing directives and saves PebbleScript to comments in the active cell. The editor reports PebbleScript errors in its status bar.


The PebbleScript editor provides documentation and autocomplete assistance to reduce scripting errors.


Clicking on any other cell in the workflow returns the user to the dependency graph view.


The servers tab

The servers tab enables connectivity between the securely logged-in Zen user and any Pebble Stream Flow server. The Zen user must have an account on the Flow server with the same email address.

Use the "add a new server" field to verify and establish Zen user access to a Flow server.


To add a server, enter the server's fully qualified domain name in the "add a new server" field. Your Pebble Stream Flow administrator will provide you with the server's domain name.



If the Zen user is allowed to connect to that server, the server will be added to the list of available servers. A connection icon is displayed. Note that a user may add multiple servers to the available server list.


This server was successfully added to the Zen user's list of available servers.


Click on the connection icon to connect. If successful, a green connection circle will be displayed.

The green circular connection icon is displayed to illustrate a connected server.

At this point, the Zen user can view available workflows on the run tab. Clicking on the red 'x' will remove this server from the list of available servers and disconnect the Zen user from that Flow server.


The run tab

Zen users can submit requests to a connected Flow server via the run tab. If the Zen user belongs to a team that has associated workflows, those workflows will be displayed under "available workflows". In the screenshot below, the Bond Analysis workflow is available to this user's team.

📘

The Flow administrator is responsible for adding users to teams and associating workflows to teams.


Clicking the load button will immediately create all the input worksheets required by that workflow. In the example below, the Bond Analysis workflow expects the Bond worksheet as input.


The input worksheets are automatically added to the spreadsheet when the load button is clicked.

📘

Clicking load creates all the input worksheets and automatically sets the expected headers for each input worksheet.


Once the input worksheets are prepared, the Zen user can enter the expected data for each worksheet. This could be done manually or programmatically using VBA or any other mechanism.


Fill in the expected data into the workflow's input sheets.


Once the input data is entered, click the submit button to send it to the Flow server for processing.



When the output data is ready, Zen will create the output worksheets, then load the results. The request ID, along with a tally of the length of time taken to create the request, is provided.


Zen will automatically create and fill the workflow's output worksheets with data from the request.

Zen users can continually submit requests to workflows. The previous workflow outputs are overwritten with the new results.