cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

taskl not fully defined

former_member206760
Active Contributor
0 Likes
4,198

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

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

Answers (1)

Answers (1)

bpawanchand
Active Contributor
0 Likes

Hi

DId you try to enable the check box Synchronous Object Method Check box. PLease check.

Regards

Pavan

former_member206760
Active Contributor
0 Likes

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

bpawanchand
Active Contributor
0 Likes

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

former_member206760
Active Contributor
0 Likes

Hi guys,

Got it.....can you brief me more on how i can raise a terminationg event in a async method...a small example would be very good

Former Member
0 Likes

Hi,

Just check if any exist in your system.

There are plenty of examples to be found that way.

Search table HRS1201, background = X and Synchron = blank

Kind regards, Rob Dielemans