improved message

This commit is contained in:
dcore94 2021-03-24 16:20:34 +01:00
parent 68bb27c159
commit 4cd68edad7
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
"liferay": "{{ liferay }}", "liferay": "{{ liferay }}",
"liferay_auth": "{{ liferay_auth }}", "liferay_auth": "{{ liferay_auth }}",
"keycloak_userid" : "${workflow.input.userid}", "keycloak_userid" : "${workflow.input.userid}",
"scriptExpression": "1 == 1" "scriptExpression": "return { 'decoded_root_vo' : $.root_vo.replace("%2F","/")}"
} }
}, },
{ {
@ -227,7 +227,7 @@
"subject" : "User account REMOVAL notification", "subject" : "User account REMOVAL notification",
"from" : "noreply@d4science.org", "from" : "noreply@d4science.org",
"to" : "${get_rootvo_infra_managers.output.body.*.email}", "to" : "${get_rootvo_infra_managers.output.body.*.email}",
"html" : "<html><body><p>Dear ${init.input.root_vo} Infrastructure Manager,</p><p>${lookup_user.output.body.firstName} ${lookup_user.output.body.lastName} (${lookup_user.output.body.username}) removed his/her account from the portal with the following email: ${lookup_user.output.body.email}</p><p>You received this email because you are an Infrastructure Manager.</p><p>WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received.</p></body></html>" "html" : "<html><body><p>Dear ${init.output.result.decoded_root_vo} Infrastructure Manager,</p><p>${lookup_user.output.body.firstName} ${lookup_user.output.body.lastName} (${lookup_user.output.body.username}) removed his/her account from the portal with the following email: ${lookup_user.output.body.email}</p><p>You received this email because you are an Infrastructure Manager.</p><p>WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received.</p></body></html>"
} }
} }
] ]