Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Script Lifecycle Question - Enabling from Strategies Tab in Control Center

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Script Lifecycle Question - Enabling from Strategies Tab in Control Center

    I have read through the lifecycle of a script info in the help guide and do not see the answer to this question.


    Assuming the following scenario:

    1.) I load a strategy in the Strategies Tab
    2.) I enable the strategy from the Strategies Tab by clicking the Enabled box
    3.) The strategy runs without trouble, and I un-enable it from the Strategies Tab by clicking the box again
    4.) I do not remove the strategy from the Strategies Tab
    4.) I make some changes to the loaded strategy in the Script Editor
    5.) I compile the updated script

    Question:

    If I re-enable the previously loaded and run strategy in the Strategies Tab is the old version of the strategy run from memory?
    Or does NT grab the newly compiled code to run?



    Thank you for any info


    #2
    Hello 9817_dynamic,

    Thank you for your post.

    To ensure all changes are present in the code, you would want to remove the strategy from the strategies tab and create a new instance - if you don't, changes made in OnStateChange will likely not be picked up.

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    137 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    120 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X