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 file updates are not applied

Avatar

Avatar
Level 1
dmitry_sv
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
dmitry_sv
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
dmitry_sv
Level 1

11-02-2020

An External Account from a package I am working with has "Call JavaScript" set as its activation mode in its execution parameters. When I update the javascript file in question, then re-execute the workflow that uses that external package, only the old code appears to be used. How can I make sure any changes I make to a javascript file are applied?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 10
Employee
craigthonis
Employee

Likes

167 likes

Total Posts

258 posts

Correct Reply

152 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 50
View profile

Avatar
Give Back 10
Employee
craigthonis
Employee

Likes

167 likes

Total Posts

258 posts

Correct Reply

152 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 50
View profile
craigthonis
Employee

11-02-2020

Hi Dmitry,

 

With the workflow that you re-executed, did you perform a stop and start of the workflow or did you pause the workflow and then resume it?

 

It's important to note that if you didn't perform a stop/start or restart of the workflow and only resumed a paused workflow that it will pick up from where it left off and resume the underlying workflow job which goes unchanged by any updates that you made while the workflow was paused.

 

Regards,

Craig

Answers (1)

Answers (1)

Avatar

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

383 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

383 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile
Milan_Vucetic
MVP

12-02-2020

Hi @dmitry_sv,

 

you have to restart MTA server after changes on javascript in order to be applied.

 

Regards,

Milan