The following example updates the ServiceNow synchronization settings for the item.





Code Sample

# Gets the current ServiceNow synchronization settings for the item with the specified item identifier.

$settings = $xia.GET_ServiceNowItemSynchronizationSettings(37663);


# Modify the settings.

$settings.Enabled = $true;

$settings.ServiceNowIdentifier = [System.Guid]::Parse("82e0ca66-42cb-4c0e-a2c1-c7d0709761cf");


# Commit the changes to the ServiceNow synchronization settings.

$xia.SET_ServiceNowItemSynchronizationSettings($settings);