Validate Command
The validate command validates the deployed configurations in Asset 360 orgs. When you use the validate command, the deployment of configuration items is validated against the target org.
The following table provides the validate command information.
Command Options/Arguments
Description
Command:
$ sf svmx validate [-t <array>] [-n <array>] [-p <string>] [-o <string>] [-c <string>] [--apiversion <string>]
[--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
-t
Used to specify the Asset 360 configuration types to validate.
* 
Specify the configuration types in a comma-separated string.
For information about configuration types you can pass as arguments, see the table in the retrieve command.
-n
Used to specify the configuration developer name.
-p
Used to specify the path of the stored configuration JSON files.
-o
Used to specify the org username or the alias for the target org. This value overrides the default target org.
-c
Used to specify the name of the json file that contains information as to which configurations must be validated.
--apiversion
Used to specify the API version. This overrides the API version used for API requests made by this command.
--json
Used to specify that the output format is JSON.
--loglevel
Used to specify the logging level. The available options are (trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL).
The default logging level is WARN.
The following table lists the available validate commands:
Command
Description
Example
svmx validate
Used to validate all the available configurations.
sf svmx validate -o user@salesforce.com
sf svmx validate -o user@salesforce.com -t Expression,Mapping,TechnicalAttribute
sf svmx validate -o user@salesforce.com -c configuration.json
svmx validate assethierarchy
Used to validate asset hierarchy configurations.
sf svmx validate assethierarchy -o user@salesforce.com
svmx validate assettimeline
Used to validate asset hierarchy configurations.
sf svmx validate assettimeline -o user@salesforce.com
svmx validate entitlementrule
Used to validate auto-entitlement rules.
sf svmx validate entitlementrule -o user@salesforce.com
svmx validate esarule
Used to validate entitled service assignment rules.
sf svmx validate esarule -o user@salesforce.com
svmx validate expression
Used to validate expressions.
sf svmx validate expression -o user@salesforce.com
sf svmx validate expression -o user@salesforce.com -n <DEVELOPER_NAME,...>
svmx validate :mapping
Used to validate mappings.
sf svmx validate mapping -o user@salesforce.com
svmx validate parule
Used to validate pricebook assignment rules.
sf svmx validate mapping -o user@salesforce.com
svmx validate screen
Used to validate screen configurations.
sf svmx validate screen -o user@salesforce.com
svmx validate transaction
Used to validate transactions.
sf svmx validate transaction -o user@salesforce.com
svmx validate wizard
Used to validate wizards.
sf svmx validate wizard -o user@salesforce.com
svmx validate psc
Used to validate PSC configurations.
sf svmx validate psc -o user@salesforce.com
svmx validate techattr
Used to validate asset technical attributes.
sf svmx validate :techattr -o user@salesforce.com
svmx validate mobileconfig
Used to validate mobile configurations.
sf svmx validate mobileconfig -o user@salesforce.com
Was this helpful?