Triggering a sub work flow for multiple users at same time.

I have a scenario in which I have created sub workflow as an activity for approval process. This sub work flow should be triggered for multiple users at the same time and their decison is independent of each other.
This is like creating multipe instance of the same sub work flow and then the sub work flow runs indepedently as a new work flow for each of the approver and the process is completeded for approver independently.
How can this be achieved?

Tyr to do like this,
1. First include the subworkflow in the main workflow template.
2. Now include standard Block Step in the main workflow template.
3. In the block select the block type as ParForEach.
4. Before doing the 3rd point make sure that all the agents for whom you want whom you want to initiate the workflow, populate them in a Multiline conatiner element.
5. Once completing 3rd and 4th points open the block step under the tab ParallelProcessing  assign the multiline container element name in the   for e;g if the multi line container element name is COSTCENTER then do the binding like below. the conatiner element COSTCENTERLINE is created by default once you include the multi line conatiner element under parller processing tab.
&COSTCENTER[&_WF_PARFOREACH_INDEX&]&   -------->     &_COSTCENTER_LINE&
Now assign the agent of the subworkflow as COSTCENTERLINE , imean if suppose you have 3 entries in the internal table then three separate and for three different agents the workflow is instantiated.

Similar Messages

  • How to restrict login for multiple users having same Role

    Our Web Application is deployed on Tomcat 5.5
    The requirement is ?
    There are roles in application like "operator", "admin"?
    There are multiple users created for each of the above role.
    When one user of "operator" role is logged in, then
    It should not allow to login for another user of "operator" role.
    Also, if user did not log out & application gets close, then
    It should not allow to login for another user of "operator" role.
    Also, it should not allow to login for multiple requests of same user
    (using another browser instance...)
    Is it possible using session object?
    But, using session object, it will create separate objects for different users,
    So here I will not be able to restrict session object creation rolewise.
    Also, how to retrieve these multiple session objects created for different users on server?
    If anyone is having the solution please reply as soon as possible,
    Thank you.

    To tell you the truth, this is a stupid requirement. It must be an extremely fragile application.
    In any case, you will have to write your stuff for that. Probably a filter that on login, logout, and session expiration checks, makes, or removes entries in a DB (using a synchronized resource to prevent race conditions) or possibly even simply in an application context object.

  • JSP Custom tag not working correctly for multiple users

    I am doing some support work for an existing web system. When doing single user access (a custom tag is called within the JSP); the output of the Custom tag is fine. However, during multiple user access to the JSP, as I could see on the log files, 2 users access the custom tag at exactly the same time- the output of one of the users was incorrect. The custom tag btw, uses TreeMap, Stringbuffer and does not have a body, only attributes passed to it. It takes an input file and a Hashmap as input attributes and it sets a string in the page context which is later being used in the JSP. No error is logged, its just that the string produced(placed in the page context) is incorrect. This only happens when this tag is called at same time(when multiple users accessing the page) Has anyone encountered this problem? Is there a known pooling/thread problem with custom tags?

    in a servlet/jsp (a jsp is compiled into a servlet),
    the class atrributes are shared. only the
    variables declared in the doservice (doGet or doPost)
    method are threadsafe.
    post your jsp plzhere's the snippet of the jsp code:
    <%@ page language="java"
    errorPage="Error.jsp"
    autoFlush="false"
    buffer="128kb"
    import="java.text.*,
    java.math.BigDecimal,
    java.rmi.RemoteException,
    java.util.*,
    java.io.*,
    %>
    <%@ include file="Secure.jsp" %>
    // a set of request.getParameter are being called here
    HashMap myMap = new HashMap();
    myMap.put(xmlDPhoneNumber, dPhoneNumber);
    myMap.put(xmlDPhoneType, "D");
    myMap.put(xmlDPhoneExt, dExtension);
    myMap.put(xmlDPhoneDigits, dPhoneDigits);
    // other myMap putting of key values are called here
    %>
    <test:applyCustomerSearchValues id="resultXml" xmlTemplate="/xml/message/CustomerUpdateRequest.xml"
    xmlMap="<%= myMap %>" />
    <test:transformXMLString id="customerUpdateRequest"
    xmlString="<%= resultXml.toString() %>"
    xslFileName="/xsl/message/CustomerCreateRequest.xsl"
    paramMap="<%= PMap %>"/>
    now here's the thing: the xml produced by test:applyCustomerSearchValues is resultXml which is used in test:transformXMLString. I got no problem with the output of test:transformXMLString. I am sure that a phone number is being passed into the former as part of the HashMap key-value. However when test:applyCustomerSearchValues is called when 2 users access the jsp, it seems like the the first xml produced does not have the phone number in it - but the other has it. The xml is OK for both users, its just that the values of the HashMap do not seem to be passed correctly into the xml produced.
    --- here's the snippet of the log, the first httpWorkerThread-80-6 does not have the phone number, however the second one-httpWorkerThread-80-7 has the phone number. The first one should also have a phone number as in the start of the log, the number was listed, but as the system called the test:applyCustomerSearchValues tag, the number was not included. There are different phone numbers for the 2 users. The odd thing here is, the userID which is the 'LastUpdatedBy' element has been set correctly. The userID is being fetched from a session attribute while the phone number is fetched from a request parameter, both are being placed in the HashMap attribute passed to the custom tag.
    2007-06-05 10:55:41,954 DEBUG [httpWorkerThread-80-6] (?:?) - ApplyCustomerSearchValuesTag : String produced is :<Values><Customer>
    <Status>
         <CustomerType></CustomerType>
         <FirstContactDate>2007-06-05</FirstContactDate>
         <StatusFlags>
              <Fraud>N</Fraud>
              <BadCheck>N</BadCheck>
              <BadCredit>N</BadCredit>
              <DoNotMerge>N</DoNotMerge>
              <ARHoldRefundCheck>N</ARHoldRefundCheck>
         </StatusFlags>
         <LastUpdatedDateTime>2007-06-05 10:55:41</LastUpdatedDateTime>
         <LastUpdatedBy>5555</LastUpdatedBy>
         <OPAlertClass></OPAlertClass>
         <MailListStoreID></MailListStoreID>
         <OriginatingSource>CSA</OriginatingSource>
    </Status>
    <DPhone id="D">
         <DPhoneNumber></DPhoneNumber>
         <DPhoneDigits></DPhoneDigits>
         <DPhoneType></DPhoneType>
         <DExtension></DExtension>
         <DAreaCode></DAreaCode>
         <DPhoneCountryCode></DPhoneCountryCode>
    </DPhone>
    </Customer>
    </Values>
    2007-06-05 10:55:41,954 DEBUG [httpWorkerThread-80-7] (?:?) - ApplyCustomerSearchValuesTag : String produced is :<Values><Customer>
    <Status>
         <CustomerType>N</CustomerType>
         <FirstContactDate>2007-06-05</FirstContactDate>
         <StatusFlags>
              <Fraud>N</Fraud>
              <BadCheck>N</BadCheck>
              <BadCredit>N</BadCredit>
              <DoNotMerge>N</DoNotMerge>
              <ARHoldRefundCheck>N</ARHoldRefundCheck>
         </StatusFlags>
         <LastUpdatedDateTime>2007-06-05 10:55:41</LastUpdatedDateTime>
         <LastUpdatedBy>1840</LastUpdatedBy>
         <OPAlertClass></OPAlertClass>
         <MailListStoreID></MailListStoreID>
         <OriginatingSource>CSA</OriginatingSource>
    </Status>
    <DPhone id="D">
         <DPhoneNumber>(123) 123-4788</DPhoneNumber>
         <DPhoneDigits>1231234788</DPhoneDigits>
         <DPhoneType>D</DPhoneType>
         <DExtension></DExtension>
         <DAreaCode>123</DAreaCode>
         <DPhoneCountryCode>US</DPhoneCountryCode>
    </DPhone>
    </Customer>
    </Values>
    Message was edited by:
    Mutya

  • Shared Photo & Music Libraries for Multiple Users on Same Machine

    I've setup multiple users on a single machine and I'm trying to have a common shared folder for photos (w/ Adobe PSE) and music (w/ iTunes). First, on photos:
    -Tried setting up a folder on /users/shared/pictures. How can I "share" the main folder and have permissions carry down to all subfolders and files?
    -I've given the other user permission, but when logged on, Finder window only displays icon, not preview of image? In cover flow mode, image shows up, though?
    -Is this the best approach or is /me/public the better way or /me/pictures (shared) a better way?
    And then on music:
    -recommendations on best approach to have a single library with multiple users and multiple iTunes accounts.
    Thanks in advance

    The iTunes sharing is for sharing music between computers on a network.
    To share music on a single PC, read this article
    http://docs.info.apple.com/article.html?artnum=93195

  • Flash Player For Multiple Users On Same Computer

    While surfing. I got a message to update Flash Player. When I
    did, issues began to occur for other users on my home computer. The
    adminstrator could view web pages with Flash content, but no other
    users could, including other adminstrators on the computer. After
    looking at support documents, I uninstalled the flashplayer - then,
    reinstalled using a different administrator id. Now, that id can
    view Flash and no others can. I have tried changing screensavers as
    suggested in another support document, but no luck. How do I get
    Flash to work for all users?

    It might be a permission problem in the Flash Player install folder.  Try a clean install on the original machine.
    If that does not resolve your problem, can you tell what Windows version & edition you are using?
    Also check the permissions of all files in
    C:\Windows\System32\Macromed\Flash
    C:\Windows\Syswow64\Macromed\Flash

  • App updates for multiple users on same Mac with maverick

    Background.  I have a single iMac that I have been using since ~2007. It's a family computer and there are three(3) accounts/users on it.  I am the administrator for them.  The operating system has been kept up with each OS upgrade since its purchase.  We are currently using Maverick.
    Problem - In the past with all the other operating systems (pre-Maverick), when a application needed to be upgraded I could log into my account (administrator rights) and perform the necessary upgrade and it would propgate to ALL the users on this computer.  However, since upgrading to Maverick I can no longer just upgrade on the administrators account (i.e. mine) and it propogate to the other users.  I now have to log into each individual account (i.e my wifes and sons) and perform the upgrades to their account.
    Question - Does anyone know if there is a way to allow the administrator to perform the single upgrade that propogates to others users in OS Maverick without having to log into each individual accounts and updating each account separately.  Also does anyone know why OS Maverick no longer supports the capability like ALL previous OS's have in the past? 
    Thanks

    Ok thanks.  The apps that I'm referring to are: Pages, keynote, numbers, iMovie, and iPhoto.  Each of these were originally purchased or came (iLife / iWork) with the machine when I purchased it.  All of those apps are located for each user under HD/Applications folder.  Each user does have a apple iD for itunes and itunes purchases for songs etc. but all applications are purchased by me the administrator and placed in the HD/Applications folder.  So I'm not sure why I now (since upgrading) to Maverick need to go into each account and perform the updates to these apps.  All previous OS updates never had this problem. 
    Does this now mean for each user that I perform the update my HD is getting multiple downloads and installs and increasing the amount of usage per application.  For example if "pages" takes 1 Gb and I install it for each user will it now take a total of 3Gb for the 3 users?
    Thanks for your help

  • Can I set a default Playback preference for multiple users on same PC?

    I am setting up an editing suite for our University which has a "per machine" Creative Cloud licence. It is a PC installation. This machine will be used by a class of students who will log in with their own credentials. I need to set the preferences for Premiere (video output, workspace layout, default drives etc) so that it will be the same for all users logging in since we want a consistent setup for teaching purposes and dont want to have to help each student set up so that it shows correctly on the monitors. Is there a way of saving this setting as the default for every user?  In particular, as we have dual monitors, we want to save the preferences - Playback to always appear on the second monitor. This is really important for us - I need an answer before building more suites.
    (Adobe won't let me ask them directly, so I have to wait for someone to provide an anwser on the forums... not great customer support in my book)

    Firstly...is  this editing suite for the purpose of teaching editing or something else?
    Next ...what is your experience with PPRo?
    You can set up the machine(s) initially exactly how you want them  in regards to hardware and screen layouts etc.  Thats easy and can be called..'University of Waikato Default Edit Workspace' for example. That is  only part of it though.
    You can set up and share a common Key Board Short cut Preference File.  Same as Export Presets.
    There is no way you can "Default" all the USERS stuff for individual unique projects  though without creating a massive potential for disaster and confusion.
    Each will need to have access to many separate drive locations for their media (audio, graphics, footage) and the knowledge to create, access and locate it.
    THey will each need a separate Location for their Projects as well as their media.
    If they are editing students...they should be taught how to set up everything for themselves so they have an understanding of the fundamentals and basic s of NLEs

  • How to disable a custom designed Tx code for multiple user at a time

    Hii ,
    I have designed a screen in module pool for end user to make entries in the screen and when he saves the data is saving in standard table and ztable. the main field in the screen is Batch number..from that batch  number bag number will be generated. and consumed quantity will be saved in that bag no.Bag number will be generated like first 5 digits of batch number and bag number series of that batch number. for example if batch number is 12345 and already 5 times packing is done for same batch..last bag number in the ztable will be 123450005.so next time when user tries to pack using same batch number the new bag number will be 123450006 for batch 12345.Problem here is when user tries to make enrties in that Tx code and at the same time if another user opens same Tx code to make packing for same batch both of them are getting same bag numbers before saving.
    I have called Enqueue and Dequeue FM's but still at a time for same batch user is able to do the packing.now my issue is i want to restrict 2 user to use same batch while packing in that Tx code.
    I have written following code for enqueue and dequeue technics
    data: B_matnr type mara-matnr,
           B_charg type mchb-charg.
    data : i_temp type TABLE OF zpackhdr WITH HEADER LINE,
           i_temp1 type TABLE OF zpackhdr WITH HEADER LINE.
    move : 1110 to WA_BCH-werks,
           chk_matnr1 to WA_BCH-matnr,
           v_bcharg to WA_BCH-charg,
           vgrade to WA_BCH-grade,
           new_batch to WA_BCH-bagno,
           m_baleno to WA_BCH-baleno,
           b_date to WA_BCH-indat.
    APPEND wa_bch to i_bch.
    clear b_date.
    READ TABLE i_bch INTO wa_bch INDEX 1.
        B_MATNR = WA_BCH-matnr.
        B_CHARG = WA_BCH-bagno.
    concatenate  B_matnr B_charg  into
        WA_BCH-objek respecting blanks .
       modify I_BCH from WA_BCH index sy-tabix.
    CLEAR: B_MATNR,
               B_CHARG.
    call function 'ENQUEUE_EMMCH1E'
    EXPORTING
       MODE_MCH1            = 'E'
       MANDT                = SY-MANDT
       MATNR                = WA_BCH-MATNR
       CHARG                = WA_BCH-BAGNO
    if sy-subrc <> 0.
    endif.
    call function 'DEQUEUE_EMMCH1E'
    EXPORTING
       MODE_MCH1       = 'E'
       MANDT           = SY-MANDT
       MATNR           = WA_BCH-MATNR
       CHARG           = WA_BCH-CHARG

    I do understand what u say...mine is a custom designed screen...when i open that screen i have around 15 input fields in which batch is obligatroy...when i give batch and hit enter all the other fields will be filled automatically picking from the table which are relevant for that batch..for example..material,order etc are picked from table...and bag number field will be generated taking first 5 digits of batch and followed by 0001 if its afirst time entry for that batch....so when a user is opening that screen in 2 different windows and giving details without saving any of the screens...in both screens bag number is generating as 001...and when saving it ..its saving 2 entries with same bag number...so i have created a lock entry for afpo table taking order field...so when a user opens 2 screens with same batch...and giving entries in those 2 screens without saving..he is getting same bag numbers as 001.....now when user saving the first screen and coming to second screen to save...he is gettimg message 'ORDER CURRENTLY BEING PROCESSED'..but after the data gettng saved in first screen,then when he saves the second screen it is getting saved...with same bag numbers as 001.so my issue is here...when he saves first screen and comes to second screen to save it the user should get that error message and should come out of the screen....so that he can make a fresh entry for that batch and bag number will be generated as 002 for that batch...
    Regards,
    venkat.

  • How to setup for multiple users accessing same share?

    Hi!
    Recently picked up Mac Mini Server and have some configuration questions related to sharing files & information over the internet. Whenever possible, prefer to use the built-in features & tools, not 3rd party tools.
    My setup & needs are this:
    - Have folders & sub-folders with files to share.
    - Wish to give individuals access to the shared folders, each with their own account (and access logging).
    - Shared folder and files should be visible via web to authenticated users only (so no special client or setup is needed).
    Right now, have added a Website via Server.app that points to the folder with files to share, and that works somewhat, but doesn't support individual user accounts separately?
    Thought maybe to setup VPN but that seems like massive overkill for this (and is a pain in the butt for non-technical users to setup).
    Editing httpd.conf for user support is a possibility, but seems /etc/apache2/httpd.conf only applies to the default web server (on port 80) not the one i set up in Server.app?
    Can anyone recommend the best approach, given the above needs?

    I have a related question. i created 2 websites/domains then i went to users and created 2 seperate "network" users then i went to ftp and selected each website and added only user A to site A and user B to site B. what's weird is that when i try to ftp using either of the users it seems to land on the same site. i looked at shared security for the folders and it only shows user a on site a folder and user b on site b folders. am i doing somehitng wrong or is this how it works in mountain lion server? i just want to give the domain owner ftp access so they can manage their files and only thier files. i also had to turn on open directory so that it would not create a local user but a network user. do i need to turn that off and just deal with having a bunch of local users as ftp user? i want to host multiple websites on the server and NO users remote on to server besides ftp.
    edit 1: i only have 1 IP running on the server which i don't think it has any affect on this but thought i mention it :-)
    edit 2: i just noticed one more thing that may help. i used filezilla to remote in using both users, one at a time. it seems to allow both users in but then it shows same directories. i then created a file using the one that was not supposed to have acces and it never sows up. but if i remote desktop to server i can see the new file in the correct folder. so it may have something to d o with the directory listing.

  • Sharing library for multiple users on same computer

    I have 2 non-administrator accounts and an administrator account on one Mac. (G5 running Tiger). I have tried various ways of sharing songs between all of these accounts. What I am trying to do is have the 3 accounts show the same songs when they open iTunes. I want to be able to add songs to any of the individual accounts, and have it show up in all 3. I do not want to make 3 copies of each song. I can't seem to get this to work. I had this working before I upgraded to itunes 9. Now no matter what I do, can't get it to work. Can someone let me know how I can set this up?

    Use tweakUI, google on it to get it and install it.
    More details are here or do a search discussions for "TweakUI" if you need more.
    http://discussions.apple.com/thread.jspa?messageID=1175181&#1175181

  • My company uses Firefox on Server 2008 R2 and need to set up selective mass cookie removal for multiple users at one time.

    Our company just started using Firefox due to some website compatibility issues with IE. We had a 3rd party tool clearing all cookies without any exception options. We are now needing include exceptions for cookie removal due to website security changes. Is there a way to setup all users on the server to have the same cookie removal profile without doing individual setups?

    Go to the '''[https://addons.mozilla.org/en-US/firefox/ Mozilla Add-ons Web Page]''' {web link}
    (There’s a lot of good stuff here) and search for what you want.

  • Sharing iTunes Library for multiple users on SAME PC at home.

    I am running Windows XP. I want to get my wife a Shuffle for Christmas, and I'd like us to be able to share the same music library. Because of paranoia over what the kids can get to on the net (my oldest is 10) and because my wife keeps here files in a mess, we all have separate accounts on my home machine.
    I turned on sharing in iTunes in my account, but none of my music library if visible when I launch iTunes in her account. Is there a way what I want to do?
    Buck Surdu

    The iTunes sharing is for sharing music between computers on a network.
    To share music on a single PC, read this article
    http://docs.info.apple.com/article.html?artnum=93195

  • Sound system not working for multiple programs at same time.

    So first off I have an HP Envy m6 Notebook Windows 8 laptop with an AMD10 processor, no added in cards or anything.
    I am using headphones and the first program I run after starting up my computer (WoW, itunes, winamp, youtube video, etc) is the only program that will work with my headphones until I again restart my computer. Everything else after that just won't output sound at all. I have no idea why this is, when I got to device managers > sound and try to set my headset as default device, I'm not allowed to do that either. Along with this it even says sound is coming out of my computer's speakers when its actually coming out of the headset. Anyone know why and can help?

    Hello Archen5,
    I see that you are having problems with the sound on your computer only working with the first program you open. I would like to help with this issue but I need some information.
    Can you provide the full model and product number of the computer? Here is a link that shows how to find that information.
    How long have you been having the problem?
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • It is possible to have a dynamic Oracle Label Security procedure/script to configure data label (compartments and data label)  for multiple rows at same time?

    A single script which can be run below mentioned commands...  instead of using multiple manual steps for configuring data labels. Is that possible and how? Having bulk of data where OLS need to be applied.
    exec LBACSYS.SA_COMPONENTS.CREATE_COMPARTMENT
    exec SA_LABEL_ADMIN.CREATE_LABEL
    exec SA_POLICY_ADMIN.APPLY_TABLE_POLICY

    Have you ever answered this question? If not, have you tried to use the "HIDE" property on your table_options?

  • Table data getting locked for multiple user for a Z-table updation after EH4 to EHP6 Upgrade

    Hi,
    We have one new upgraded system at EHP6, earlier system was at EH4 where multiple user can Run one Z  T-code and can edit the entries for the Z-table.
    This Z-Tcode is calling SM30 internally for updating the Z-Table.
    Now in the upgraded system, when one user is into the transation code, and other user runs that T-code, systems throws a POP-UP mesg saying that the data is locked and can be displayed only(can not be edited).
    I have debugged the code in both the environment and found that there is one statement Call C_ENQUEUE ID < > field. for which the Sy_Subrc is coming as 2 in the upgraded system which is causing the issue, where as the sy-subrc is 0 in the system at EH4 level.
    Can any body tell me why this Z-tcode is not allowing to be accessed by multiple user at same time for Editing(updating the table) .
    Regards,
    Archana Jha

    Hi,
    When you create the lock object you can define the keys.
    and then you can use those in the ENQUEUE function.
    Regards.
    regards.

Maybe you are looking for

  • How to install templates in CS5

    I have just downloaded some free templates from onOne and I don't know how to open them to work the way the video shows them working. They are PSD or PSI files... I am supposed to be able to open them using the 'layer comps' but I don't know where to

  • Messages keeps logging me out of yahoo..

    messages on my macbook pro keeps logging me out of yahoo. how can i fix this.

  • I can't open pdf files

    please help me

  • Open url, type in a form and repeat in safari

    I'm very new to scripting so bare with me. I'm trying to open a url, select a form or dialogue box ( not sure what they're called) enter text into it, click the submit button, and repeat in a set number of minutes. So far I've been able to open a win

  • SLiM Problem

    I put SLiM as a daemon and I have done everything in the wiki. But when the daemon loads, it fails and says x timeout 5 minutes, something like that. It goes too fast for me to see. Oct 30 17:56:20 arsenic init: Switching to runlevel: 6 Oct 30 17:56: