Add a string variable

This is a standard text string or a custom series of alphabetical, numerical, and symbolic characters. Its size is limited only by available system resources.

Add a string variable to a task sequence

In a task sequence, you can add a string variable to an Update Data data action. For example, 

  1. From the Toolbox, expand the Data category and drag an Update Data action to the desired location in the task.
  2. On the Update Data design form, in the Name field, add a meaningful name to describe the item.
  3. Click next to Update Statements and select  String.
  4. In the Variable Name field, type the label to identify the variable on tasks.
  5. In the Value To Assign field, do one of the following:
    • To set the value from literal mode, type the string inline.
    • To set the value using an expression, click the expression modes button and perform one of the following steps:
      • Add the expression inline.
      • Click to open the large expression editor and build your expression.
  6. (Optional) To add another String variable, click next to Update Statements