Busca respuestas existentes a tus preguntas de productos y soporte.
Familiarízate con nuestro sitio de soporte y aprende las mejores prácticas sobre trabajar con nuestro equipo.
Manejar Peticiones de Servicio. Ve y actualiza peticiones de servicio tuyas o de otros miembros de tu organización.
Reporta un nuevo problema a nuestro equipo de soporte técnico.
Conocimientos sobre el Servicio Oracle B2C por parte de expertos en el área de nuestro equipo de soporte técnico.
Explora recursos que serán útiles para poner en marcha tu implementación y asegurar un lanzamiento exitoso.
Accede a tu cuenta OCI.
Encuentra documentación del producto para versiones vigentes de B2C y bibliotecas de documentación para soluciones de servicio relacionadas.
Tendrás las herramientas para mejorar la experiencia de los clientes al aprender todo lo que nuestro producto es capaz de hacer.
Encuentra enlaces para la documentación de APIs, Procesos Personalizados, Portal de Clientes, y la Estructura Extensible de la Interfaz de Usuario del Navegador para Agentes (BUI).
Explora cómo los aceleradores son diseñados para demostrar cómo un escenario de integración podría ser construido usando integraciones públicas y las capacidades de extensión del servicio de Oracle B2C.
Prepárate para una transición exitosa al revisar cambios y mejoras próximas a ser lanzados.
Explora webinarios, eventos, y kits de características para aprender sobre las características, funcionalidades, y mejores prácticas para el Servicio B2C brindado por técnicos expertos en el área.
Oracle MyLearn ofrece un portafolio de recursos de aprendizaje basados en un modelo de suscripción gratuito y de paga para adquirir habilidades valiosas, acelerar la inclusión de la nube, incrementar la productividad, y transformar tu negocio.
Empodera a tu equipo con las habilidades para implementar, configurar, manejar, y usar tus aplicaciones con el Entrenamiento de la Nube para la Experiencia del Cliente.
Nuestro objetivo es facilitar un entorno amigable y solidario, donde los miembros pueden colaborar fácilmente entre ellos sobre soluciones y mejores prácticas.
Realiza y responde preguntas específicas a B2C.
Este es un recurso fascinante con el propósito de ayudar con el Análisis de la Nube del Servicio de Oracle.
Comparte ideas de cómo mejorar el producto y solicitudes de mejoras con el equipo de desarrollo de Oracle, mientras colaboras con otros clientes y socios de Oracle.
Actualiza tu número telefónico, preferencias de notificaciones por correo electrónico, y preferencias de contacto para incidentes de severidad 1 y 2.
Consulta los gestores de contactos dentro de tu organización.
Encuentra información de contacto del Gerente Técnico de Cuentas (TAM), y el Gerente de Éxito de Clientes (CSM) para tu organización.
Environment:
Process Designer, Custom Processes (CPM)All product versions
Resolution:
Click here to view product documentation on 'Best Practices: Testing Object Event Handler Scripts'. The following can be helpful in addition to the information provided in the product feature documentation.
The following best practices and guidelines are important to understand when creating and testing object event handler scripts:
Ensure that any asynchronous CPM scripts using PHP curl have set the curl timeout to a value smaller than the maximum runtime for a CPM custom process script (157 seconds). A value of five seconds or under is highly recommended, as any external call through a CPM can cause queue delays in processing of the queue. There is a maximum of three asynchronous CPM processes running at a time, and if any of them are waiting on the response from an integration call this is going to reduce the speed that the queue is able to process. A value of 155 seconds is the maximum that should be used. The following is an example:
curl_setopt($curl, CURLOPT_TIMEOUT, 5);
For further details see Answer ID 11903: Coding for PHP curl call timeouts and re-tries in CPM customiizations
The utility that processes asynchronous CPMs may already have PHP curl loaded from a previous CPM run in the process. For this reason, we need to ensure that the following check is performed before loading the libraries, to prevent any code failures:
if(!extension_loaded('curl')) { load_curl(); }
For further details see Answer ID 10789: Use of load_curl() function in multiple scripts
PHP file_get_contents is not allowed in CPM customizations. Use PHP curl instead.
A database commit is run automatically after CPMs have processed. Add API commit statements to the code only when necessary, or if it will be somehow useful to troubleshoot a problem, as API commit statements in CPM code adds overhead to processing and can make troubleshooting at a deeper level (using server trace files when appropriate, for example) much more complex. API commit statements can be useful when using PHP curl, however, and for further details see Answer ID 11387: Commit before making cURL calls in a Customer Portal CPHP customization
Excessive API save statements on the same object should be avoided, as each save can trigger CPMs and business rules (depending on the particular implementation). Extra saves add unnecessary processing overhead and result in added complexity when troubleshooting problems that may come up. Save the object after modifications have been applied, and before the CPM code completes.
Do not destroy the object that triggered a CPM within the CPM code itself, as this is considered an invalid use case and will cause unexpected problems.
For file-based logging, close resource handles promptly. This is particularly important if an asynchronous CPM customization is logging between save and commit operations. If the CPM were to be triggered concurrently for the same object, this could cause resource contention as one thread waits for the database lock and the other waits for the file handle.
Keep the following points in mind when testing an object event handler script before deployment:
The test harness code will be run for each action defined in the comments/"flower basket" section of the script.
Tests from the Process Designer will not commit any changes to the database. Rather, all objects created and/or updated during a test are rolled back automatically when the test is complete.
For further information refer to Answer ID 5169: Technical Documentation and Sample Code
Answer ID 6604: There are two types of execution for Object Event Handlers
Answer ID 11934: Alternatives to using CPM customizations for event-driven functionality that needs to happen immediately