generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
latest changes for NOM email integrations
- Loading branch information
1 parent
57693b7
commit 05899c3
Showing
4 changed files
with
218 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,28 +68,11 @@ system.out.println ("name: "+name);</bpmn:script> | |
"from": "[email protected]", | ||
"priority": "normal", | ||
"subject": execution.getVariable("subject"), | ||
"to": [], | ||
"to": execution.getVariable("emailTo"), | ||
"tag": "", | ||
"attachments": [] | ||
} | ||
|
||
if(applicationType==="nom") | ||
{ | ||
console.log("nom emails",toEmailListArray); | ||
console.log("nom emails type",typeof toEmailListArray); | ||
var toEmailListArrayObj = JSON.parse(toEmailListArray); | ||
console.log("toEmailListArrayObj",toEmailListArrayObj); | ||
for(i in toEmailListArrayObj) | ||
{ | ||
p.to.push(toEmailListArrayObj[i]); | ||
} | ||
} | ||
else | ||
{ | ||
p.to.push(execution.getVariable("emailTo")) | ||
} | ||
|
||
|
||
console.log("Payload") | ||
console.log(JSON.stringify(p)) | ||
JSON.stringify(p)</camunda:script> | ||
|
Oops, something went wrong.