Skip to main content
dmitry_sv
Feb 11, 2020 3:58 PM UTC
Solved

javascript file updates are not applied

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.
Craig_Thonis
Craig_ThonisAccepted solution
Adobe Employee
Feb 11, 2020 8:56 PM UTC

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
Feb 11, 2020 8:56 PM UTC

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

Translate
Milan_Vucetic
Level 9
Feb 12, 2020 8:16 AM UTC

Hi @dmitry_sv,

 

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

 

Regards,

Milan

 

 

 

Translate