Question

Create New Record in a Table using Client Script.

  • 15 April 2024
  • 1 reply
  • 27 views

Badge +6

Dears,

 

Please let us know how to create new records into a table using Client Script.

 

Thanks & Regards,

Narsing


1 reply

Userlevel 6
Badge +26

Hi @Narsing Rao 

you did not say which client this is for.

You can use for the Webclient the following example to create a task.

var createdTask = createInsertRequest('task', {request_id: '123', task_template_id: 'ABC_TEMPLATE'});
var executeResponse = executeRequest(createdTask);
if (executeResponse != null && executeResponse.$type == 'ErrorResponse')
{
displayUserToast(response.message, 'error');
}

Cheers!

Reply