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
Boost 250
MVP
DavidKangni
MVP

Likes

258 likes

Total Posts

372 posts

Correct reply

152 solutions
Top badges earned
Boost 250
Validate 1
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Boost 250
MVP
DavidKangni
MVP

Likes

258 likes

Total Posts

372 posts

Correct reply

152 solutions
Top badges earned
Boost 250
Validate 1
Give Back 5
Give Back 3
Give Back 25
View profile
DavidKangni
MVP

25-01-2019

You can't do outbound API calls  in ACS.

Thanks

David