As jeroen says: retrieve from the database the task which meets the condition “Task already exists”
In other words apparently a task can already exist. So what is the definition of “existing” is it a task description, name, date or…?
Use that to constrain you retrieve
As example when date is the definition of existing
Retrieve entity Task
XPath: [Date = '[%BeginOfCurrentDay%]’]
If an object is returned, then the tasks exists and no task must be created. If no object is returned, create task.
Hi Shivani, Can’t you retrieve the the task on that date for the user from the database, if it already exists then you don’t need to create a new task and if the result is ‘empty’ then you can create the task.