CatalogItemVariable - Scoped

CatalogItemVariable API enables you to create and modify service catalog item variables using scripts.

CatalogItemVariable - create(Boolean standardUpdate)

Insert the defined catalog item variable.

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.

CatalogItemVariable - deleteRecord(Boolean standardUpdate)

Delete the defined catalog item variable.

Table 3. Parameters
Name Type Description
standardUpdate Boolean Set to true to enable the running of engines and workflow.
Table 4. Returns
Type Description
void


      
    

CatalogItemVariable - read(Object columns, Boolean standardUpdate)

Get a mapping of catalog item variable attribute values.

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.


      
    

CatalogItemVariable - setAttributes(Object attributes)

Define attribute values for this catalog item variable.

Table 7. Parameters
Name Type Description
attributes Object An object mapping column names to values.
Table 8. Returns
Type Description
void


      
    

CatalogItemVariable - update(Object columnValues, Boolean standardUpdate)

Use to update current catalog item variable with set values.

Table 9. 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 10. Returns
Type Description
void