Expand my Community achievements bar.

Managing End User Shared Queue Settings

Avatar

Level 4

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

7 Replies

Avatar

Level 10

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.

Jasmin

Avatar

Level 4

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.

Avatar

Level 8

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.

http://livedocs.adobe.com/livecycle/8.2/admin_aac/000012.html

scott

Avatar

Level 4

Scott

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(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.TransactionCallback) throws com.adobe.idp.dsc.DSCException, causedBy:
java.lang.NullPointerException
        at com.adobe.workspace.queuesharing.QueueSharingService.getUserContext(QueueSharingService.java: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.java:118)
        at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:342)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(EjbTransactionCMTAdapterBean.java:212)

Avatar

Level 8

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.

Avatar

Level 4

Scott

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

Avatar

Level 8

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.

scott