``` var taskId = task.create({ taskType: task.Tas...
# suitescript
j
Copy code
var taskId = task.create({
	taskType: task.TaskType.WORKFLOW_TRIGGER,
	params: {},
	recordType: 'customrecord_123,
	recordId: '1',
	workflowId: 'customworkflow_123'
}).submit();