javascript file updates are not applied | Community
Skip to main content
dmitry_sv
February 11, 2020
Solved

javascript file updates are not applied

  • February 11, 2020
  • 2 replies
  • 2807 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Craig_Thonis

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

2 replies

Craig_Thonis
Adobe Employee
Craig_ThonisAdobe EmployeeAccepted solution
Adobe Employee
February 11, 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

Milan_Vucetic
Level 9
February 12, 2020

Hi @dmitry_sv,

 

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

 

Regards,

Milan