7 Replies Latest reply on Nov 4, 2009 8:33 AM by Scott Brodersen

    Managing End User Shared Queue Settings

    NW987 Level 1

      Is it possible in 8.2.1 to manage(add users, remove users) shared queue settings for end users?

        • 1. Re: Managing End User Shared Queue Settings
          Jasmin Charbonneau Level 4

          There is a process under Process Management that does queue sharing. It's called Queue Sharing. You might not want to implement the entire process, but there is a step there called Share Queue that shares a queue with a particular individual.


          You could create your own process that takes the user id of the queue owner and the user id  of the person who you want to share the queue with and use that Share Queue step to do the sharing.


          You could also use the Java api.



          • 2. Re: Managing End User Shared Queue Settings
            NW987 Level 1

            When I try to run the shareQueue process, I'm getting an error.


            2009-11-03 17:06:17,819 ERROR [com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker] An exception was thrown with name com.adobe.workspace.queuesharing.QueueSharingException message:shareQueue can only be called by the system context while invoking service QueueSharingService and operation shareQueue and no fault routes were found to be configured.

            Obviously I need to use some type of escalated privilege to set the queue.


            I also can't find any examples of that java API.  Is it documented?


            Thanks, and additional info would be helpful..  This is important, and support is worthless.

            • 3. Re: Managing End User Shared Queue Settings
              Scott Brodersen Level 4

              You can configure a process's service to run using the System context. You do this using Administration Console:

              Services > Applications and Services > Service Management > the service name, then the Security tab.





              • 4. Re: Managing End User Shared Queue Settings
                NW987 Level 1



                Thanks.  I think I tried that and I'm getting the error below.


                Have you tried configuring a user's shared queue settings using the shareQueue activity?






                2009-11-03 17:31:31,930 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterLocal.doSupports(c om.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.Transacti onCallback) throws com.adobe.idp.dsc.DSCException, causedBy:
                        at com.adobe.workspace.queuesharing.QueueSharingService.getUserContext(QueueSharingService.j ava:161)
                        at com.adobe.workspace.queuesharing.QueueSharingService.shareQueue(QueueSharingService.java: 90)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:585)
                        at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
                        at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
                        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
                        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
                        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)

                • 5. Re: Managing End User Shared Queue Settings
                  Scott Brodersen Level 4

                  I just tried it and it worked:

                  • Created a process that invokes the Queue Sharing process as a subprocess
                  • For the Input properties of the subprocess I used the following literal values:
                    • granterId: rwoodard
                    • granter Name: Rye Woodard
                    • RequesterId: kvarsen
                    • Requester Name: Kel Varsen

                  I invoked my process, and then Rye Woodard had a task in Workspace requesting that he share his queue with Kel Varsen. I didnt have to change the Securiy properties of any of the services.

                  • 6. Re: Managing End User Shared Queue Settings
                    NW987 Level 1



                    Thanks.  I'm trying to find a way to change a user shared queue settings without the user's intervention.

                    • 7. Re: Managing End User Shared Queue Settings
                      Scott Brodersen Level 4

                      I opened the Queue Sharing process and it calls the shareQueue operation of the QueueSharingService service. It seems that service is the one that actually creates the share. Try calling that service directly from your process.


                      I didn't try it, but I think that will do what you want.