CatCategory - Scoped

CatCategory API enables you to create and modify service catalog categories using scripts.

CatCategory - create(Boolean standardUpdate)

Insert the defined category.

Table 1. Parameters
Name Type Description
standardUpdate Boolean Set to true to enable the running of engines and workflow.
Table 2. Returns
Type Description
String Return the sys_id of the inserted variable record.


      
    

CatCategory - deleteRecord(Boolean standardUpdate)

Brief description of the method.

Table 3. Parameters
Name Type Description
standardUpdate Boolean
Table 4. Returns
Type Description
void


      
    

CatCategory - read(Object columns, Boolean standardUpdate)

Get a mapping of the category.

Table 5. Parameters
Name Type Description
columns Object Specify the set of columns that you would like the values for.
standardUpdate Boolean Set to true to enable the running of engines and workflow.
Table 6. Returns
Type Description
Object An object mapping column names to values.


      
    

CatCategory - setAttributes(Object attributes)

Define attribute values for this category.

Table 7. Parameters
Name Type Description
attributes Object Set the attributes for new field and value pairs.
Table 8. Returns
Type Description
void


      
    

CatCategory - setTableName(String tableName)

Define the table name for this category.

Table 9. Parameters
Name Type Description
tableName String Specify the name of the table that extends sc_category.
Table 10. Returns
Type Description
void

CatCategory - update(Object columnValues, Boolean standardUpdate)

Use to update current category.

Table 11. Parameters
Name Type Description
columnValues Object An object mapping column names to values.
standardUpdate Boolean Set to true to enable the running of engines and workflow.
Table 12. Returns
Type Description
void