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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    53 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X