--- title: "Variables Action" slug: "variables-actions" description: "How to set a variable in RapidIdentity Connect." tags: ["RapidIdentity ", "Connect", "Variable", "Actions"] updated: 2022-06-03T14:01:24Z published: 2022-06-03T14:01:24Z canonical: "help.rapididentity.com/variables-actions" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.rapididentity.com/llms.txt > Use this file to discover all available pages before exploring further. # Variables Actions ## Variables Action ### setVariable Set the value of variable. | Property | Value | Description | | --- | --- | --- | | name* | expression, variable | the name of the variable | | value* | text, expression, variable | the value of the variable | ```actionscript varNumber = 5 varString = "Hello" varExpression = user.sn + ", " + user.givenName varCallJava = new java.util.HashMap() ```