Answered question

How to use clearRuntimeVariables()?

Hi,

I need some help to clear down all the runtime variables for a logged in user. I've seen in the documentation that the method clearRuntimeVariables() can be used for this. Are you able to provide details or an examples of how to implement that?

Ajaz Z.
Ajaz Z.

Ajaz Z.

Level
0
23 / 100
points

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful

Other answers

Ajaz Z.
Ajaz Z.

Ajaz Z.

Level
0
23 / 100
points

Hi Nouredine,

I already tried that but get a Get a JS-ERROR EVAL response code.

ReferenceError:"clearRuntimeVariables" is not defined. (Script=clearRuntimeVariables;Line=1)

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

context.currentVU.clearRuntimeVariables();
context.currentVU.closeConnections();