If possible please make request to developer to enable/disable this block in next update
Set Global variable Is Not working in Run Mode
-
/////Start script after run button is clicked $("#RunScript").on("click", function () { /////Validate resources if (IsResourcesValid()) { /////Disable run button immediately $("#RunScript").attr("disabled", "disabled"); /////Start script Api.AcceptResources(); } else { /////Ask user if he want to continue UIkit.modal .confirm( tr( "There are incorrectly filled fields on the form. Are you sure, that you want to continue?" ) ) .then(function () { $("#RunScript").attr("disabled", "disabled"); Api.AcceptResources(); }); } console.log("starting"); Api.SetGlobalVariable("TEST", "This is a Test").then((x) => { console.log("seted"); }); Api.GetGlobalVariable("TEST").then(function (GlobalVariableValue) { console.log("GlobalVariableValue", GlobalVariableValue); }); });it's working Only In Record Mode Not Working when i Run It.