task created from blueprint not triggering/showing-up in function

task created from blueprint not triggering/showing-up in function

When a task is created it triggers a workflow function. (the function sets the owner)
I try to get the last task created by 
zoho.crm.getRecords("Tasks",0,1,{"sort_by":"Modified_Time","sort_order":"desc"

This works for other tasks created in Deal, but not for this one that is in the blueprint

I tried using wait before looking for the task like:
sleep = invokeurl
[
type :GET
detailed:true
];