RUNAPP

Initiates custom functionality from the script, specifically launching a form, webpage, or application.

Supported Script Types

Generic Email Chat Phone Voicemail Work Item

Properties

AgentID
The agent to whom the RUNAPP action should be delivered.
ActionType
RunExe - This requires a local executable which resides in the Windows path entered in the Action Value field. This allows custom enhancements to the Indicator feature.

The filepath must include double back slashes (\\) in the path. For example, C:\\Program Files\\NICE inContact\\studio.exe.

OpenURL - Will open a default web browser to the URL specified in the Action Value
ActionValue
The value needed by the above specified Action Type.
WaitForSubmit
True/False. True means that the system will wait for a submit action by the agent. WaitForSubmit is only applicable if the Action Type is ShowCustomForm. It works in conjunction with WaitTimeout.
WaitTimeout
The number of seconds that will trigger the OnTimeout branch if the Action Type is ShowCustomForm.

Branches

Default
The Default branch condition will be used unless another branch condition is met.
OnSubmit
The branch condition that is triggered if the WaitForSubmit is set to True.
OnTimeout
The branch condition that is triggered if the WaitTimeout seconds have been reached.
OnError
The Error branch condition is triggered if an error occurs.

Tips and Tricks

  • RUNAPP is similar to INDICATE, except that the action type is initiated by the script rather than the agent.

RUNAPP Wizard

  1. Double-click the RUNAPP action to open the RunApp Property Editor wizard.
  1. Enter the Agent ID for the agent to receive the RUNAPP action. It is recommended to use the variable {AGENTID} for the agent handling the contact.
  2. Select the action type.
  3. If You Selected Then
    Run an executable program

    Enter the local filepath to the executable in the Action Command field.

    The filepath must include double back slashes (\\) in the path. For example, C:\\Program Files\\NICE inContact\\studio.exe.

    Pop open a web page

    Enter the full URL of the webpage in the Action Command field. The page will be opened with the default browser on the agent's local computer.

    Prompt the user with a web page like form
    1. Enter the html code to generate a form in the Action Command field. You do not need to include the opening and closing <form> tags.
    2. Click the Preview button to see the form.
  1. Click OK.

The selected attributes will be visible in the Properties window.