Hi Venu ,
The same issue I have faced, yes it's correct only ..
First read all the workitems using workflow collection , then filter the workflow item which is created recently and apply decision on that item id..
While creating workflow in swdd it will show some id and while trying to execute system will show different id.
So, after creating a new task in demoformabs, execute the get query on wokflowtask collection, then copy the recent work item and execute the apply decision .
this will help for sure .
Regards,
Lokeswar.