---
schema_version: "1"
id: 9db62de86ef9b42e6ea8cf2ffd2e99eb2f06b840af56957f29ee7004865a5d32
title: Update Remote Actions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_migrate_update_integration_procedure_remote_actions_after_migration.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_migrate_update_integration_procedure_remote_actions_after_migration.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 76a97c741ba82502d9caa70214bde6d90f4930f9fe6ac4e8db2d9b3285874be5
description: To ensure that remote actions work as expected after you migrate from Omnistudio for Managed Packages to Omnistudio, update any Apex classes used in remote actions with the correct syntax.
products:
  - Omnistudio
release: "264"
---
# Update Remote Actions

To ensure that remote actions work as expected after you migrate from Omnistudio for Managed Packages to Omnistudio, update any Apex classes used in remote actions with the correct syntax.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

In custom runtime, you implement the `VlocityOpenInterface` class in any Apex class that uses remote actions.

In standard runtime, you implement the `System.Callable` class.

1. Replace any instances of `VlocityOpenInterface` with `Callable`.
2. Add this code to the class.
    
    ```
    public Object call(String action, Map<String,Object> args)
    {
        Map<String,Object> inputMap = (Map<String,Object>)args.get('input');
        Map<String,Object> outMap = (Map<String,Object>)args.get('output');
        Map<String,Object> options = (Map<String,Object>)args.get('options');
    
        return invokeMethod(action, inputMap, outMap, options);
    }
    ```