Skip to main content

Dears,

 

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

 

Thanks & Regards,

Narsing

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