Using the Validate Command
This command validates the ServiceMax Core configurations in the ServiceMax-installed Salesforce orgs. Using this command, you can validate the deployment of configuration items against the target org.
The following table provides the svmxc:validate command information.
Command Options /Arguments
Description
Command:
$ sfdx svmxc:validate [-t <array>] [-n <array>] [-p <string>] [-u <string>] [-c <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
-t
Used to specify the ServiceMax Core 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 validate command.
-n
Used to specify the configuration developer name.
-p
Used to specify the path of the stored configuration JSON files.
-u
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
Examples
svmxc:validate
Used to validate all the available configurations.
sfdx svmxc:validate -u user@salesforce.com
sfdx svmxc:validate -u user@salesforce.com -t Expression,Mapping
sfdx svmxc:validate -u user@salesforce.com -c configuration.json
svmxc:validate:expression
Used to validate expressions.
sfdx svmxc:validate:expression -u user@salesforce.com
sfdx svmxc:validate:expression -u user@salesforce.com -n <DEVELOPER_NAME,...>
svmxc:validate:dvr
Used to validate Data Validation Rules
sfdx svmxc:validate:dvr -u user@salesforce.com
svmxc:validate:mapping
Used to validate mappings.
sfdx svmxc:validate:mapping -u user@salesforce.com
svmxc:validate:opdoc
Used to validate Output Documents
sfdx svmxc:validate:opdoc -u user@salesforce.com
svmxc:validate:checklist
Used to validate Checklists
sfdx svmxc:validate:checklist -u user@salesforce.com
svmxc:validate:screen
Used to validate screen configurations.
sfdx svmxc:validate:screen -u user@salesforce.com
svmxc:validate:transaction
Used to validate transactions.
sfdx svmxc:validate:transaction -u user@salesforce.com
svmxc:validate:wizard
Used to validate wizards.
sfdx svmxc:validate:wizard -u user@salesforce.com
svmxc:validate:inventory
Used to validate Inventory Process.
sfdx svmxc:validate: inventory -u user@salesforce.com
svmxc:validate:mobilepermission
Used to validate the Mobile Permissions.
sfdx svmxc:validate:mobilepermission
svmxc:validate:apppermission
Used to validate the SFW SFM App permissions.
sfdx svmxc:validate:apppermission -u username of user@salesforce.com
svmxc:validate:mobileconfig
Used to validate the Mobile Configuration.
sfdx svmxc:validate:mobileconfig -u username of user@salesforce.com
svmxc:validate:eventsubjectrule
Used to validate the Event Subject Rule.
sfdx svmxc:validate:eventsubjectrule -u,
username of user@salesforce.com
svmxc:validate:triggercontrol
Used to validate the Trigger Controls.
sfdx svmxc:validate:triggercontrol -u, username of user@salesforce.com
svmxc:validate:featurepermission
Used to validate the Feature permission.
sfdx svmxc:validate:featurepermission -u, username of user@salesforce.com
svmxc:validate:techattr
Used to validate the Technical Attributes.
sfdx svmxc:validate:techattr -u,
username of user@salesforce.com
svmxc:validate:customactions
Used to validate the Custom Actions.
sfdx svmxc:validate:customactions -u,
username of user@salesforce.com
svmxc:validate:availableservice
Used to validate the Available Services.
sfdx svmxc:validate:availableservice -u,
username of user@salesforce.com
svmxc:validate:territory
Used to validate the Territory.
sfdx svmxc:validate:territory - u,
username of user@salesforce.com
svmxc:validate:territoryrule
Used to validate the Territory Matching Rule.
sfdx svmxc:validate:territoryrule - u,
username of user@salesforce.com
svmxc:validate:techrule
Used to validate the Technician Rule.
sfdx svmxc:validate:techrule -u,
username of user@salesforce.com
svmxc:validate:autoentitlement
Used to validate the Auto Entitlement.
sfdx svmxc:validate:autoentitlement -u,
username of user@salesforce.com
svmxc:validate:counterrule
Used to validate the Counter Rules.
sfdx svmxc:validate:counterrule - u,
username of user@salesforce.com
svmxc:validate:spm
Used to validate the SPM.
sfdx svmxc:validate:spm - u,
username of user@salesforce.com
svmxc:validate:iotapex
svmxc:validate:iotobject
Used to validate the IOT Map To Apex.
Used to validate the IOT Map To Object.
sfdx svmxc:validate:iotapex - u, username of user@salesforce.com
sfdx svmxc:validate:iotobject - u, username of user@salesforce.com
svmxc:validate:ibsetup
Used to validate the IB Application Setup.
sfdx svmxc:validate:ibsetup -u,
username of user@salesforce.com
svmxc:validate:pmplantemplate
Used to validate the PM Plan Template.
sfdx svmxc:validate:pmplantemplate -u,
username of user@salesforce.com
svmxc:validate:serviceteam
Used to validate the Service Team.
sfdx svmxc:validate:serviceteam -u,
username of user@salesforce.com
svmxc:validate:mttsrule
Used to validate the MTTS Rule.
sfdx svmxc:validate:mttsrule -u,
username of user@salesforce.com
svmxc:validate:dispatchprocess
Used to validate the Dispatch Process.
sfdx svmxc:validate:dispatchprocess -u,
username of user@salesforce.com
svmxc:validate:timesheet
Used to validate the Timesheet Process.
sfdx svmxc:validate:timesheet -u,
username of user@salesforce.com
svmxc:validate:sfa
Used to validate the Service Flow Automation.
sfdx svmxc:validate:sfa -u, username of user@salesforce.com
svmxc:validate:fieldinventory
Used to validate the Field Inventory.
sfdx svmxc:validate:fieldinventory -u,
username of user@salesforce.com
svmxc:validate:pmprocess
Used to validate the PM Process.
sfdx svmxc:validate:pmprocess -u,
username of user@salesforce.com
svmxc:validate:sfmsearch
Used to validate the SFM Search.
sfdx svmxc:validate:sfmsearch -u,
username of user@salesforce.com
svmxc:validate:slaterms
Used to validate the SLA Terms.
sfdx svmxc:validate:slaterms -u,
username of user@salesforce.com
svmxc:validate:eventhoverrule
Used to validate the Event Hover Rule.
sfdx svmxc:validate:eventhoverrule -u,
username of user@salesforce.com
sfdx svmxc:validate:dcfieldupdate
Used to validate the DC Field Update.
sfdx svmxc:validate:dcfieldupdate -u, username of user@salesforce.com
sfdx svmxc:validate:fcoconfig
Used to validate the FCO Configurations.
sfdx svmxc:validate:fcoconfig -u, username of user@salesforce.com
sfdx svmxc:validate:datalookuprule
Used to validate the Data Lookup Rule.
sfdx svmxc:validate:datalookuprule -u, username of user@salesforce.com
sfdx svmxc:validate:timeline
Used to validate the Timeline.
sfdx svmxc:validate:timeline -u, username of user@salesforce.com
sfdx svmxc:validate:skillmatchrule
Used to validate the Skill Match Rule.
sfdx svmxc:validate:skillmatchrule -u, username of user@salesforce.com
sfdx svmxc:validate:dcview
Used to validate the DC View.
sfdx svmxc:validate:dcview -u, username of user@salesforce.com
sfdx svmxc:validate:tasktemplate
Used to validate the Task Template.
sfdx svmxc:validate:tasktemplate -u, username of user@salesforce.com
sfdx svmxc:validate:invoiceprocess
Used to validate the Service Proforma Invoice Process.
sfdx svmxc:validate:invoiceprocess -u, username of user@salesforce.com
sfdx svmxc:validate:sconinvoiceprocess
Used to validate the Service Contact Proforma Invoice Process.
sfdx svmxc:validate:sconinvoiceprocess -u, username of user@salesforce.com
sfdx svmxc:validate:pulse
Used to validate the Push Notification.
sfdx svmxc:validate:pulse -u, username of user@salesforce.com
sfdx svmxc:validate:warrantyterms
Used to validate the Warranty Terms.
sfdx svmxc:validate:warrantyterms -u, username of user@salesforce.com
sfdx svmxc:validate:appointmenttype
Used to validate the Ranked Appointment Booking.
sfdx svmxc:validate:appointmenttype -u, username of user@salesforce.com
sfdx svmxc:validate:dchover
Used to validate the Dispatch Console Hover.
sfdx svmxc:validate:dchover -u, username of user@salesforce.com
sfdx svmxc:validate:scheduledsfm
Used to validate the Scheduled SFM.
sfdx svmxc:validate:scheduledsfm -u, username of user@salesforce.com
sfdx svmxc:validate:serviceplan
Used to validate the Service Plan.
sfdx svmxc:validate:serviceplan -u, username of user@salesforce.com
The following is a sample screen of the svmxc:validate command run and the output.
Was this helpful?