Skip to main content

ntftrigger

Bravura Security Fabric uses the ntftrigger program to communicate with the Notification Service (psntfsvc) and send out notifications. Scheduling a batch notification creates a scheduled job to run ntftrigger. You can use this program to test notifications rather than waiting for the scheduled time.

Usage

Web notifications:

ntftrigger.exe -listusernotifications -user <user ID> [-targetid <target ID>] [-svcid <SVCID>] [-timeout <N>] [-threads <N> ] [-increment I|N|P]

ntftrigger.exe -getusernotification -notifyid <notifyid> -user <user ID> [-targetid <target ID>] [-svcid <SVCID>] [-timeout <N>] [-threads <N>] [-increment I|N|P]

Batch notifications:

ntftrigger.exe -runbatch -notifyid <notifyid> [-targetid <target ID>][-svcid <SVCID>] [-timeout <N>] [-threads <N>] [-increment I|P]      

Argument

Description

-getusernotification

Get a specified web notification for a specified user.

-increment <increment>

User notification increment indicator:

I - increment

N - no increment

P - peek - used for a dry-run or test

The default for web notifications is N. The N indicator does not apply to batch notifications.

-listusernotifications

List all web notifications for a specified user.

-notifyid <notifyid>

Notification ID.

-runbatch

Run a specified batch notification.

-svcid <svcid>

SVCID that the Notification Service (psntfsvc) uses. If not specified, it is read from the instance’s registry.

-targetid <targetid>

Target system ID for the specified account.

-threads <threads>

Number of threads to send concurrent requests. If not specified, the default is 1.

-timeout <timeout>

Connection timeout value. If not specified, it is read from the instance’s registry.

-user <user>

Profile ID if TARGETID is not specified; account/longid on TARGETID otherwise.

Examples
  1. To list web notifications for a specific user:

    ntftrigger.exe -listusernotifications -user brownwi
  2. To list a specific web notification for a specific user:

    ntftrigger.exe -getusernotification -notifyid WEBNOTE -user brownwi
  3. To run a batch notification:

    ntftrigger.exe -runbatch -notifyid BATCHNOTE
  4. To dry-run a batch notification, use the -increment P option. The batch notification proceeds as usual with the compliance plugin and will return non-compliant users. The users' notification status will not be updated and the reminder plugin and action plugin will not be executed. The option is used to test the notification.

    ntftrigger.exe -runbatch -notifyid BATCHNOTE -increment P