Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

The Produce Notification Action produces a Picturepark toast notification when the Business Rule conditions are met, e.g., inform about new images, inform about new Content Items with approved copyright information, or recalled Content Items. (lightbulb) The Business Rule will execute and if conditions are met a notification toast is created. If the user is not logged in or does not see the notification (notification stays unread) Picturepark sends out a notification email based on the users' notification preferences.

Prerequisites

Existing notification that the Business Rule will show as toast in Picturepark. 

  1. Open Settings

  2. Open Business Rules

  3. Switch to Notifications

Add a new notification.

Limitations

  • You cannot format text in notifications, but you can format the notification text send out via email in Settings > Templates. 

Specific Definitions

  1. Type-ahead and select the notification to produce from the dropdown. You see the listed IDs of all available notifications. 

Property

Value

kind

UnassignContentPermissionSetsAction

notificationId

The IDs of the notification to produce (which Picturepark will show as toast). This needs to be created upfront.

recipients

An array of recipients, which can be: 

  • Users

  • All users of a role

  • Users with a specific right e.g. users who can share

  • Owners

You can add also a combination of the above e.g. user Sandy Soluce, All users of the role "Editors external" and owners. 


Show a Notification in Picturepark to Owners, User Role A and User Role B

"actions": [
		{
			"kind": "ProduceNotificationAction",
			"notificationId": "NewMaterialForResellers",
			"recipients": [
				{
					"kind": "OwnerNotificationRecipient"
				},
				{
					"kind": "UserRoleNotificationRecipient",
					"userRoleId": "4cc30fbf5dd44d06bdfdb8a7d530f8ab"
				},
				{
					"kind": "UserRoleNotificationRecipient",
					"userRoleId": "5c302fdfc9234e49bb6ef5e997c6388e"
				}
			],
			"traceRefId": null
		}
	],
  • No labels