Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,31 @@
]
}
]
},
{
"id": "import-letter-of-credit-to-approve",
"name": "Import Letter of Credit To Approve",
"userPreferenceEnabled": true,
"manageable": false,
"additionalFilterLogic": "#triggeredEvent['approval']['resource'] == 'Letter of Credit' && #triggeredEvent['approval']['function'] == 'Letter of Credit - Application'",
"deliveryOptions": [
{
"channel": "in-app-notification",
"channelSettings": "/import-letter-of-credit-to-approve/in-app-notification/in-app_channel-settings.json",
"isEnabledByDefault": true,
"isManageableByUser": false,
"routeInfo": {
"whereTo": "import-lc-approve-view",
"data": "{\"id\":\"{{event.approval.itemId}}\"}"
},
"engagementTemplates": [
{
"path": "/import-letter-of-credit-to-approve/in-app-notification/en_US/engagement-template.json",
"locale": "en_US"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"title": "Import LC to approve",
"body": "Hi {{{user.preferredName}}}, you have a new import LC of {{event.approval.amountDetails.currencyCode}} {{formatAmount event.approval.amountDetails.amount locale}} to approve."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"level": "INFO",
"targetGroup": "USER",
"origin": "TradeFinance"
}
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,31 @@
]
}
]
},
{
"id": "import-letter-of-credit-to-approve",
"name": "Import Letter of Credit To Approve",
"userPreferenceEnabled": true,
"manageable": false,
"additionalFilterLogic": "#triggeredEvent['approval']['resource'] == 'Letter of Credit' && #triggeredEvent['approval']['function'] == 'Letter of Credit - Application'",
"deliveryOptions": [
{
"channel": "in-app-notification",
"channelSettings": "/import-letter-of-credit-to-approve/in-app-notification/in-app_channel-settings.json",
"isEnabledByDefault": true,
"isManageableByUser": false,
"routeInfo": {
"whereTo": "import-lc-approve-view",
"data": "{\"id\":\"{{event.approval.itemId}}\"}"
},
"engagementTemplates": [
{
"path": "/import-letter-of-credit-to-approve/in-app-notification/en_US/engagement-template.json",
"locale": "en_US"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"title": "Import LC to approve",
"body": "Hi {{{user.preferredName}}}, you have a new import LC of {{event.approval.amountDetails.currencyCode}} {{formatAmount event.approval.amountDetails.amount locale}} to approve."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"level": "INFO",
"targetGroup": "USER",
"origin": "TradeFinance"
}