[OIM] Assignment task adapter, need howto

Hello people,
I am trying to do a dynamic assign of a process task. I create the Assignment task adapter, and it appears with two return value. Someone can tell me how to manipulate this variables? I know that one is for storing type (user or group) and the other to store the value of the user or group. I tried several ways, but always I get compile errors. When I check the source, it is obviously why it is failing:
// Adapter Variables
String user = "asoria"; // ddd
Object tipo = getDataBase(); // tipo
protected void implementation() throws Exception {
          try {
          if (! initAdapter("mercaDecideWF"))
               return;
               // Execute Tasks and store results in Hashtable...
Adapter return value for key = user;
Obviously, "Adapter return value for key = user;" is not a valid Java statement.
Any help will be very appreciated.

Thanks! So I had built a Java class for making the map between the return variables. I have a problem and I do not know if this is an OIM issue or I am forgetting something. My Java class can throw a pair "User" - ID or "Group" - ID. It works fine if the User/Group return matches the "target type" of the Assignment tab (of the approval process). But I can not mix them. If the adapter returns "User" and the target type is group, the assignment is made to the group with key 1. If the adapter returns "Group" and the target type is User, then the assignment is made to the user with key 1 (xelsysadm).
Is like the assignment target is written by the adapter, but the target type have some precedence over the one returned by the adapter.

Similar Messages

  • Assignment task in OIM 11.1.1.3

    System:
    RHEL 5 (64-bit)
    OIM 11.1.1.3.0.2
    JDK - Sun 1.6.0_21+
    DB - Oracle 11.2.0.1+
    Application Server - Oracle Weblogic Server 11gR1 (10.3.3)
    Problem:
    Can’t assign task on my process form to anyone. I was testing my AD resource and I usually did the following actions: through Design Console in “AD User” process definition I edit default assignment rule for “Create user” task (also I tried to create my own rule but result was the same). I change “target type” column to “user” and choose some user on “user” column (also I tried to assign task to some group but result was the same). After provisioning resource to some user “create user” task is assigned to XELSYSADM user passing the configuration I’ve made before.

    Did you set the organization, before approving the Task. The Approver needs to specify an OIM organization in which to create a user.
    Regards,
    Sanjay Sadarangani

  • OIM 11gR2 : Process task adapter

    Hello Experts,
    I have to create a process task adapter in order to assign the users provisioned on AD to various groups on AD.
    1. How may i configure a new process task adapter from ther design console ?
    2. How may i map the variables between the process task created in the design console with the input parameters of the adapter java code ?

    http://www.idmworks.com/blog/oracle-identity-manager-basics-creating-a-custom-adapter-in-oim-11g
    http://idmrockstar.com/blog/2009/08/how-to-create-a-prepopulate-adapter-in-oim/ (HINT)
    http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/creadp.htm#BABGHIFA

  • Error in creating a process task adapter in OIM

    Hi All,
    I am trying to create a process task adapter(Java Task) in OIM 11.1.1.5.
    The code tries to fetch the values of a process form using a lookup and store it in a hashmap. So have done import for Thor.Api.* and com.thortech.xl.dataaccess.tcDataProvider in the code. The jar for the code is uploaded in MDS and saved in JavaTask folder.
    Whlie creating the the adapter Task, after selecting the API source as my jar file, when i selecting the Application API, i am getting the following error.
    SEVERE: Class/Method: tcADPClient/introspect encounter some problems: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider; nested exception is: java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider; nested exception is: java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_1035_WLStub.introspectAPIx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy4.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADPDelegate.introspectAPI(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    at $Proxy5.introspectAPI(Unknown Source)
    at com.thortech.xl.client.dataobj.tcADPClient.introspect(tcADPClient.java:113)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.setJavaApiLookup(tcfrmAdapterTask.java:433)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.access$1200(tcfrmAdapterTask.java:40)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask$4.actionPerformed(tcfrmAdapterTask.java:683)
    at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567)
    at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)
    at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:840)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    at java.awt.Dialog$1.run(Dialog.java:1046)
    at java.awt.Dialog$3.run(Dialog.java:1098)
    at java.awt.Dialog.show(Dialog.java:1096)
    at com.thortech.xl.gui.base.tcDialog.show(tcDialog.java:102)
    at java.awt.Component.show(Component.java:1585)
    at java.awt.Component.setVisible(Component.java:1537)
    at java.awt.Window.setVisible(Window.java:842)
    at java.awt.Dialog.setVisible(Dialog.java:986)
    at com.thortech.xl.gui.base.tcfrmPopup.jbInit(tcfrmPopup.java:199)
    at com.thortech.xl.gui.base.tcfrmPopup.addForm(tcfrmPopup.java:166)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.loadAddForm1(tcAdapterTaskTree.java:1387)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.launchEditorForm(tcAdapterTaskTree.java:1355)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.addAdapterTask(tcAdapterTaskTree.java:555)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.actionPerformed(tcAdapterTaskTree.java:459)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
    at java.lang.Class.getMethods(Class.java:1410)
    at com.thortech.xl.dataobj.util.tcApplicationLookup.introspect(tcApplicationLookup.java:417)
    at com.thortech.xl.dataobj.tcADP.introspectAPI(tcADP.java:172)
    at com.thortech.xl.ejb.databeansimpl.tcADPBean.introspectAPI(tcADPBean.java:89)
    at com.thortech.xl.ejb.interfaces.tcADPEJB.introspectAPIx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor589.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy329.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider; nested exception is: java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:124)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:96)
    at $Proxy4.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADPDelegate.introspectAPI(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    at $Proxy5.introspectAPI(Unknown Source)
    at com.thortech.xl.client.dataobj.tcADPClient.introspect(tcADPClient.java:113)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.setJavaApiLookup(tcfrmAdapterTask.java:433)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.access$1200(tcfrmAdapterTask.java:40)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask$4.actionPerformed(tcfrmAdapterTask.java:683)
    at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567)
    at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)
    at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:840)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    at java.awt.Dialog$1.run(Dialog.java:1046)
    at java.awt.Dialog$3.run(Dialog.java:1098)
    at java.awt.Dialog.show(Dialog.java:1096)
    at com.thortech.xl.gui.base.tcDialog.show(tcDialog.java:102)
    at java.awt.Component.show(Component.java:1585)
    at java.awt.Component.setVisible(Component.java:1537)
    at java.awt.Window.setVisible(Window.java:842)
    at java.awt.Dialog.setVisible(Dialog.java:986)
    at com.thortech.xl.gui.base.tcfrmPopup.jbInit(tcfrmPopup.java:199)
    at com.thortech.xl.gui.base.tcfrmPopup.addForm(tcfrmPopup.java:166)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.loadAddForm1(tcAdapterTaskTree.java:1387)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.launchEditorForm(tcAdapterTaskTree.java:1355)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.addAdapterTask(tcAdapterTaskTree.java:555)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.actionPerformed(tcAdapterTaskTree.java:459)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_1035_WLStub.introspectAPIx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    ... 96 more
    Caused by: java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
    at java.lang.Class.getMethods(Class.java:1410)
    at com.thortech.xl.dataobj.util.tcApplicationLookup.introspect(tcApplicationLookup.java:417)
    at com.thortech.xl.dataobj.tcADP.introspectAPI(tcADP.java:172)
    at com.thortech.xl.ejb.databeansimpl.tcADPBean.introspectAPI(tcADPBean.java:89)
    at com.thortech.xl.ejb.interfaces.tcADPEJB.introspectAPIx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor589.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy329.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    I am not able to select the Application API and so cant proceed further.
    Request you all to provide some help for the same

    The other error for the same is as follows
    Oct 9, 2012 6:36:21 PM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: tcADPClient/getConstructors encounter some problems: Bean has been deleted.
    javax.ejb.NoSuchEJBException: Bean has been deleted.
    at weblogic.ejb.container.swap.DiskSwap.read(DiskSwap.java:192)
    at weblogic.ejb.container.manager.StatefulSessionManager.getBean(StatefulSessionManager.java:420)
    at weblogic.ejb.container.manager.StatefulSessionManager.preInvoke(StatefulSessionManager.java:492)
    at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:229)
    at weblogic.ejb.container.internal.StatefulRemoteObject.__WL_preInvoke(StatefulRemoteObject.java:57)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:24)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.getConstructorsx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    java.lang.NullPointerException
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.setJavaApiLookup(tcfrmAdapterTask.java:447)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.access$1200(tcfrmAdapterTask.java:40)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask$4.actionPerformed(tcfrmAdapterTask.java:683)
    at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567)
    at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)
    at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:840)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    at java.awt.Dialog$1.run(Dialog.java:1046)
    at java.awt.Dialog$3.run(Dialog.java:1098)
    at java.awt.Dialog.show(Dialog.java:1096)
    at com.thortech.xl.gui.base.tcDialog.show(tcDialog.java:102)
    at java.awt.Component.show(Component.java:1585)
    at java.awt.Component.setVisible(Component.java:1537)
    at java.awt.Window.setVisible(Window.java:842)
    at java.awt.Dialog.setVisible(Dialog.java:986)
    at com.thortech.xl.gui.base.tcfrmPopup.jbInit(tcfrmPopup.java:199)
    at com.thortech.xl.gui.base.tcfrmPopup.addForm(tcfrmPopup.java:166)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.loadAddForm1(tcAdapterTaskTree.java:1387)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.launchEditorForm(tcAdapterTaskTree.java:1355)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.addAdapterTask(tcAdapterTaskTree.java:555)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.actionPerformed(tcAdapterTaskTree.java:459)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

  • OIM: JSF / JPA in task adapter

    * Cross Posting from Weblogic Server server forum *
    Hello
    I have a JPA / JSF application that was written to assist with DB reads / writes. The java methods are called from OIM, as task adapters.
    If I run my application from within JDeveloper, all is well. Everything behaves as you'd expect.
    If I create a deployment profile and deploy to a jar file, everything works as well. In the jar, all of the classes, as well as the META-INF/persistence.xml file are included. Running the app with 'java -classpath .:/path/to/jar com.classname.method works as expected.
    If, however, I then copy the jar to the JavaTasks directory of WLS/OIM, and try and execute the method, I get the following error:
    Target Class = com.classname.method
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpCLASSNAME.METHOD(adpCLASSMETHOD.java:120)
         at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpCLASSMETHOD.implementation(adpCLASSMETHOD.java:62)
         at com.thortech.xl.client.events.tcBaseEvent.run(tcBaseEvent.java:196)
         at com.thortech.xl.dataobj.tcDataObj.runEvent(tcDataObj.java:2492)
         at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(tcScheduleItem.java:2917)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(tcScheduleItem.java:547)
         at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
         at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
         at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(tcProvisioningOperationsBean.java:4042)
         at Thor.API.Operations.tcProvisioningOperationsIntfEJB.retryTasksx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Caused by: javax.persistence.PersistenceException: No Persistence provider for EntityManager named persistenceID: The following providers:
    org.eclipse.persistence.jpa.PersistenceProvider
    kodo.persistence.PersistenceProviderImpl
    org.apache.openjpa.persistence.PersistenceProviderImpl
    Returned null to createEntityManagerFactory.
    My persistence.xml file defines the persistenceID provider. It works fine if run from JDeveloper, or the command line. But, WLS/OIM cannot seem to find/parse the persistence.xml file when run as a task adapter.
    I have even created a DataSource within WLS, and tried to reference it that way (instead of directly via the jdbc drivers) with no luck.
    How do I get OIM to recognize the existence of the persistence.xml file in the META-INF directory of the jar that contains my classes? Do I have to add another persistence.xml file elsewhere in the WLS server to get it to be parsed?
    Thank you.

    It is there.
    Here is an extract from the persistence.xml file:
    <persistence-unit name="persistenceName">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>/jdbc/datasourceNameDS</jta-data-source>
    <class>...</class>
    <class>...</class>
    <class>...</class>
    <class>...</class>
    </persistence-unit>
    Thank you.

  • Custom Process Task Adapter for AD OIM 11gR2

    Hi,
    Has anyone written a Custom Process Task Adpater for AD? We want to update bunch of attributes from a single task adapter and wondering how we can extend the OOTB ones?
    - Kaushik

    Thats the thing right, we are not able to get the API or appropriate connector classes to get AD Connections and other stuff.
    Consider the case where, you update the Manager's DN. How do we write an adapter using connector's api to fetch the dn?

  • New task assigned to user from CurrentItem:UserField using Assign task action is assigned to different user.

    Hello ! 
    I have run into "funny" problem. 
    I have following workflow:
    User is creating item in ListA. In new form he needs to put Manager which is User Field column type. From people picker he is choosing login name Domain\jo (Two letters seems to be important here). User is resolved correctly to John Doe. Item is saved and
    added to list correctly. In list view John Doe is displayed in Manager column. In view item John Doe is in Manager field. In powershell Id;#John Doe is as a Manager field value. 
    Now the "funny" part:
    After item is added to ListA workflow is started automatically. Workflow is assigning new task to user from Manager (CurrentItem:Manager) field using Assign task action. Now the new task is assigned to different person i.e. John Dimagio with login name DOMAIN\jod
    ! When I am logging value to wf history of the CurrentItem:Manager field I am getting sth like i;123#DOMAIN\jod . So value is completely different and wrong. 
    Can someone explain why is this happening? 
    My guess is that using two letters login name can cause such case but why ?
    Regards,

    Hello ! 
    I have run into "funny" problem. 
    I have following workflow:
    User is creating item in ListA. In new form he needs to put Manager which is User Field column type. From people picker he is choosing login name Domain\jo (Two letters seems to be important here). User is resolved correctly to John Doe. Item is saved and
    added to list correctly. In list view John Doe is displayed in Manager column. In view item John Doe is in Manager field. In powershell Id;#John Doe is as a Manager field value. 
    Now the "funny" part:
    After item is added to ListA workflow is started automatically. Workflow is assigning new task to user from Manager (CurrentItem:Manager) field using Assign task action. Now the new task is assigned to different person i.e. John Dimagio with login name DOMAIN\jod
    ! When I am logging value to wf history of the CurrentItem:Manager field I am getting sth like i;123#DOMAIN\jod . So value is completely different and wrong. 
    Can someone explain why is this happening? 
    My guess is that using two letters login name can cause such case but why ?
    Regards,

  • Auto Assign Tasks while on Vocation in BPM 11.1.1.5

    Hi,
    Any idea how to assign tasks automatically in BPM 11.1.1.5. Lets say there are tasks assigned to me and I am in the middle of working on those and I go on vocation how can do I get all those tasks to be automatically reassigned to some other user and if any other tasks gets assigned to me while on vocation want those to be routed to some other user and once I am back from vocation need all those tasks assigned back to me automatically.
    Is there any out-of-the-box functionality in BPM 11.1.1.5.
    Thanks

    Hi,
    I tried that but it does not work. Created a new rule with vocation enables but no luck. So wondering if it even works.
    Any idea which API's need to look at, if have to custom develop this functionality.
    Thanks

  • Process Task Adapter that looksup value

    Hi,
    Any help on creation of a process task adapter that will lookup a value in OIM.
    I wanted to make this as a generic adapter, by passing the lookup name and a codekey value which should fetch the decoded value in that lookup table.
    By doing so, I wanted to set few attributes so that when a attribute value got changed in USR form, it should search the mapped lookup and the codekey value (using a process task definition) and then set the decoded value in the targetted attribute.
    Thanks in advance.
    Regards.

    Here is the thread which might help you. Solution is there.
    Adapter for querying lookup table
    Sunny

  • Query in schedule task adapter using FilestreamProvider

    Hi,
    Requirement: I need to use a dynamic file send port which appends the file every 2 hours after which is picked up by an ftp adapter on a daily basis on a fixed time.For
    the above, I am using a scheduled task adapter to pick the from folder path(  send port path) and via FTP adapter send to the destination.
    Flowchart:
    Direct Binding in Orchestration->Map-> Dynaminc File Send port-> File should be appended every two hour(for eg: suppose the file has to be picked up every day at 1pm,3pm: Until 1pm, all the files appended in the folder should be picked and
    sent to the destination via schedule task adapter then the message should be deleted from the folder path then in between 1pm to 3pm how many every files come in should be appended aI have created a schedule task adapter using FileStreamProvider which should
    pick files from a folder path in the interval of 5mins. The file gets appended every 2 hours and is  sent to the destination. The adapter works fine but the file in the folder does not disappears after the schedule is over every 2 hours. Please provide
    a resolution. nd send to the destination via ftp adapter and the file should be deleted from the folder path)->Picked up by schedule task adapter every 1 hour-> sent to the destination via FTP send port.
    Problem:
    I have created a schedule task adapter using FileStreamProvider which should pick files from a folder path in the interval of 2 hours. The file gets appended every 2 hours and is  sent to the destination. The adapter sends the files at scheduled timee
    but the file in the folder(i.e where the file sits after being processed by dynamic send port) does not disappears after the schedule is over every 2 hours and the content of the file is also not visible. Any kind of help would be appreciated.
    Thanks in advance,
    Ranjana

    >
    Arpit Seth wrote:
    > Hi All,
    >
    > We have an interface in which we are inserting data in Oracle server using JDBC Reciever Adapter.
    > The interface ends up in error on adapter engine level whenever the we are sending long data in one of the field of target structure. The error which we get in communication channel monitoring is that "String too long", on googling i found that in oracle they solve such problem by making the field data type as CLOB.
    >
    > Thus can we define target structure field of CLOB type so that while inserting the data in Oracle server we never face the issue of this long string.
    >
    > Thanks
    if the field contains very large data then yes, defining the target field in Oracle as a CLOB will solve your issue.
    http://www.herongyang.com/jdbc/MySQL-CLOB-Overview.html

  • Error in Workflow 2013 when I try assign task (HTTP Forbidden)

    Good morning. I have Sharepoint Server 2013 and Workflow Manager on two other machines with Windows Server 2012 standard. I need to use workfloows 2013, so when I'm trying to do some simple workflows as "send mail" or "change date in column".
    When I have tried to do workflow with assign or "start a task process" it published normal, but when I have started this workflow, in first minute in status is running and have prevention:
    Повторяется последний запрос. Следующая попытка будет выполнена менее чем через одну минуту. Сведения о последнем
    запросе: HTTP Forbidden для http://sitentcngd.ntcngd.com/_vti_bin/client.svc/web/lists/getbyid(guid'e26ccab4-cd3e-41d4-a3e5-5f88603b113e')/ContentTypes; идентификатор взаимосвязи: a7979745-27cc-11dd-9ed5-3035c009dfb3; идентификатор экземпляра:
    b4d5ed97-1e34-40c1-9aee-4290db6decc7.
    But then it will stop with prevention:
    RequestorId: a7979745-27cc-11dd-0000-000000000000. Сведения: An unhandled exception occurred during the execution of the workflow
    instance. Exception details: System.ApplicationException: HTTP 403 {"x-ms-diagnostics":["30000000; reason=SSL is required"],"SPRequestGuid":["a7979745-27cc-11dd-b786-269bc5b64105"],"request-id":["a7979745-27cc-11dd-b786-269bc5b64105"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["158"],"SPIisLatency":["0"],"MicrosoftSharePointTeamServices":["15.0.0.4535"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Date":["Wed, 14 May 2014 06:00:36 GMT"],"Server":["Microsoft-IIS\/8.0"],"X-Powered-By":["ASP.NET"]} в Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
    context) в System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) в System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager
    bookmarkManager, Location resultLocation)
    I just don't understand why it trying go to http, becouse i have setup Workflow farm for data exchange through https, register
    to https too. 
    Please help, I'm working with this problem 2 weeks.
    P.S. In this video-instruction http://technet.microsoft.com/library/dn201724(v=office.15) do SSL, but when I'm checking
    SSL I can't connect SQL, so I don't check SSL.

    Hi Evgeny,
    According to your description, my understanding is that the error occurred when you tried to assign task in 2013 workflow.
    I recommend to execute the command below to get workflows properly registered:
    $credential = [System.Net.CredentialCache]::DefaultNetworkCredentials
    $site = Get-SPSite(<siteUri>)
    $proxy = Get-SPWorkflowServiceApplicationProxy
    $svcAddress = $proxy.GetWorkflowServiceAddress($site)
    Copy-SPActivitiesToWorkflowService -WorkflowServiceAddress $svcAddress -Credential $credential -Force $true
    Then re-register SharePoint with Workflow Manager services with the below sample command since HTTP is not required:
    Register-SPWorkflowService –SPSite "http://FQDN:80" –WorkflowHostUri "http://FQDN:12291" -force
    More references are provided in the below link which lists commands to be executed once after SharePoint 2013 CU has been applied:
    http://technet.microsoft.com/en-us/library/dn133867.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Dynamic asset selection for assign tasks operations

    Hi,
    I have a default workflow which could be used by a lot of different specific workflows (every specific worklow has a part where the manager and the workers council has to approve). I would like to build this workflow part as a subprocess that could be used by all the other workflows.
    My problem is that every specific workflow uses an own flex UI or PDF form to represent the process data. In the assign task operation I need to choose a specific asset. To be able to use the subprocess for all workflows I would need to choose the asset dynamically through a variable or xPath etc.
    Is there an option or workaround to specify the asset by its name or a variable?
    Thanks and regards,
    Lars

    Another way (might be simpler than other solutions):
    You can update the TaskContext variable in Render Process.
    I mean, you have to dynamically set the ResourceURL of the TaskContext variable just before rendering.
    I applied this logic in my application and it works; (But I dint work with .SWF files)
    Hope this may help you.
    Nith

  • How to assign task to others with an attachment?

    Hi All,
    How to assign task to other with an attachment and field values in the actual InfoPath form?
    In detail, If a InfoPath form has submitted then task should be assigned to a person with an attachment and some field values which are present in InfoPath form.
    How to achieve this scenario?
    Thanks in advance!

    What you describe is a simple approval workflow. SharePoint comes with approval workflows out of the box. 
    When a task is created to approve an item, it does not need to have the attachment that is already in the item. The task will contain a link to the item that needs to be approved, so there is no need to duplicate the file attachment. 
    You may want to read a bit more about the out of the box approval workflows in SharePoint. Start here:  
    Understand approval workflows in SharePoint 2010
    cheers, teylyn

  • Problems with Assign Task operation

    I'm having a problem with the Assign Task operation. When I export an application of the LiveCycle ES2 environment and import into another environment LiveCycle ES2, my process get stalled in the all Assign Task operations, and the only way to solve the problem I found is to redo all the Assign Task operations. But in an application with many Assign Task operations, this solution becomes very complicated.
    Anyone who has encountered this problem could help me better to fix it?
    Thanks for any help!
    Following is the error message:
    StackTrace:
    java.lang.NullPointerException
    at com.adobe.idp.taskmanager.dsc.util.UserManagerUtils.getUserOID(UserManagerUtils.java:959)
    at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createTaskFromDialogPropertie s(UserServiceImpl.java:941)
    at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createLongLivedTask(UserServi ceImpl.java:1631)
    at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createLongLivedTask(UserServi ceImpl.java:1506)
    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:597)
    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.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    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:357)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
    at sun.reflect.GeneratedMethodAccessor643.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at $Proxy378.doSupports(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(Abstra ctExecutableJob.java:127)
    at com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(Persistent ExecutableJob.java:60)
    at com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsync hronousWorkAdapter.java:39)
    at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
    at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
    at java.lang.Thread.run(Thread.java:619)

    Hi javier,
    1. record = <DATOS>
    If possible, try to use
    a pre-defined strucure of type P9069
    for putting data into this infotype.
    2. Avoid using field symbols.
    3. Try with P9069
    regards,
    amit m.

  • Assign Task - Prepare Data Service not being called?

    Hi,
    I've got an Assign Task activity, with an Action Profile that defines a Prepare Data Service.  For the Prepare data service, I've just created a simple process, and I'm recording it.
    When the assign task gets invoked, the Prepare Data Service process is not being executed.  Nothing gets recorded.
    Do I need to do something else?
    I am running LC ES2 SP2
    Note - If I use a Prepare Data Process on a Task Manager start point, it works fine.  It's just not working for an Assign Task activity.
    Thanks

    Hi
    By default, the checkbox to run the Prepare Data on the User service step is turned off.
    Navigate to the Presentation & Data tab on the User service.
    If you have selected an Action Profile that specifies a Prepare Data process, you'll see 3 checkboxes under the section: Specify when the Prepare Data process runs
    Check "The user opens the task" and it will now run the Prepare Data on the User service.
    Note: This is unchecked by default so that any data entered on the startpoint step is not overwritten at the user step.
    It is up to the process designer to save off any data that you do not want overridden when the Prepare Data loads.
    Diana

Maybe you are looking for