Create a custom metadata type to represent work types and work type groups. Mulesoft
retrieves the Work Type ID and Work Type Group ID from the custom metadata type to categorize the
type of service required for a vehicle. For example, if the Diagnostic code represents an engine
malfunction, Mulesoft can map the work type group as Critical Services and the work type as Engine
Repair.
Required Editions
| Available in: Enterprise, Unlimited, and Developer
Editions. |
| User Permissions Needed |
| To create custom objects: |
System Administrator |
-
From Setup, in the Quick Find box, enter Custom Metadata Types and
then select Custom Metadata Types.
-
On the All Custom Metadata Types page, click New Custom Metadata
Type.
-
For Label, enter QC Mule Auto Setting.
-
For Object Name, enter QC_Mule_Auto_Setting__mdt.
-
For Visibility, select All Apex code and APIs can use the type, and it's
visible in Setup.
-
Click Save.
-
Under Custom Fields, click New.
-
Select Data Type as Text.
-
Click Next.
-
For Field Label, enter Value.
-
For API Name, enter Value_c.
-
Select Field Manageability as Upgradable.
-
Click Next.
-
Click Save.
-
On the QC Mule Auto Setting page, click Manage QC Mule Auto
Settings.
-
Click New.
-
Enter Label and Name as Repair_Estimate_Expression_Set_Name.
-
Save your changes.
-
Click New.
-
Enter Label as Work Type Group Id.
-
Enter Name as WORKTYPEGROUP_ID.
-
Save your changes.
-
Click New.
-
Enter Label as Work Type Id.
-
Enter Name as WORKTYPE_ID.
-
Save your changes.