ToRainDrop PowerShell - User Guide

Step by Step User Guide - Results

How to view an Execution Result

An "Execution Result" is automatically created each time a new "Execution" is submitted

This step by step guide will show how to view an "Execution Result"

 

From the navigation menu on the left, click on "Results". This displays a sub-menu of three options


Clicking either of the three options available, will take you to each corresponding "Results" section

 

Results

Results - Viewing Results

To view the results of your Execution click on the relevant "Result Name"

In this example we selected "User Guide 4_Sum_Values"
(In this guide we contine from the "Submitting a new Execution" guide)


After clicking the "Result Name", the "Result" window will appear
a textbox showing the "Result Name"
a textbox showing the "Result Start"
a textarea showing the "JSON Value"



(the "JSON Value" is the 'Output' from the 'Execution' in JSON format)


Looking at the "JSON Value Output" we can see the "Total Value" returned is "135"

(The values from the "4 Sum Values Script" were "10 + 50 + 75" which equals a total of "135"
so our script was successful)



Clicking the "PowerShell Example" tab, will display example PowerShell code for accessing the "JSON Value Output"
and each of the values returned in the "JSON Result Data"


Webhooks

Webhooks - Adding a new Webhook

To make a new Webhook click on the "New Webhook" button


After clicking the "New Webhook" button, the "New Webhook" window will appear with
a textbox for a "Webhook Name"
a textbox for a "Webhook Url"
a drop-down for a "Execution Definition"
a textbox for a "Body JSON Override"
(the combination of these make a "New Result Webhook")


In the "Webhook Name" textbox enter a 'Name for the Webhook' that is easy to recognize, but is also
easy to distinguish from other "Webhooks"

In this example we selected "User Guide 4_Sum_Values"


In the "Webhook Url" textbox enter a 'Url' that will receive the 'WebHook Requests'
containing the "JSON Value Output" from each "Execution Result"

For the purpose of this example, we will use WebHook.site to configure a target Url for the WebHook requests.

(for further information on Webhook testing see:
https://docs.microsoft.com/en-us/power-apps/developer/data-platform/test-webhook-registration)


Select a Definition from the list available in the drop-down menu

In this example we selected "User Guide 4_Sum_Values"


Once each of the fields have been filled, click the "Save" button

Once saved it will appear in the "Webhooks" list under the "Webhook Name" entered


Each time new "Execution Result" with the matching "Execution Definition" is populated.
The "JSON Value Output" will be sent to the "Webhook Url" specified in the new Webhook