This file contains hidden or 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
%%[ | |
set @s = "Baby shark|Mommy shark|Daddy shark|Grandma shark|Grandpa shark|Let's go hunt|Run away|Safe at last|It's the end|" | |
for @v=1 to 9 do | |
set @f = substring(@s,1,add(indexOf(@s,"|"),-1)) | |
set @s = replace(@s,concat(@f,"|")) | |
for @l=1 to 4 do |
This file contains hidden or 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
%%[ | |
set @s = buildrowsetfromstring("Baby shark|Mommy shark|Daddy shark|Grandma shark|Grandpa shark|Let's go hunt|Run away|Safe at last|It's the end","|") | |
for @v=1 to 36 do | |
set @l=substring(add(divide(add(@v,-1),4),1),1,1) | |
set @r = row(@s,@l) | |
set @f = field(@r,1) |
This file contains hidden or 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
%%[ | |
set @l = 0 | |
set @s = buildrowsetfromstring("Baby shark|Mommy shark|Daddy shark|Grandma shark|Grandpa shark|Let's go hunt|Run away|Safe at last|It's the end","|") | |
for @v=1 to 36 do | |
set @m=mod(@v,4) | |
set @l=add(@l,iif(@m==1,1,0)) |
This file contains hidden or 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
%%[ | |
set @s = buildrowsetfromstring("Baby shark|Mommy shark|Daddy shark|Grandma shark|Grandpa shark|Let's go hunt|Run away|Safe at last|It's the end","|") | |
for @v=1 to 9 do | |
for @l=1 to 4 do | |
set @r = row(@s,@v) | |
set @f = field(@r,1) |
This file contains hidden or 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
%%[for @v=1 to 9 do for @l=1 to 4 do outputline(field(row(buildrowsetfromstring("Baby shark|Mommy shark|Daddy shark|Grandma shark|Grandpa shark|Let's go hunt|Run away|Safe at last|It's the end","|"),@v),1),iif(@l<4,", doo doo doo doo doo doo","!"))next next]%% |
This file contains hidden or 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
<script runat="server"> | |
Platform.Load("core","1"); | |
var debug = true; | |
try { | |
var prox = new Script.Util.WSProxy(); | |
// https://salesforce.stackexchange.com/questions/178299/setup-an-email-notification-to-admin-when-triggered-sends-exceed-a-level-of-500/230406#230406 |
This file contains hidden or 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
{ | |
"Status": "OK", | |
"RequestID": "40ff6f0d-5f64-4201-b441-671d70a49279", | |
"Results": [ | |
{ | |
"Schedule": null, | |
"AutomationTasks": [ | |
null, | |
null, | |
null, |
This file contains hidden or 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
<script runat="server"> | |
Platform.Load("Core","1"); | |
var prox = new Script.Util.WSProxy(); | |
try { | |
var cols = ['*']; | |
var filter = { | |
Property: "Name", |
This file contains hidden or 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
Name | Data Type | Length | Precision | Scale | Primary Key | Required | Default Value | |
---|---|---|---|---|---|---|---|---|
ID | Number | 1 | 1 | |||||
SendDate | Date | 0 | 0 | |||||
EmailName | Text | 100 | 0 | 0 | ||||
Subject | Text | 200 | 0 | 0 | ||||
Status | Text | 15 | 0 | 0 | ||||
Additional | Text | 50 | 0 | 0 | ||||
BCCEmail | EmailAddress | 0 | 0 | |||||
Client_ID | Number | 0 | 0 | |||||
Client_PartnerClientKey | Text | 64 | 0 | 0 |
This file contains hidden or 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
<script runat="server"> | |
Platform.Load("core","1"); | |
var debug = false; | |
// Mirrors Send SOAP Object data into a data extension | |
// - creates its own data extension | |
// - without any date filters includes all sends from account inception | |
try { |