Configuring and running Powershell scripts in Umango can be a little more challenging if you require multiple parameters and are not able to simply call the script directly. This article walks you through the steps required to execute a custom PowerShell script as part of the export process in Umango. In the example, the script is designed to rename the file extension from .tif to .tiff.
RenameExt.ps1
.C:\Program Files\Umango\25\scriptsIf the
scripts
folder does not exist, create it.
Ensure that the user account running the Umango Windows Service has permission to run PowerShell scripts:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Or define it at the service level via Group Policy or execution policy for the user profile associated with the service.
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Note: Change the arguments to match those required by your script.
Save your job configuration and run a sample document through Umango. Check that the script executes and successfully completes the task required.
If you encounter issues, verify script execution permissions and check the Windows Event Viewer or Umango history logs for more details.
Link to this article https://umango.com/KB?article=149