Generate REST message variables You can automatically populate the list of variable substitutions, based on variables defined in several REST message HTTP method fields. Before you beginRole required: web_service_adminBefore starting this procedure, create a REST Message record with at least one HTTP method that uses variables. Procedure Navigate to System Web Services > REST Message. Select a REST Message record. Select a method from the HTTP Methods related list. Click the Auto-generate variables related link. The Variable Substitutions related list is automatically populated for any variables defined in the HTTP Method Endpoint field and the HTTP Headers and HTTP Query Parameters embedded lists. For POST and PUT messages, variables defined in the Content field are also used. What to do nextYou can use the REST Message workflow activity to send the message, or click Preview Script Usage to get a sample script. The sample script includes a setStringParameter call for each defined variable substitution that allows you to assign a value to the variable in your script.