foreach loop container

  • hi,

    im using a for each loop file enumerator to load many excel files into database. im having ten tasks in the container. my problem is when any one task failed for a file, the container have to leave the remaining tasks for that file and move on to execute other files.

    by setting ForceExecutionResult to Success the container is executing all the tasks. but i dont want that. wat i need is if 3rd task fails means 4th task should not run for that particular file. but for the next file all the tasks should run continuously.

    i think u understand my problem

    can anyone help me

    with kindest regards,

    kart

  • Put a sequence container around the 4 tasks. Have the 4 tasks fail with their default settings. Set the sequence container ForceExecutionResult to success.

    This should make the task failure bump the execution back up to the sequence container and move to the next file in the loop.

  • hi,

    thanks for your help..

    i found one more solution also.. by giving the maximum error count value to a large value we can do the same thing

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply