Integrate custom controls
-
- UpdatedAug 3, 2023
- 3 minutes to read
- Vancouver
- Virtual Agent
The Vancouver release is no longer supported. As such, the product documentation and release notes are provided for informational purposes only, and will not be updated.
Implement and leverage custom controls built using the custom control framework in your integration.
Before you begin
Role required: virtual_agent_admin or admin
About this task
Map custom controls to a provider channel.
- Implement custom controls created in Flow Designer
- Use the example script to implement custom controls created in Flow Designer.Example: Custom controls supportExample: Custom controls script
- Implement a provider-specific transformation of a custom control
- You can implement a provider-specific transformation for each custom control by using the Sub type field in the Custom Adapter Configuration [sys_cs_custom_adapter_config] table. You can publish a newer version of a custom control or a pre-built, ServiceNow custom control, also referred to as a default custom control, if needed. This involves publishing the appropriate Inbound and Outbound Flow Designer action scripts and updating the configuration in the Custom Adapter Configuration [sys_cs_custom_adapter_config] table.
- If you're publishing your own version of a ServiceNow custom control, overwrite the custom control record in the Custom Adapter Configuration table with your own Inbound and Outbound action script names.
- Only one record with the same Sub type is allowed. If the same custom control is implemented by two different parties, only one can update the existing record with new Inbound and Outbound transformers.
Note: Once you override an existing custom control record, the system uses the new version of the custom control. For example, transformation scripts can transform multiple custom controls, such as Time Picker and Auth. If you add a Time Picker control with different inbound and outbound transforms, the newer Time Picker control is used. You cannot revert to the original version of the custom control.
Procedure