You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.4 KiB
57 lines
1.4 KiB
8 years ago
|
uuid: 3bfa9b33-b0a7-437e-a949-e50178a702fe
|
||
|
langcode: en
|
||
|
status: true
|
||
|
dependencies:
|
||
|
module:
|
||
|
- islandora
|
||
|
- rules
|
||
|
enforced:
|
||
|
module:
|
||
|
- islandora
|
||
|
id: broadcast_update_event
|
||
|
label: 'Broadcast Update Event'
|
||
|
events:
|
||
|
-
|
||
|
event_name: 'rules_entity_update:fedora_resource'
|
||
|
description: 'Broadcasts a ''Update'' event when a user updates a FedoraResource.'
|
||
|
tags:
|
||
|
- ''
|
||
|
config_version: '3'
|
||
|
expression:
|
||
|
id: rules_rule
|
||
|
uuid: 55563628-5ea2-4459-989e-0ce573f50aaa
|
||
|
conditions:
|
||
|
id: rules_and
|
||
|
uuid: 8113ab9f-7af6-4315-8701-60812bb86190
|
||
|
conditions: { }
|
||
|
actions:
|
||
|
id: rules_action_set
|
||
|
uuid: 78330180-141b-404e-8bf3-b7c9d8dcc748
|
||
|
actions:
|
||
|
-
|
||
|
id: rules_action
|
||
|
uuid: 86a6f157-8d0c-4b3c-bd8e-d4c3ce4794a7
|
||
|
context_values: { }
|
||
|
context_mapping:
|
||
|
entity: fedora_resource
|
||
|
user: '@user.current_user_context:current_user'
|
||
|
context_processors: { }
|
||
|
provides_mapping: { }
|
||
|
action_id: islandora_update_event_generator
|
||
|
-
|
||
|
id: rules_action
|
||
|
uuid: f77c64ef-c737-4143-89b4-e1b6599232b5
|
||
|
context_values:
|
||
|
type: info
|
||
|
repeat: false
|
||
|
context_mapping:
|
||
|
message: event_message
|
||
|
context_processors:
|
||
|
type:
|
||
|
rules_tokens: { }
|
||
|
repeat:
|
||
|
rules_tokens: { }
|
||
|
provides_mapping: { }
|
||
|
action_id: rules_system_message
|
||
|
|