Skip to content

Commit

Permalink
Merge pull request #1719 from Accenture/bug/1716-triggeredsendstatus-…
Browse files Browse the repository at this point in the history
…on-journeys-does-not-reflect-the-current-status

task/1716 update journey-triggeredSendStatus and suppressTracking
  • Loading branch information
JoernBerkefeld authored Sep 17, 2024
2 parents 5406566 + ea73f09 commit 79fa77a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion @types/lib/metadataTypes/Journey.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions lib/metadataTypes/Journey.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,8 @@ class Journey extends MetadataType {
triggeredSend.autoUpdateSubscribers =
linkedTS.AutoUpdateSubscribers;
triggeredSend.isTrackingClicks = !linkedTS.SuppressTracking;
triggeredSend.suppressTracking = linkedTS.SuppressTracking;
triggeredSend.triggeredSendStatus = linkedTS.TriggeredSendStatus;
// from name & email are set in the senderProfile, not in the triggeredSend
// triggeredSend.fromName = linkedTS.FromName;
// triggeredSend.fromAddress = linkedTS.FromAddress;
Expand Down
2 changes: 2 additions & 0 deletions test/resources/9999999/journey/get-multistep-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
"throttleOpens": "1/1/0001 12:00:00 AM",
"throttleCloses": "1/1/0001 12:00:00 AM",
"isTrackingClicks": true,
"suppressTracking": false,
"triggeredSendStatus": "New",
"r__list_PathName": { "publicationList": "my subscribers/All Subscribers" },
"r__senderProfile_key": "testExisting_senderProfile",
"r__sendClassification_key": "testExisting_sendClassification",
Expand Down

0 comments on commit 79fa77a

Please sign in to comment.