Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Javascript node in workflow in ACS

Avatar

Avatar
Boost 1
Level 1
FredrikSalzedo
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
FredrikSalzedo
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
FredrikSalzedo
Level 1

22-01-2019

Hi,

in AC Classic you can have a javascript node in the workflow where you can write any code you want.

I don't find the equivalent in ACS? Does it exist for ACS?

Screen Shot 2019-01-22 at 11.07.01.png

Replies

Avatar

Avatar
Validate 1
Level 4
asish_kumarp599
Level 4

Likes

37 likes

Total Posts

62 posts

Correct Reply

8 solutions
Top badges earned
Validate 1
Shape 1
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 4
asish_kumarp599
Level 4

Likes

37 likes

Total Posts

62 posts

Correct Reply

8 solutions
Top badges earned
Validate 1
Shape 1
Boost 5
Boost 3
Boost 25
View profile
asish_kumarp599
Level 4

22-01-2019

No It doesn't exist in ACS.

Avatar

Avatar
Boost 1
Level 1
FredrikSalzedo
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
FredrikSalzedo
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
FredrikSalzedo
Level 1

22-01-2019

Hi! Thanks for the reply. Is there any way to accomplish the same functionality somehow? I'm using it in AC Classic for e.g. sending data to Slack. Like after an email sendout, send to slack how many it was sent to, I would like to be able to do the same in ACS.

Example:

vars.Antal=vars.recCount;

var http = new HttpClientRequest("https://hooks.slack.com/services/XXXXXX");

http.header["Content-Type"] = "application/json";

http.body=JSON.stringify({

"text": vars.Antal + " newsletter sent"

});

http.method="POST";

http.execute();

var response=http.response;

Avatar

Avatar
Validate 1
MVP
DavidKangni
MVP

Likes

248 likes

Total Posts

359 posts

Correct Reply

142 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Validate 1
MVP
DavidKangni
MVP

Likes

248 likes

Total Posts

359 posts

Correct Reply

142 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
DavidKangni
MVP

25-01-2019

You can't do outbound API calls  in ACS.

Thanks

David