Global variables not working after latest Scriptcase update

It also happens to me that global variables have strange behaviors after the last update.
In development environment the request for variable population often does not appear.

1 Like

i put this link here to can see it better https://youtu.be/OGnDuEuMb00

2 Likes

I had a similar problem with a grid, the parameters passed to a grid were used in sql where, but only with a fresh clean cache. Then they become cached and always stay the same even i see that other parameters are passed to the grid via a link.

I had to recreate the grid application and after that it worked as expected.

You can see in the video i have recreated the grid but the problem still exist

did you have last update ? , try to set up in sql a where clause and run it to see what hapend

can you show what is set in global variables?

image

I have the same problem with global variables, I have version 9.12.005 (7)

Uploading: Captura de pantalla 2025-04-16 004345.png…

I I can confirm that this is a known bug in Scriptcase, which I reported almost 3 weeks ago. I’ve already submitted 6 separate tickets, but unfortunately, it seems this issue is not a priority for the support team.

I still hope it will be addressed soon, as it directly impacts the functionality of the projects I’m working on.

1 Like

This is a very serious problem… I hope the SCRIPTCASE team takes action on this matter.

1 Like

Maybe completely unrelated to this specific issue, but since some versions ago the warning message when a global var is not defined has changed to a misleading: “Create connection”.
It seems to complain about a missing db connection and not a global var.

@psyhocabinet,

You mentioned that you had already opened support tickets for the tool a few weeks ago.

Have you not received any feedback yet?

If possible, please give us a little more detail about it, because we have a case regarding global variables in the Grid application that was reported to be analyzed and later forwarded to the responsible team. However, from the description you detailed here in the topic, it is not working at any time, while the reported case concerns non-functioning after the second execution of the application.

We await your feedback so that we can proceed.

Best regards!


this is the only answer i get and that is not wehn i send my first email, but after i chat with support after few days and they send me this

I’ve just seen that a new update has been released, but unfortunately, the issue with global variables still hasn’t been resolved.

It’s been weeks since I first reported this problem, and I haven’t seen any sign of a fix — or even any real response from the Scriptcase team apart from a generic answer above.

Honestly, I don’t know what else to say about the support for this framework — it’s really disappointing. I’m extremely frustrated, because I still can’t work on my projects, and I’m already facing serious issues with my clients because of this.

I’ve invested in a lifetime license, and right now I feel stuck, unable to move forward, without any clear timeline or communication from the developers.

3 Likes

hi, could you try to use sc_select_where(add) ?

Thanks for the suggestion! I understand that sc_select_where(add) can dynamically insert the WHERE condition at runtime. I’ll try this workaround to bypass Scriptcase’s issue with global variable prompts not appearing after the first run.

Still, this shouldn’t be necessary — global variable handling worked fine before the update. But I’ll test it and get back with results.

"Still, this shouldn’t be necessary " . you are right but i think the major goal is to have the application run fine. Also you could try to place in scripipinit something like: [glob_var]=[glob_var];

Sometimes you work around the problem. [glob_var]=[glob_var] is sometimes a solution. Sometimes globals get lost in situations where you need a blank to fix the issue. I have a similar issue open for quite some time where a global in an application link is passed, but not picked up by the linked application. Looks pretty similar to this problem. But if you use a blank, you will notice that the variable is sent.

The update version 9.12.007 (15) came out, where it says that there is an arrangement of global variables, I updated but I still have the same problem. The same error.

the same problem i have too , and i already write a ticket