webMethods Integration Cloud and Cloud Deployment Documentation 6.0.0 | webMethods Integration Cloud | Document Types | Applying Constraints to a Variable
 
Applying Constraints to a Variable
You apply content constraints to variables in the document types that you want to use as blueprints in data validation.
* To apply constraints to a variable
1. Select a document type from the Document Types page and click Edit. Select a field to view the Field Properties panel.
You apply constraints to variables in document types declared on the Input/Output tab. If the selected variable is a String or String list and you want to specify content constraints for the variable, then do the following:
*If you want to use a content type that corresponds to a built-in simple type in XML schema, in the Content type list, select the type for the variable contents. To apply the selected type to the variable, click Save.
2. Repeat this procedure for each variable to which you want to apply the constraints in the document type and click Save.

Copyright © 2014- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.