Skip to Content
author's profile photo Former Member
Former Member

background task put back the Work item in the inbox.

Hi experts,

I have a WF where at one stage the user ends on a decision task where he selects an option for wich an task need to be executed in background.when the task finishes the WF returns to the decision task which is assigned to the same person. but because of the intermediate background task the Work item finishes and the user need to reselect the WI in his inbox.

is there a way to keep the WI active, so it doensn't return in the inbox of the end user.

this works fine when 2 subsequent tasks are assigned to the same user, for the end user the WF stayed on his screen.

that's what I want to simulate here.

end user select an option, background task executed and the end user have the next decistion task automatically displayed whithout having to go to his inbox and reselect the work item.

any idea ?

regards,

Abdelaltif

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 02, 2006 at 03:40 PM

    hi,

    In the step definition there's an option called continue with dialog, set this one active for all of the steps, this will continue executing workitems until one goes into error or when a user is needed (it's explained if you press F1 on the checkbox)

    Kind regards, Rob Dielemans

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 02, 2006 at 03:37 PM

    You need to convert the background task to a foreground task and have the agent for this task same as the agent for decision task. Also have the 'Advance with dialog' checked on this task.

    In this way the user will think that it is s background task but it is not. Instead it is executed in the foreground. Also since the agents for all the 3 tasks is same and have the 'Advance with dialog' switched on, the user will come back to the same decision screen without going back to the inbox.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      Definitely won't work. A different user breaks the dialog chain. The only way to get that to work is to start a new WF which runs independent of the current user context.

      Why bother with a background job? Using events is much easier, runs quicker and does the same. Simply create a custom event on the object, put a 'raise event' step where your background step is, and put your bg step into a new WF triggered by the event.

      Cheers,

      Mike

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.