Assigning a single task to multiple users in a state machine/ sp d workflow

 hi,
i have a requirement to implement a   workflow based soln.
step1 : approver1 will select few documents , which is provide as a link , with other columns in a  gridview
approver1  clicks on a  button send to doclib1 and its moved and inserted into doclib1 
my workflow should start.
step2 : a task is assigned to leadconsultant1 and a item/items is created in  the task list.
leadconsultant1 will review  the document/documents and send back to approver1 if its ok.approver1 then send this info  to the requestor offline.
step3 :  if leadconsultant1 is not reviewing the document , he can select few consultants [asue peoplpickwer control is avlble] and assign same document to multiple consultants.
so here comes the complex part : in a visual studio statemachine workflow , how can i assign single task to multiple users also, when a user completes his task [ means reviews the document the workflow  will not be completed. and workflow will be completed
ONLY WHEN  all the users selected by the leadconsultant1 completes their review].
or is there  anyway in sp designer 2013, i can achieve the same scenario?
  help or pointers are highly appreciated!

Hi Benjamin KNR,
For this issue, in the first level approval, you can use custom task form to add a field for approvals to add the consultants to approve next.
Then on this task changed event, get the consultants fields value from the task, set the value to a custom field in current item to record the consultants value.
Go to next state, to create next approval task for consultants. Set the task AssignedTo to the fields that store the consultants value.
On the event driven state, onTaskChanged event, check all task status, if all the tasks have been approved, then go to next state.
Thanks,
Qiao Wei
TechNet Community Support

