I have created a form name covidform and on task.js i have written some code for that code to show but i am unable to see that task for person anywhere in my app. The code on tasks.js as follows:
Unless I am missing something, with this configuration I would expect a task to be displayed for each person that has been created in the last 7 days. The events.days value is based on the contact’s creation date when no dueDate is specified. Is this your desired behavior? If you create a new person, do you see a task generated for that person?
I just want to know more about the task and tried to create simple task for that and I have created a new person to check the task but still there is no task generated for that person .
Are you getting any error messages? If not, could you please try testing task using harness methods as described in documentation? Please let us know how it goes.