Date mismatch between ‘Filter Message’ and ‘Custom Internal Note’ in Service Request
Hi,
Date Show different in 'Filter Message' and Custom internal Note Section in Service Request.
Javascript Action chain code for 'Custom Internal Note'.
define([
'vb/action/actionChain',
'vb/action/actions',
'vb/action/actionUtils',
], (
ActionChain,
Actions,
ActionUtils
) => {
'use strict';
class getall_serviceRequests_messagesFetch extends ActionChain {
/**
* @param {Object} context
* @param {Object} params
* @param {{hookHandler:'vb/RestHookHandler'}} params.configuration
*/
async run(context, { configuration }) {
const { $page, $flow, $application, $base, $extension, $constants, $variables } = context;
const callRestEndpoint1 = await Actions.callRest(context, {
endpoint: 'oracle_cx_serviceUI:serviceRequests/getall_serviceRequests-messages',
uriParams: {
serviceRequests_Id: $base.variables.srNumber,
},
responseType: 'getallServiceRequestsMessagesResponse',
hookHandler: configuration.hookHandler,
requestType: 'json'
});
// Process items (clean HTML + format date)
0