Workflow

How to Create a CRM Task

Verified end to end. A demo CRM task was created from the Tasks list and verified through the task DataTable endpoint.

Evidence Summary

Workflow run
crm-task-20260519T094141Z
Created task
431
Subject
AI Demo CRM Task 20260519T094141Z
Task type
ToDo
Responsible employee
Demo / codempr=1

CRM task creation workflow diagram

Before You Start

Create the Task

  1. Click New task.
  2. Fill the required Subject field.
  3. Confirm the required Estimated End Date. The demo defaulted to 19/05/2026.
  4. Fill the required Time field.
  5. Select Priority: Standard, High, or Low. The verified workflow used Standard, stored as Prioridade=N.
  6. Select Task Type when applicable. The verified workflow used ToDo.
  7. Confirm Employee responsible. The demo defaulted to Demo, stored as codempr=1.
  8. Optionally choose an Entity Type and related Customer, Collaborator, Supplier, Prospect, or Commercial record.
  9. Click Save.

Verified Payload

The Save button serializes #form_novatarefa and posts it to the central AJAX endpoint.

FieldVerified valueMeaning
actioncreateNovaTarefaCreate a new CRM task.
AssuntoAI Demo CRM Task 20260519T094141ZTask subject.
data19/05/2026Estimated end date.
hour / minute / hora16 / 45 / 16:45Estimated end time.
PrioridadeNStandard priority.
CodTipoEvToDoTask type.
codempr1Responsible employee.
tipotercemptyNo related entity selected.

Confirm the Task

  1. Return to /crm/tarefas.
  2. Search the task list by the task subject.
  3. Confirm the row appears with the expected code, subject, task type, end date/time, status, execution percentage, and priority.

The verified dt_tarefas lookup returned one matching row: task 431, subject AI Demo CRM Task 20260519T094141Z, CodTipoEv=ToDo, FDataPrevRealiz=19/05/2026 16:45, Realizado=F, perc_execution=0, and Prioridade=N.

This was the state immediately after creation. A later verified completion workflow updated the same task to subject AI Demo CRM Task 20260519T094141Z Completed, Realizado=T, and perc_execution=100.

Artifacts