Similar Messages

  • Sharing iTunes on a single computer with multiple users

    Greetings,
    I have been troubleshooting a problem sharing iTunes on a single computer with multiple users that cropped up a few weeks ago and have not had very good luck.
    Several months ago I successfully set up my wife’s G4 Laptop (PowerPC processor) so that we could share iTunes on that computer. I had just gotten her an “My Book” external hard drive (Western Digital). The iTunes Library will go on this new unit because the internal drive was running out of room. I successfully set the privileges, moved the entire library onto a “Share” directory and everything worked fine.
    In this way, when I got a new CD I could add it to iTunes (under my login, administrator privileges) and she could access it (under her login) to listen to while working on the computer or using her iPod. This arrangement went well for quite awhile.
    About a month and a half ago, when I tried to launch iTunes from my login I received this message:
    “The iTunes Library file is locked, on a locked disk, or you do not have write permission for this file.”
    I think the permissions must have changed when there was an update because my wife is pretty careful about what she does on her computer. Updates were the only thing I could think of that had changed since I had set her computer up. I also noticed that some of the iTunes defaults were different from the last time I had used it to add a CD.
    So, I did some reading and went back through the motions of trying to set it up again. I re-formatted the My Book hard drive to Mac OS Extended (Journaled) added the files back to the external, reset permissions on the external hard drive. (Owners: System, Access: read and write - Group: wheel, Access: read and write – Others: read and write).
    When I now launch iTunes under my login I get this message:
    “The operation cannot be completed because you do not have sufficient privileges for some of the items.”
    What gives? I am the original owner and have always had top-level privileges.
    Can someone point me to any articles or clues as to how I need to set-up iTunes on a single computer to be shared by more than one user? Also, I am considering upgrading to the newer system in a few weeks, so if a solution for OS X 10.5 is available, that would work too.
    Tim

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

  • HT2688 Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared librar

    Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared library?

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

  • CProjects - Multiple Users Assignment to single task

    Hi All,
             Can we assign multiple users to a single task, by making them in a User Group.
    regards,
    rajesh.

    Hi rajesh,
    Sure, I hope, you are talk about cProject 4.0.
    You can create a role, which have different business partner (users) assigned . you can assign then such business partner (one or multiple) to the task.
    But you can only have a business parnter as responsible.
    Using User-Group is used only for the authorisation aspect.
    Kind regards,
    Zhenbo

  • How to assign task to multiple user & current task in waiting state

    Hi,
    In the workflow i want to assign the tak to multiple user one by one & current task should remain open & should also wait for completion of assigned tasks. for Example - I have Task 1 & Task 2.
    From Task 1, user can assign the Task 2 to different multiple user at the same time or user can assign the Task 2 to different users at some time interval.
    Now, Task 1 user should wait to complete the all Task 2 assignment or Task 1 user can close the Task 2. If Task 2 user is not responding.
    Task 1 should remain in open state till Complete action not taken.
    Please help me how can i achieve the above scenario in BPM11g 11.1.1.6.0

    I think you can sue Workcenter option here. I generally do some coding in User Exit for FM ME_REL_GET_RESPONSIBLE
    which is attached to Rule 20000027.
    For the Release effected step you can add but I think you have to create cuistom Wflow for that. You cannot use WS20000075.
    Thanks
    Arghadip

  • ARD Task Lists - Multiple Users

    I have been unable to find a way to transfer ARD Tasks in the left pane to new computers / new accounts.  I am attempting to take all of my folders full of Unix scripts, Install configurations, and copy scripts and transfering them over.
    I have attempted several methods found online including moving over plist files, /var/db information, and other settings but  have had no luck.
    My ultimate goal is to move the configuration from an existing server to a new one, and then have it so I can transfer it to other user accounts on the same system.
    Thanks!

    Hi,
    1) Create a rule and assign it in the workflow
    2) In  the rule, you can write a code to pick multiple user in the Function module
    check this [link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d053fe48-6513-2b10-a59f-871923ff99d8] to create and assign the rule. (in the function module you can write your logic to pick multiple approver)
    Regards,
    Surjith

  • Updating single row by multiple users at the same time

    Hi,
    I have been asked to develop an application where a single row from a table will be accessed by multiple users. Even multiple users can try to update the same row at the same time. So, to provide a solution of this problem should it be the best way to lock that particular row when user requesting to update it and after completion of commit the lock will be released. In the same time if some other user request to update the same row then it will be in the wait condition.
    Please provide suggestion that is it the best way to handle the situation or not. If it is then can you also please provide an example (with sample code) of it.
    Regards,
    Koushik

    It depends entirely on how the system was built.
    You could relatively easily build an application that does something like
    - Select a row with as last_updated_date column
    - Update the row specifying the last_updated_date you had selected in your WHERE clause
    - If the update updates 1 row, it was successful, otherwise inform the user that the row was already updated.
    In this case, the second user would get an error indicating that the seat had already been purchased.
    You could also relatively easily do a SELECT FOR UPDATE to prevent users from ever getting an error between the time they select a seat and the time they finish their transaction. Of course, if the user wanders away from the computer, or inadvertently ends up locking dozens of rows, this tends to rather problematic in practice. You may find that when the train pulls out of the station, someone that never ended up buying a ticket has locked a dozen rows so you lost a dozen sales. If you have a call center where operators are reserving seats for people on the phone, you may decide that explicit locking is more appropriate because you're confident that the operators aren't going to leave tickets locked for long periods of time and the cost of having the customer walked through the seat selection process multiple times would be higher than the cost of having rows locked longer than they need to be.
    Justin

  • WebStart Single Install for multiple users

    Has anyone figured out how to solve the problem of having to install the software for multiple users now?
    With recent versions of the Sun WebStart, the cache directory has changed to the user's personal directory.
    It used to be that the cache directory was a common shared directory off the C: drive.
    For the software we have developed, it was great to install once as the admin, download the files so that they are cached, and then copy the links to the all users desktop which pointed at that shared location.
    Now there appears to be no way to do this. We've looked to find the default cache location to change it, but there is no way to specify this (that we've found).
    I know I can change each user's cache directory to point to a common location, but it means signing on as each user and making this change manually which takes a considerable more time than it did before. Java WebStart was the EASY way to install the software before (and did not require a browser). Now it is harder than just using a browser with the plugin. We'd like to get the browser out of the picture though still.
    I can see how this feature could benifit individual users who only want their own programs to show up , but we really need to make it work like before for ease of use. With the number of users we are dealing with, it would be very difficult to tell them to click on a link to install the program but only do that the first time, then start using the new link that is created by the program.
    Any suggestions from anyone?

    Sorry, I just realized this is in the wrong forum.
    I'll go post it in a more correct forum instead.

  • Login with Multiple User Accounts From One Machine

    We have users with multiple accounts (Admin and Standard) in our organization and we want them to be able to launch RemoteApps from RDWeb using both accounts at the same time (from a single workstation).  For example we would want their standard account
    to launch the RemoteApp HEAT and their admin account to launch the RemoteApp Exchange Management Console.  Is this possible?

    Thanks for the suggestion, but I'm not talking about concurrent sessions for a single user - I'm talking about multiple user accounts being used from an individual machine at the same time.  The situation would be as follows:
    I log on to the computer with my normal user account (lets call it NZiehnert)
    I launch an application from the RemoteApp and Desktop Connections shortcut in my start menu, which launches the application as NZiehnert
    I launch the RDWeb access portal and log on using a different account (lets call it NZiehnert.admin)
    I attempt to launch the same application from step 2 (or another application that runs from the same server) and instead of launching as NZiehnert.admin the application runs as NZiehnert
    Basically, we have administrative tools that we wish to put into our remote environment, but we also have tools that are used by the same users normal accounts.  So we need a way for those users to be able to access the applications as a different user
    - at one point I was able to generate this dialog, but I'm not sure how to recreate it:

  • Is Lightroom supported in a Active Directory domain environment with multiple users logging into a machine?

    We are a school district using an Active Directory environment.  We currently use other Adobe products with multiple users on different machines and it works fine.  If Lightroom does work in a domain environment what are the required local user permissions needed for it tor work properly?  Thanks!

    Lightroom is not a multiuser program. It is required that the catalog is located on a hard drive that is local to the machine accessing it. There are no workarounds.

  • Can I use FCX for multiple users on the same machine?

    I have one mac pro, and two video cmpanies. I have two users on my machine and would like to set up two different final cut x workplatforms. Is that possible?

    Of course, you can use FCP X from two different user accounts on your machine. The question here, I believe, is how to separate the content that each user accesses.
    One obvious way to achieve that would be to store the content in the system disk - that would put events and projects in each user's Movies folder. But that is a bad option, for performance reasons, and more.
    You could have separate external disks for each user to store his content.
    Also, you could use different disk images which could, say, be all stored in the same internal (but not system) drive.

  • Sharing one Aperture Library between multiple users on the same machine

    Is there a way of setting up Aperture so that two different users on the same machine have full rights to do everything?

    Ian,
    Thanks for the suggestion. It certanly better than nothing, but in my case there is no partition with permissions off and there are other users to whom I wouldn't want to give full rights to the library. As an alternative I thought of simply creating a special user and do all editing from it.
    At any rate, it would have been useful if Aperture had something like that built in - like a preferences option, where one could specify a MacOS group name, and Aperture would do all its file/folder create operations within a given library with setgid()/setegid() of that group and corresponding umask() to give rw permissions to that group. Not too hard to do, either.

  • CS2 Problems with multiple user accounts on 1 machine

    I have been having this problem since I first installed CS2 in my Mac lab. I have 8 G5's and I have loaded the exact same software (all licensed of course) on all 8 machines, in the same order. The problem occurs when trying to use CS2 in a second user account on the machines.
    All software works fine for the original admin account. Then when I try to open and use in a second account I get crashes and errors, nothing consistent. AND some computers work just fine. HUH? I have called Apple and they suggested repairing permissions, that doesn't work.
    I have tried uninstall and reinstall. I have tried making the second user an admin user. I have tried 2nd and 3rd users. I have tried a total system reinstall. I have tried changing the order in which I install. I have tried installing both before and after creation of the second account.
    It doesn't seem to matter. On some machines it works, on others it doesn't. The only account the software will work in is the original user account.
    The reason this matters is it is a student lab. I have implemented a server and students can't use the software through their server accounts either. Currently the server is a 40lb paperweight until this problem is fixed.
    Any clue?
    Thanks for any help you can give me.
    Amy O.

    This has to do with permissions in the non admin accounts. A solution was posted a while back you could do a search or somebody will pop in with the solution soon.

  • Using multiple events structure inside state machine to control the Tab

    Hi y'all,
    Anne here.I have a Tab indicator in my front panel and I want to be able to control the flow of my program based on what controls I clicked inside the tab. I am using a state machine architecture and inside every state, I use an event structure to check for user interaction  to determine the next state and what tab page is going to be displayed next. This means that I am actually using multiple event structures in my application and I use them in just one while loop, but just that they are not running in parallel since I am only using "one event structure per state" which means that only one event structure is running at one time. My questions is, programming technique wise, am I doing it correctly? So far, I am not facing any problem (I am still in the early stage of the project) but I want to check with you all first on your opinion regarding this architecture. Will there be any issue on using multiple event structures in a vi? Since I will be using a tab, and the controls available in the tab will be the controls that will control my event structure for that state, by right, there should be no issue. Am I correct to assume this? Is there any limit on the use of event structures? I have attached here a simple sample of the architecture that I am talking about for your reference. I have attached a 2010 version and a 8.6 version. Let me know what you think or any opinions that you may have.
    Hoping to hear from you soon! Thanks so much in advance!
    Cheers!
    Anne
    Attachments:
    State Machine-Event Structure Sample_2010.vi ‏19 KB
    State Machine-Event Structure Sample_8.5.vi ‏25 KB

    Hi jak888,
    I decided to use tabs cause I don't want to have subvi pop ups every time i need to perform the process in the state and show an update in the front panel. This is actually going to be more of an ATE where you will have to choose first whether the one using is the operator or the engineer. If the operator is logged in, she will proceed to choose what test to run (this state will have its own event structure). This part, I don't want a pop up, so what happens is that from Login page, if the user logs in as operator, the tab will automatically switch to the Test Selection page. After selecting the test, it will proceed to Start Test state and the tab will show the Result Summary page. If the user logs in as engineer, then a totally different tab will be automatically shown next and so on. By doing this, I will be able to show an update on the front panel objects without having the subvis pop up. I will also just need to use the call reference functions to call my subvis, making my Main VI more generic. The tab Page header will be hidden so the operator will actually not see that there is a tab and that there are a lot of controls and indicators cause they are hidden in the tabs and that page will only be shown based on what they selected from the main tab. 
    I appreciate your thoughts! thanks so much!

  • How to REpublish Custom Task Forms (InfoPath) to SharePoint 2010 State Machine Workflows

    I am new to SharePoint. Sorry if answer to my question is obvious.
    I've create Custom Task Form in InfoPath and publish it (File/Publish/Network Location [Form Template Path and filename='MYPROJECT/Forms/ApprovalForm.xsn'; Form template name='ApprovalForm'], in the next window I've cleared Public URL according to the articlehttp://www.codeproject.com/Articles/195348/SharePoint-2010-State-Machine-Workflows-with-Custo).
    After it I've added module Forms, and added ApprovalForm.xsn from the existing items.
    My xml files: Elements.xml
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Workflow
    Name="Order New Server"
    Description="My SharePoint Workflow"
    Id="482cbc86-b717-4981-a49a-3cf4c89e9399"
    CodeBesideClass="Myproj.OrderNewServer.OrderNewServer"
    CodeBesideAssembly="$assemblyname$"
    TaskListContentTypeId="0x01080100C9C9515DE4E24001905074F980F93160">
    <Categories/>
    <AssociationData><Data></Data></AssociationData>
    <MetaData>
    <AssociationCategories>List</AssociationCategories>
    <Task2_FormURN>urn:schemas-microsoft-com:office:infopath:ApprovalForm:-myXSD-2012-03-09T14-11-55</Task2_FormURN>
    <StatusPageUrl>_layouts/WrkStat.aspx</StatusPageUrl>
    </MetaData>
    </Workflow>
    </Elements>
    Feature.Template.xml:
    <?xml version="1.0" encoding="utf-8" ?>
    <Feature xmlns="http://schemas.microsoft.com/sharepoint/" ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Receiverlass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver">
    <Properties>
    <Property Key="GloballyAvailable" Value="true" />
    <Property Key="RegisterForms" Value="Forms\*.xsn"/>
    </Properties>
    </Feature>
    My form work fine, but when I make changes and republish it, it doesn't update (I see old form). What I tryed:
    IISReset
    Clear all cookies and cache in IE
    Retract solution, restart VS2010, reboot computer.
    Change assembly number, guid.
    I have no ideas, what can I try for republish my form with changes.
    Thank you in advance for any suggestions.
    PS: sorry for my writing. English is not my native language.
    PPS: when I save new Form to new location and add it to the project, it works.

    I've found how can I republish changes. But it seems more like crutch than solution, but it works:
    After republishing InfoPath form, I delete file from project (DEL on ApprovalForm.xsn in Solution explorer) and after it add it again. (Add/Existing Item). And then redeploy! Hurray!
    Is there any way to redeploy a Task Form directly on the server without importing it in Visual Studio again? I am using some data connections in my task form which are different for different environments (staging, dev. etc.). Seems like I've to create a separate
    Workflow WSP file for each envrionment. Any comments?

Maybe you are looking for

  • Battery drain and slow charge issues

    I had my iPhone 4 replaced at an Apple Store 2 days ago, and this afternoon the battery began draining quickly and charging very slowly. It also heats up quickly, any help? Thanks

  • Asset master history indicator - what is it for ?

    From the field documentation, it's mentioned :- 1) the asset is displayed in asset chart (which program / report is this?) 2) the asset and values/transactions belonging to it cannot be reorganized until the asset is deactivated - what does this mean

  • Java - AS mapping for arrays

    I've got a basic Java -> AS mapping working where my server-side Java "Customer" class is serialized down to my client-side AS "Customer" object via my use of the RemoteClass attribute. But when my Java object returns a Customer[] or a List, the item

  • Creating multiple libraries on ITunes

    My family has 3 different iPods and we each would like our own iTunes music libraries. Is there an easy way to create separate instances of iTunes or different libraries on the same computer?

  • ORDER way week start from MONDAY [Mon...Sun]

    Display the last name, hire date, and day of week on which the employee hire. Order the result by the day of week starting with Monday. (eg. Monday,Tuesday--Saturday,Sunday) I have tried this using following statement-..But is this right way!? Any ot