@atripp Hi Alana,
On Extension 1.10.3 the stack trace on my original post was from the Diagnostic Centre.
On 1.10.4 its just an error that is displayed on the GUI; it doesn't log the message into the Diagnostic Center.
So you have 'fixed' something :-)
This is the error when just dragging a PowerShell script defined in the Application.

Dragging the PSCall global::PSDemo1 works perfectly as this is defined in the Global Script respository.
I've tried simple scripts with and without parameters...
These are my two test Powershell Scripts which are cut down from your Otter demo..
<#
.SYNOPSIS
Demo Script
.PARAMETER YourName
When specified
#>
param([string]$YourName)
if ($YourName){
Write-Output @"
Hello $YourName
"@
} else {
Write-Output @"
Hello from PowerShell !
"@
}
<#
.SYNOPSIS
Demo Script
#>
Write-Output @"
Hello from PowerShell !
"@
One further thing I have noticed, if I edit my Otterscript in Text Mode, I can add the local application powershell by prefixing the application name i.e.
# General
{
PSCall Test::PSPaul1
(
YourName: Paul
);
}
Therefore the issue seems to be the GUI is okay with either
PSCall Global::PSPaul1
or
PSCall Application::PSPaul1
But doesn't like the short name
PSCall PSPaul1
Which from my screenshot you can see if how the local Application Scripts are defined.
I've also tried creating a new test script under v1.10.4 in case this wasn't saving something properly, but this is also broken.
Hope this helps,
Thanks,
Paul