on ‎2011 May 19 6:37 AM
Hi,
My background task is giving the error "task not fully defined" even though i have specified the object and method and tick as background processing...also i tried assigning GENERAL task to it but it told me that it is not required for background tasks
Request clarification before answering.
Hi,
If you are using the asynchronous method then you need to use a terminating event at task level.
Generally background task should be synchronous type.
Thanks and regards,
SNJY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
DId you try to enable the check box Synchronous Object Method Check box. PLease check.
Regards
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi pavan
thanks for a quick reply..i highly appreciate it....when i make it as synchronous it works and i do not get that error...
but my question is why do i need that method to be synchronous--my method is not sending any response back to task..
does that mean that all background or dialog task need to be sync
Hi
Well, In breif, what I can say is It also depends on the properties of the method of BOR you are using . MAy be u might have enabled the check box Synchronous of BOR MEHTOD. if you try to disable it and in this case I think the above mentioned check box might not even appear at the task level when you attach the bOR and its repective asynchorunous method.
AS you said that your method does not returning back anything to the workflow container.. BUt still it is a synchrounous it has comet to know that the task execution has completed and it proceeds to the next step. But in the case of asynchrounous task type you need to raise a terminating event to make the workflow understand that the task has got completed its activity.
You can see a method of BOR webservcie PROCESS DIALOG where it is a asynchornous and to complete that task we have to rasie the event of the same BOR event COMPLETED.
That's what I can say in breif.'
Regards
Pavan
Edited by: Pavan Bhamidipati on May 19, 2011 11:27 AM
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.