Execute Unity Script - Execute Unity Script - OnBase - Unity Forms - OnBase/Unity-Forms/Foundation-24.1/Unity-Forms/Unity-Forms-Configuration/Configuring-Custom-Actions/Configuring-Actions/Execute-Unity-Script - Foundation 24.1 - Foundation 24.1

Unity Forms

Platform
OnBase
Product
Unity Forms
Release
Foundation 24.1
License
Premier
Standard
ft:lastPublication
2025-04-01T14:05:11.428000
ft:locale
en-US

The Execute Unity Script action executes a specified script when the configured conditions are met.

Note:

For a script to be available in this custom action, you must configure and publish a script using IUnityFormCustomActionEventScript in OnBase Studio. The Unity Automation API license is required to configure Unity scripts in a database. For more information on configuring scripts, see the OnBase Studio module reference guide.

Note:

When using Test Drive, the Unity Script will not have access to unpublished form template changes.

To configure an Execute Unity Script action:

  1. Click Add in the Actions section of the Custom Action dialog box.
  2. Select Execute Unity Script from the Action Type drop-down list.
  3. Click OK. The following text is displayed in the Actions field of the Custom Action dialog box:
  4. Click the [<Unity Script>] link.
  5. Select the Unity Script that you want to use from the Unity Scripts drop-down list.
  6. Click OK.
    Note:

    The Execute Unity Script action is not supported in the Unity Briefcase while offline. This action requires connectivity.