updated the concessioni model
This commit is contained in:
parent
0b416cfcda
commit
43bdff46e1
|
@ -198,6 +198,86 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "Notifications-Plugin",
|
||||
"_type": "EventListener",
|
||||
"_configuration": {
|
||||
"subscribeNotifications": [
|
||||
{
|
||||
"event": "LIFECYCLE_STEP_PERFORMED",
|
||||
"notificationFor": [
|
||||
{
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
],
|
||||
"when": [
|
||||
{
|
||||
"target_phase": [
|
||||
"Pending Approval"
|
||||
],
|
||||
"notify": [
|
||||
{
|
||||
"type": "EMAIL",
|
||||
"send": true,
|
||||
"attach_pdf_document": false,
|
||||
"message": "${user} created the project ${project_name}. You are kindly requested to review it and decide either to APPROVE or REJECT it. See it at @link"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"target_phase": [
|
||||
"Rejected"
|
||||
],
|
||||
"notify": [
|
||||
{
|
||||
"type": "EMAIL",
|
||||
"send": true,
|
||||
"attach_pdf_document": false,
|
||||
"message": "The project ${project_name} has just been rejected by ${user}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": [
|
||||
"Item_Creator"
|
||||
],
|
||||
"when": [
|
||||
{
|
||||
"target_phase": [
|
||||
"Rejected"
|
||||
],
|
||||
"notify": [
|
||||
{
|
||||
"type": "EMAIL",
|
||||
"send": true,
|
||||
"attach_pdf_document": false,
|
||||
"message": "The project ${project_name} has just been rejected. You are kindly requested to review it"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"target_phase": [
|
||||
"Published"
|
||||
],
|
||||
"notify": [
|
||||
{
|
||||
"type": "EMAIL",
|
||||
"send": true,
|
||||
"attach_pdf_document": false,
|
||||
"message": "The project ${project_name} has just been published. See it at @link"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"link_to_messages": "link to file containg the messages as properties like ID_MESSAGE_{N} = value"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Indexer-Plugin",
|
||||
"_type": "Indexer",
|
||||
|
@ -326,9 +406,9 @@
|
|||
"path": "$._theDocument.cronologiaMacrofase",
|
||||
"type": "TEXT",
|
||||
"apply_regex": {
|
||||
"type": "replaceAll",
|
||||
"regex": "(\\s)?\\([\\s\\S]*",
|
||||
"replacement": ""
|
||||
"type": "replaceAll",
|
||||
"regex": "(\\s)?\\([\\s\\S]*",
|
||||
"replacement": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue