Two user tries to open the same action

Hi,
Process Default roles are assigned to "Portal Roles" instead of  "Individual user".
It was found that two users can open the same action without any warnings.
My requirement is if two users at the same time access the same action then some message should be displayed or no two users are allowed to view the same action at the same time. If one user is working on it then other user should be restricted?
How to achieve this?
Previously I was using 2004s in that senario I was getting this message
"The following action has been opened by another 1 user(s). The last access time is: Tuesday, June 30, 2009 5:40:00 AM" 
This message is not visible in CE 7.1
Do I have to configure something for that.
Regards,
Pratik

Hi Pratik,
Regarding your query on restricting one user if another user has already opened a task, I would say there is no simple solution to this.
We are working on similar GP Processes where a task goes to multiple users. But we do not have requirement like yours. Nevertheless I still gave a thought on your query as to how it can be achieved. I could think of using static variables in Web Dynpro code such that as soon as a task is opened (or execute method is called), a Boolean static variable is set to true. Now if any other user tries to open the task, we do a check whether the variable is true or false. If the variable is false, then show some error or the screen in disabled mode.
But this is not so good as it looks. A problem would come in a scenario where the task is opened by multiple users, with one user having control on the task. But this user closes the task without approving it. Now we are in trouble. I thought maybe what we can do is set the static variable back to false in the wdDoExit() method. But I could still see scenarios where process will not behave properly.
I would leave it up to you to give it some more thought. You might find some clue.
In your second post, you are asking "Can we provide functionality where only one user can access the action". I think this can simply be achieved by assigning a single user to the action rather than assigning a Portal Role.
Regards,
Ankur

Similar Messages

  • 'File in Use' message is received when one user is in the report and another user tries to open the Excel template

    ‘File in Use’ message is received when one user is in the report and another user tried to open the excel template. how to make excel template shared for multiple users so the users don’t see the ‘File in Use’ message?

    Hi Febin,
    In addition to others’ replies, we can create a shared workbook and place it on a network location where several people can
    edit the contents simultaneously. For example, if the people in your work group each handle several projects and need to know the status of each other's projects, the group can use a shared workbook to track the status of the projects. All persons involved
    can then enter the information for their projects in the same workbook.
    Regarding how to do this,
     the following article can be referred to reference.
    Use a shared workbook to collaborate
    http://office.microsoft.com/en-in/excel-help/use-a-shared-workbook-to-collaborate-HP010096833.aspx
    Best regards,
    Frank Shen

  • IBooks app thinks my two user created textbooks are the same!

    iBooks app thinks my two user created textbooks are the same file. Whichever I load first works just fine, but when I try to load the second, nothing happens and then my first book opens up again. I use drop copy to move files onto my class' iPads (20 of them), but I have to uninstall the first book in order to load the second. This only happens with my two textbooks. Other user created books work fine.
    My semester has already started and I'm not able to put my content into their hands. Please help!!

    Thank God somebody figured it out! This was driving me nuts. But I have to say this is a pretty stupid way to address the problem...I have a client that produces iBooks for corporate clients, customizing the book for each one. Having to start from scratch every time, then  copy and paste all the content in to a new instance of the template is really, REALLY stupid. There should be some field you fill in within the U/I that would allow you to specify the name of the book, so that the iBooks app would know if it's a new rev of an existing book, or a new book altogether. Kinda brain dead the way they do it now.

  • How do you keep two users logged in at the same time?

    How do I keep two users logged in at the same time to be able to access home sharing?

    Fast User Switching in Users & Groups or Accounts preferences in Login Options.

  • How can I make Adobe Acrobat Pro give a warning to another person who is trying to open the same file I currently have open?

    How can I make Adobe Acrobat Pro give a warning to another person who is trying to open the same file I currently have open?

    You can't.

  • One computer, but two user-accounts active, at the same time, in 10.6?

    I'm contemplating this setup: A current generation MacPro (running SL), with two monitors. Can I have two separate user-accounts (the Admin account and one additional user-account) active and running simultaneously from the MacPro, but, of course, displayed separately to the monitor corresponding with that user-account?
    Thank you!

    you can have two accounts logged in at the same time via fast user switching but there is no way to display them at the same time on different monitors.

  • When Firefox freezes and reboot is needed, Firefox always tries to open the same tabs that caused failure before.

    I use tabbed browsing all the time. When I open a tab to a website that causes a problem, freezing Firefox (but not the computer) I usually find that I can clear the Firefox problem only by rebooting the computer. I am then dismayed to find that Firefox then tries to recreate the same set of tabs that caused the problem in the first place, causing Firefox to freeze a second time. Usually I can get out of this by closing Firefox and waiting a very long time for Firefox to fully close so that it can be restarted again.
    This problem happens in version 4.0 as well as in the last version of 3 that I had. I recall that in some earlier versions Firefox would ask if you want to recreate your tabs or open as a new browser window. I always took second option. That choice is no longer appearing.

    Set the pref [http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes browser.sessionstore.max_resumed_crashes] to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.<br />
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    * http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    You can use the Filter bar at to top of the about:config page to locate a pref more easily.

  • Error while trying to open the same JSP page.

    Hi partners,
    After solving some issues with JSP deployment, we are getting another error message.
    This is when we try to open the same JSP page at the same time.
    500 Internal Server Error
    javax.servlet.jsp.JspException: oracle.express.idl.util.OlapiException: ORA-22275: invalid LOB locator specified at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:194) at Principal.jspService(_Principal.java:68) [SRC:/Principal.jsp:6] at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:513)
    I mean this is a concurrency problem.
    Any information about this will be really appreciated.
    Best regards!!!!!
    Francisco Mtz.

    After running the BI_Checkconfig tool I got an inconsistent OLAP API Metadata
    result, it was because a partner was modifying the OLAP metadata without saving
    the changes.
    After saving the changes in the OLAP metadata, I ran the BI_Checkconfig tool
    again with success (no metadata errors).
    Now the pages are displayed without any error message.
    Best regards!!!!
    Francisco Mtz.

  • Open the same raw file in PS5 with two different White Balance settings

    I'm trying to open the same Raw File in PS5 with two different White Balance settings.  One setting "as shot" the other in "daylight", then blend them.  The tutorial I'm watching says to "stack" the images.  The tutorial shows one White Balance setting as the "Background" layer and the other setting as "Layer 1".  I don't know how to do this and the tutorial is not specific.  Can anyone either point me to a step by step instruction or offer some assistance?

    Also look at the "Snapshots" feature of Camera Raw itself.  It allows you non-destructively to keep multiple sets of settings for a single raw file.
    Learning about it far exceeds the scope of what can be done in this particular forum.  I would recommend this book as essential reading:
    http://www.amazon.com/Real-World-Camera-Adobe-Photoshop/dp/0321713095/ref=sr_1_1?ie=UTF8&q id=1313502199&sr=8-1
    Additionally, there's a dedicated Adobe Camera Raw forum:
    http://forums.adobe.com/community/cameraraw
    Wo Tai Lao Le
    我太老了

  • Two users opened the same file at the same time with file on Win2K Server

    I just had a problem with a file that could not be saved. After a little investigation I discovered that two users had the same file open at the same time. This is with both users using InDesign CS2 and saving to a Windows 2000 Server. Any ideas how this even happened? The only thing I can think of is if they both opened the file at the exact same time but even that I doubt. I guess the more likely possibility is that the user on 10.5 (which we have had a lot of problems with, it's hard to tell how many of them are CS3 problems (yes CS3) and how many are Windows 2003 Server problems) had InDesign CS2 flake out and not tell her the file was open. Has anybody else seen this? The other user was using 10.4. Both computers have the most recent updates for the OS and for their various adobe products.

    I have videos on mov file and my quick time player does not play them.
    The MOV file container is the generic QT file container. Any audio and video data compatible with the computer system used to create the file can be placed in the MOV file container. Unfortunate, other systems cannot play the file unless they too are configured with the same components as those used to create the file. The normal procedure here is to use the Finder "Info" or alternative media play "Inspector" window to determine what codecs were used to create the original file and, if they are available for your Mac, install them on your system for playback use. Also be advised that some "legacy" codecs may require playback in the QT 7 Player for proper QT support.
    I opened with other players, there is no sound. Then I opened the same file on my windows 7, it plays perfectly with the sound and everything? What is the problem?
    This would indicate these players either access your QT codec component configuration which does not include the required codec or the app has its own built-in codec support which does not include the required audio codec but you Windows 7 media player is configured with the required codec support. This may incidate the use of a really old codecs that may or may not be available/supported on a Mac any longer.

  • Why can't two different users use Itunes on the same computer with different log ins

    Why can't two different users use Itunes on the same computer with different log ins

    Pmorgan5672 wrote:
    Why can't two different users use Itunes on the same computer with different log ins
    They can, but not at the same time.
    If one user left iTunes running, and another user tries to use iTunes from a different Windows user ID, that second user will get an error message.  If they really want to use iTunes, they either have to beg the first user to log in and close iTunes, or else they have to restart the computer.
    If you are asking the technical reason why, it is something about context switching.

  • Using Illustrator CS and being able to open the same file on two machines!

    Hi,
    Don't know if anybody can help?
    I have been using macs for many years and now we have moved over to windows!
    We are using a server (not sure which type? NT?) and we have found that with the Mac you could not have two users in the same file but with Windows I can be in an Illustrator file and a colleague can also open the same file - no error message comes up or anything! We can then both do changes in that file and the last to save has the updated file.
    Can we do anything so you get a error message for the second user?
    Any ideas?
    Thanks
    Carole

    Hi,
    this does not make sense? Its the SAME version of Illustrator as that was on the Mac but when working on the PC you can both be in the file. On the Mac you get an error message saying the file is already open and you cannot access it.
    This must be a Windows issue or a Server issue as the problem is not on the Mac?

  • I installed Firefox 3.6. Since then, I am unable to open pdf documents in Firefox. I get a black page. I tried opening the same document in Internet Explorer. It worked fine. I recently installed Nuance's pdf reader and thought that might be the problem.

    I installed Firefox 3.6. Since then, I am unable to open pdf documents in Firefox. I get a black page. I tried opening the same document in Internet Explorer. It worked fine. I recently installed Nuance's pdf reader and thought that might be the problem. Uninstalled it. Still have the problem with Firefox.
    == This happened ==
    Every time Firefox opened

    How about if you right click on the PDF and select Save Link As..., and then open it locally from within Reader? Does it work ok then?  That might be a workaround until the issue within the browser is resolved.
    Rob Jaworski
    Intl Program Manager

  • How do I stop more than one user opening the same file?

    I'm about to install Lion Server and we're concerned that more than one person will be able to open the same file at the same time. Can this be prevented? If not it seems to make the concept of a server pointless?
    Any help appreciated. Already annoyed I have to phone and order 10.7 Server as it's no longer on the App Store. Can't run 10.8 as the Mac Pro is too old and Apple have cut us off.

    The file server software supports file locking, but multiple file access is application-dependent. In some cases it's entirely valid for multiple users to access the same file. It's up to the application to allow or deny this.
    Ordinarily, if an application requires exclusive access it should flag the file accordingly when it opens the file. This will prevent other users from opening the file. However, it's not up to the server to do this.

  • HT204053 If I have set up my Mac with two different users,  can I use two different Apple IDs on the same Mac?

    If I have set up my Mac with two different users,  can I use two different Apple IDs on the same Mac?

    Each user account may have its own Apple ID.

Maybe you are looking for

  • Notifications not going to the contact person

    Hello Friends, Scenario - When i create an RFI Customer activity in a CSR and set its status to 'Requested Customer'', a notification (more information is required) goes to the contact person and the team lead of CRO (Customer Responsible Organizatio

  • Access Point(s) - AIR-AP1231G-A-K9 and others - Spotty Connectivity ...

    Hello, We have eighteen Cisco Aironet wireless access points (most of them are AIR-AP1231G-A-K9 with 12.3(2)JA2 IOS loaded) across our campus which people have weird issues with connecting. Everywhere, people can associate and get an IP address witho

  • SPA112 not picking up DHCP and cant set via IVR

    Firmware 1.2.1.004 I have 2 spa112's that came back from the field Neither of them will pick up an ip address via DHCP, I tried on multiple routers.  The ivr 110# says 0.0.0.0 I also tried setting the ip to static via IVR 101# 1# (this sets to static

  • Maintain Multiple Email-ids in BP

    hi gurus, my query is regarding escalation emails while creating complaints in IC webclient. can i maintian 2 email ids for 1 BP, such that on escalation Mail should go to both emails on same time..?? -Nirav Message was edited by:         Nirav Ashar

  • Best place for Contacts

    What have people found is the best place to use as their master contact list?  I use Outlook 2010 with gSyncit for Gmail. I really don't care about having my Facebook contacts in my Droid since I don't use Facebook that much. I've turned that out. Is