javascript file updates are not applied

Avatar

Avatar

dmitry_sv

Avatar

dmitry_sv

dmitry_sv

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

craigthonis

Employee

Avatar

craigthonis

Employee

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

Milan_Vucetic

MVP

Avatar

Milan_Vucetic

MVP

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