Waiting on onTaskComplete for all tasks

Context: WebLogic Integration 8.1.2, Worklist Application
Hi,
Iam using a business process with Task factories to create and assign a number
of tasks to different users. Each task created will be assigned to a single user.
In the process i've to wait for all the users to complete the task before the
process goes ahead. Iam not able to achieve this because the task factory onTaskComplete
returns as soon as one among the users completes the task.
Is there any way to achieve this.
Cheers
R.

"Raja" <[email protected]> wrote:
The onTaskComplete callback of task factory receives also the Task, you can have
a list for pending tasks, and get them out as completed.
>
Context: WebLogic Integration 8.1.2, Worklist Application
Hi,
Iam using a business process with Task factories to create and assign
a number
of tasks to different users. Each task created will be assigned to a
single user.
In the process i've to wait for all the users to complete the task before
the
process goes ahead. Iam not able to achieve this because the task factory
onTaskComplete
returns as soon as one among the users completes the task.
Is there any way to achieve this.
Cheers
R.

Similar Messages

  • Is there a way to allow setting of "Due Date for All Tasks" to current date in OOB Workflow

    Is there a way to allow setting of "Due Date for All Tasks" to current date in OOB Workflow
    I need to set it today because there are tasks that is needed to be completed on the same day.
    Is there a way without modifying the page/form. like a configuration or something?
    ----------------------- Sharepoint Newbie

    Hi ,
    As Ajeet said,  for implement your requirement, you can change the data validation on the Due data field.
    You can do as the following :
    Open the site with SharePoint Designer 2010
    Click on Workflows on the left launch, then find ‘Approval-SharePoint 2010’, click on it
    On the Forms section, click ‘ReviewApproval_***.xsn’
    Then you can find Due Data for All Tasks, and change the validation
    In addition, if you create an approval workflow with SharePoint Designer, you can use a specific date, it contains hour and minute.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Difference between Due Date for All Tasks and Duration per task in an approval workflow

    Hello,
    I'm starting to read up and learn about approval workflows in Designer 2010.  I am confused by the fields "Due Date for all Tasks" and the "Duration per task".  I understand that the Due date for all Tasks is the date that all
    of the tasks in the workflow must be completed by.  And I understand that the duration means each task has x number of days to complete.
    But I dont know whey we need them both.  If I have the task duration set to two days and there are 3 tasks involved, then wouldn't the due date be 6 days from the start?  Why would I have a due date for all tasks that is completely different than
    the sum of the duration of days for each task? 
    Please help shed some light!

    Hi Michelle,
    Due date for all tasks, this setting specifies the date by which all tasks are due. It’s used for serial and parallel
    task.
    Duration per tasks, this setting specifies the date by which an individual
     task is due, it’s used for serial workflow participants.
    Note, when you create an approval workflow, select task process participants(approvers oob approval workflow), we can also
    select once at a time(serial) or all at once(parallel).
    For more information, see
    http://office.microsoft.com/en-us/sharepoint-server-help/use-an-approval-workflow-HA101793831.aspx
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Return the scheduled start date from one task to a custom field for all tasks

    Hi all
    I am trying populate an entire custom task date field with the scheduled start date of one of the tasks. I thought the easiest way would be to:
    1) identify the date I need with a custom task flag field set to 'yes'
    2) create a formula to look for the 'yes' flag in that field and populate the custom task date field with it.
    This worked only for the task where the flag was set to yes (task #36) and the rest of the 49 tasks returned an error message. I'm unsure of how to set this up so that the date with the 'yes' flag populates in this column on
    all 50 tasks.
    This would also need to scale for situations where there were more or less than 50 tasks.
    Thanks in advance...
    Using MSP 2010 Pro   

    ShelleyBrodie,
    That's because the syntax of your formula isn't quite what you intend. The correct syntax is:
    IIf( expression, truepart, falsepart )
    For your case that converts to:
    IIf([Flag1],[Scheduled Start],{not sure what you want for the false part but I assume is is not Scheduled Start})
    Note, the "Yes" for Flag1 is implied, so the first part (i.e. Scheduled Start) is the truepart, but you don't give a value for the falsepart (i.e in both cases your formula is looking for Flag1 to be "yes". Let's say you want the Date1
    field to have the Scheduled Start date if Flag1 is "yes" and to have today's date if Flag1 is "no". Then the formula will be:
    IIf([Flag1],[Scheduled Start],[Current Date])
    However, As I indicated in my previous response, you won't be able to do what you described in your initial post by using a formula. Are you now trying to do something different?
    John

  • Getting tasks for all users in a role

    Hi,
    We need to get all users in a Role, and out of those, find out which one has the least tasks in their UWL using a WebService. Saw some example codes and here's my attempt at it. Doesn't quite work, I'm getting the Logged in users context or session doesn't exist Exception. Any help on this will be GREATLY appreciated.
    public class LeastTasksBean implements LeastTasksLocal {
         public String getUserLeastTasks( String sRole )
              try{
                   Map<String, String> users = new HashMap<String, String>();
                   Map<String, String> tasks = new HashMap<String, String>();
                   final int sessionIdleTimeout = 60;
                   String Users[] = UMFactory.getRoleFactory().getUsersOfRole( sRole, true );
                   if( Users != null ){
                        for( int i = 0; i < Users.length; i ++ ){
                             UWLContext  uwlContext      = new UWLContext();
                             IUWLService uwlService      = findService();
                             uwlContext.setAllowBackEndConnections( true );
                             IUser uwlContextUser        = UMFactory.getUserFactory().getUser( Users[0] );
                             uwlContext.setUser            ( uwlContextUser );
                             Locale loc                  = new Locale( "ES" );
                             uwlContext.setLocale          ( loc );
                             HttpServletRequest request  = getHttpRequest();
                             uwlContext.setOriginRequest   ( request );
                             IUWLSession session         = uwlService.beginSession( uwlContext, sessionIdleTimeout );
                             uwlContext.setSession         ( session );
                             IUWLItemManager itemManager = uwlService.getItemManager( uwlContext );
                             QueryResult result          = itemManager.getItems( uwlContext, null, null );
                             users.put( String.valueOf( i ), uwlContext.getUserName() );
                             tasks.put( String.valueOf( i ), String.valueOf( result.getItems().size() ) );
                             uwlService.endSession( uwlContext );
                        int userTasks = 0;
                        int leastTasks = Integer.valueOf( tasks.get( 0 ) );
                        int userKey = 0;
                        for( int i = 0; i < Users.length; i ++ ){
                             userTasks = Integer.valueOf( tasks.get( Integer.toString( i ) ) );
                             if( userTasks < leastTasks ){
                                  leastTasks = userTasks;
                                  userKey = i;
                        return users.get( Integer.toString( userKey ) );
                   else{
                        return "No users exist for this role";
              //Exception Handling
         private IUWLService findService() throws NamingException
              Properties properties = new Properties();
              properties.put( InitialContext.INITIAL_CONTEXT_FACTORY, "com.sapportals.portal.prt.registry.PortalRegistryFactory" ); 
              InitialContext ctx = new InitialContext( propiedades ); 
              IUWLService uwlService = ( IUWLService ) ctx.lookup( IUWLService.ALIAS_KEY );
              return uwlService;
         private HttpServletRequest getHttpRequest() throws Exception
              Properties properties = new Properties();
              properties.put( "domain", "true" );
              ApplicationWebServiceContext wsContext =
                   (ApplicationWebServiceContext) new InitialContext( propiedades ).lookup( "/wsContext/" + ApplicationWebServiceContext.APPLICATION_WSCONTEXT );
              HttpServletRequest request = wsContext.getHttpServletRequest();
              return request; 

    Hi David,
    I have a similar requirement on our project. I need to get a count of pending workitems for all user but I'm getting similar message when I try to access UWL context of any other user.
    Did you find any solution for this? Is it possible to get the workitems for all users using webservice or wendynpro?
    I would appreciate if you can provide some inputs on this.
    Thank you in advance.
    Regards,
    Seema Rane

  • Can't export as Html (Waiting for all files to be ready...)

    Made a bunch of updates last night to a client site.  Everything looks great except I can't export as Html. Had my sister try to export on her computer and we both get to 87%, then it permanently stalls, saying "Waiting for all files to be ready" (See screenshots). We've ensured that no files are open or being previewed. We've rebooted and tried saving to a different location, all with no change, we still get to the 87% mark and stop. Please help. I have a client waiting for this site update.
    Details:
    Windows 7
    Sony Vaio
    Muse Version - 4.1 Build 8 *see screenshot
    ****Update:
    I can preview the entire site in a browser as well as preview each page individually, but cannot finish a html export past 87%.

    Odd are if you wait long enough, potentially a few hours, it will complete.
    This huge performance hit sounds exactly like a bug that's fixed for the Muse CC 5.0 release due out next week. Sorry for the inconvenience.

  • Approval process not waiting for approval tasks to be completed

    Hi All,
    I created an Approval process for a resource. When a request is created for this resource an approval task is assigned to the manager of the user.
    Before the approval task is completed by the manager the resource is getting provisioned. Is there something I am missing out here. Any suggestions about what I am missing here.
    Thanks

    The statuses shown are sometimes misleeding. There is a status for when the approval starts. There is a status when the Standard Approval process completes (this is normally set to auto complete). There there is a status for when the object specific approval starts, a status for if any of the approvals have been completed, and then one for when the whole request is completed. These don't neccessarily provide you with a sure answer to the status of the request.
    I think you need to disregard the statuses for now, and just configure the approval tasks as you intend to do so. If you do not want the standard approval to be required, set the Approve task to use the auto complete adapter. Then create an approval process specific to your resource object, and set it to the default. Then create an approval task and make to uncheck the "conditional" checkbox so that it always runs. Set your assignments appropriately, and you will be done. The provisioning will not start until all tasks are completed with a complete status for the tasks within.
    If you want to know the statuses between steps, then check those between all of the steps.
    -Kevin

  • Task List URL (to FR Report) opens in new window, but not for all users!

    Hi all,
    I am not sure if this is the correct forum to ask the question (for me it looks like an IE topic), but perhaps anybody can help me anyway...
    In one of our Planning apps (9.3.1) we defined several task lists and tasks that link to relevant FR Reports (URL Tasks). If I open the URL task in basic view the relevant FR Report opens in the same IE Window (in the main frame of the planning app). If my colleague opens the same task the FR Reports opens in a new IE Window.
    My problem is that I dont have any ideas where I can set the relevant property. Is that a planning property, a workspace property or an IE property setting??? Where can I adjust the settings that for ALL users the URL opens the Report in the same window??????
    Thanks in advance!!!!
    Kind Regards
    André
    P.S.: We are on IE8.

    Have you both got the same settings in Tools > Internet Options > Tabs Settings
    There was also a bug though I can't say if it is related to your issue
    9549216 - Instead of a new tab, a new window is displayed after you create a Financial Reporting task in Workspace.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Binding of a wait for event task

    Friends,
    I'm sorry because I wrote about terminating events, but I wanted to ask about <b>'wait for event task'</b>.
    I know that isn't obligatory to make binding of wait for event tasks.
    I've configured without binding, and it is working fine on developement system, but it can cause any problem if I don't make it ?
    Message was edited by:
            Glauco Kubrusly

    Hi Glauco,
    You should be fine as it will use the EVTObject reference to invoke the wait step.
    Regards
    Gareth

  • Broker wait for all receiver to acknowledge before returning from publish()

    Does the broker wait for all receiver to acknowledge before returning from publish()?
    If suppose i had 10 subscribers. I observerd 10th subscriber getting message late. I thought publisher will wait for acknolodge for each subscriber ? else why it getting message late ?

    I assume you are questioning why the subscriber's onMessage() is getting
    called way after the publisher's publish() had returned.
    The JMS publishers only know that it is sending msgs to a destination.
    Whether there are 0 or 100 subscribers to the destination is something it
    doesn't know or care about.
    The message is sent to a destination on the broker first and then it is
    delivered to the subscribers of the destination.
    The publisher's publish() method will not return until the message has
    been successfully delivered (and persisted if necessary) to the broker.
    Note that this does not mean that the message has been successfully
    received by any subscribers.

  • How can I enlarge the "all-day" screen on the iPhone calendar?  I use the all-day screen for all my tasks, and it only shows 2 items at a time!!  Help!!!

    How can I enlarge the "all-day" screen on the iPhone calendar?  I use the all-day screen for all my tasks, and it only shows 2 items at a time!!  Help!!!

    The iPhoto App can select all of the photos in the All Imported folder and delete them.

  • I have 2 apps that have been waiting to update for a week.  I don't really care about the update, I would just like to use them, but the are stuck waiting.  I have tried powering down, syncing with my computer...all fails.  Any ideas?

    I have 2 apps that have been waiting to update for a week.  I don't really care about the update, I would just like to use them, but the are stuck waiting.  I have tried powering down, syncing with my computer...all fails.  Any ideas?

    At this point you have no choice but to update the or delete them and reinstall them since you wont be able to use them until they update - or come out of the "waiting" loop.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.

  • Need to authorise new laptop after old one crashed.  Have 5 computers already authorised and cannot wait until July for 12 month "Deauthorise all computers" to become available again.  How can I authorise this new laptop?

    Hello... I need to authorise a new laptop after my old one completely died (before I could deauthorise it!!).  I have 5 computers already authorised and cannot wait until July for the 12 month "deauthorise all computers" option to become available again.  Does anyone know how can I authorise this new laptop as one of the 5, in place of the old one?  Any help gratefully received!

    Go to one of the authorized computers and de-authorize it individually.
    The one year limitation is ONLY for the de-authorize all option.

  • I am looking for a task app that will work with MS Exchange using SecurID. Any suggestions?, i am looking for a task app that will work with MS Exchange using SecurID. Any suggestions?

    My company uses MS Exchange with RSA SecurID. I also have an iphone 5 and i would like a good task app to manage my tasks on the go. The problem is all the task apps ive tried wont work with the SecurID. Any suggestions on a good app which will work with SecurID? thanks

    Only two devices on our plan, so not so much an issue. And I have found myself using it much more than I thought I would when we got them (also first smart phones for both of us). Even got my wife to use hers for checking email while we were out of the country (big step forward for her ). I'm very interested in the ApplePay, but will want to wait a bit before diving into it. And since both phones are still in great working order, will likely wait a bit for the upgrade (sometime next year?). Will depend, I suppose, on the kinds of deals we see and what the plans turn out to be for updating my iPad and getting here one.

  • Thanks for all you early adopters-seriously

    Sincere thanks for all of you who jumped in and started using it. I am sure that it is a better computer because of all the feedback that the company has received. I have been reading the posts and am looking forward to getting the next edition/revision.
    As one poster wrote, the advantage you have over me is that you have the computer to use now, and I am waiting. It will be a much used and appreciated tool when I get one. The funds are not available for me to get one yet but am looking at the beginning of the year.
    The only ones I have seen are in stores. I wish I knew how loud the fans get when they come on as I have not heard them.
    Some have described them as really loud. Any input here?
    It looks like most of the main issues that I have read about have been resolved. The latest seems to be the dependability of the SuperDrive, but they may just be that percentage of products that are problematic out of the box.
    I get the impression that these things are selling like hot cakes, so the numbers out there vs. the posts are probably staggering.
    Thanks again, and I hope everyone gets their computer working the way they expect it to.

    Hey, you're welcome! Hahaha
    Well I've had mine for over 3 months now and I've zero problems with it. To answer some of your questions:
    - the fans do not get horrendously loud as some people have stated. The only time I've heard them on is when I'm playing games (call of duty 2, halo, tiger woods), encoding a dvd, watching large videos on iTunes; so pretty much cpu intensive tasks. They don't come on with usual surfing, chatting, emailing, word processing.
    - yeah, i've read the posts about the superdrives too. But I haven't had any problems with mine. I've ripped about 10-15 music cd's from my collection and burned many dvd's with it without a problem.
    Enjoy your macbook when you get it!

Maybe you are looking for

  • In Address Book, why does Apple let you create custom fields in the Template cards but not have them available for importing?

    I open Address Book, go into Preferences, select Template and under the Names field (friend, assistant, father, etc) I add a custom field called "Principal". I also add two more custom fields in the Email area. Quit Address Book then relaunch. Add a

  • Windows 8.1 default video driver only displays 1024x768 on Satellite A665D-S605​1

    My laptop came with Windows 7 Home Premium.  I upgraded to Windows 8.0 and had driver poblems. The Windows 8 installation was getting a bit buggy after 18-mos so I finally decided to upgrade to 8.1.  I did a format and clean install of 8.0, then upda

  • Question about Wi-Fi calling (UMA)

    I am a current T-Mobile customer and I am planning to switch over to Verizon pretty soon. I currently own a T-mobile G2, which has wi-fi calling enabled in Android. My question is do the Android phones that Verizon sell have this feature unlocked? Re

  • Wierd message while connecting to ORACLE using sqlplus

    Hi Server:AIX 3 5 Oracle: 10.2.0.1 patched to 10.2.0.3 i tried connecting to oracle and getting a wierd error only via OS Authenticated user not while connecting as sys or "/ as sysdba" $ sqlplus / 1224868 : map : Permission Denied 1224868 : map : Pe

  • Dynamic refreshes

    In my application, there are cases where I need to update a form when the user changes some input value on the form. For instance, say the user selects a car as a vehicle type, I might want to update the form to add some input fields that are specifi