Hi folks,

I have a very simple workflow:

Step 1 - Start Activity has a simple form with one field that captures a string to be used as cn which is mapped to flowdata.name in post activity mapping.

Step 2 - Entity targets the Group entity type, with the operation set to Create/Modify. The entity dn is set to 'cn=' + flowdata.get('name') + ',ou=groups,ou=data,o=test'. No other values are specified in the Data Item Mapping.

When submitting a request using the workflow, the workflow ends with a success status after passing the entity to the provisioning service: Your resource request for test4.groups.data.test has been sent to provisioning service.

However, the group does not get created.

On checking the catalina.out I can see this error - which suggests to me that the provisioning service is trying to modify the group (which does not exist) rather than create:

2018-03-05 14:00:44,224 [INFO] LogEvent [RBPM] [Workflow_Started] Initiated by cn=admin,ou=services,o=test, Process ID: db136077d5e64cc6b7a147f90f09bb37, Process Name: cn=creategroup,cn=RequestDefs,cn=AppConfig,cn=User App,cn=DriverSet,ou=services,o=test:44, Activity: Start, Recipient: cn=admin,ou=services,o=test, Secondary User: null
2018-03-05 14:00:44,266 [INFO] LogEvent [RBPM] [Workflow_Forwarded] Initiated by System, Process ID: db136077d5e64cc6b7a147f90f09bb37, Process Name: cn=creategroup,cn=RequestDefs,cn=AppConfig,cn=User App,cn=DriverSet,ou=services,o=test:44, Activity: Start, Recipient: cn=admin,ou=services,o=test
2018-03-05 14:00:44,433 [INFO] LogEvent [RBPM] [Provision_Granted] Initiated by System, Process ID: db136077d5e64cc6b7a147f90f09bb37, Process Name: cn=creategroup,cn=RequestDefs,cn=AppConfig,cn=User App,cn=DriverSet,ou=services,o=test:44, Activity: Activity, Recipient: cn=test4,ou=groups,ou=data,o=test
2018-03-05 14:00:44,464 [INFO] LogEvent [RBPM] [Workflow_Forwarded] Initiated by System, Process ID: db136077d5e64cc6b7a147f90f09bb37, Process Name: cn=creategroup,cn=RequestDefs,cn=AppConfig,cn=User App,cn=DriverSet,ou=services,o=test:44, Activity: Activity, Recipient: cn=admin,ou=services,o=test
2018-03-05 14:00:44,493 [INFO] LogEvent [RBPM] [Workflow_Ended] Initiated by System, Process ID: db136077d5e64cc6b7a147f90f09bb37, Process Name: cn=creategroup,cn=RequestDefs,cn=AppConfig,cn=User App,cn=DriverSet,ou=services,o=test:44, Activity: Finish, Recipient: cn=admin,ou=services,o=test
2018-03-05 14:00:55,556 [ERROR] VirtualDataAccess [RBPM] Error occurred checking the object type for: cn=test4,ou=groups,ou=data,o=test
2018-03-05 14:00:55,557 [WARN] IdentityInfoServiceImpl [RBPM] Error occurred checking the object type for: cn=test4,ou=groups,ou=data,o=test
com.novell.srvprv.spi.vdata.exception.VirtualDataE xception: Error occurred checking the object type for: cn=test4,ou=groups,ou=data,o=test
at com.novell.srvprv.impl.vdata.model.VirtualDataAcce ss.getObjectType(VirtualDataAccess.java:3945)
at com.novell.srvprv.impl.vdata.model.VirtualDataMode l.getObjectType(VirtualDataModel.java:1368)
at com.netiq.idm.infosrv.IdentityInfoServiceImpl.getO bjectType(IdentityInfoServiceImpl.java:439)
at com.netiq.idm.infosrv.IdentityInfoServiceImpl.reso lveObjectName(IdentityInfoServiceImpl.java:301)
at com.novell.soa.af.impl.worklist.CommentImpl.getCom ment(CommentImpl.java:370)
at com.novell.idm.dashboard.ajaxservice.CommentsList. createListItemInfoMap(CommentsList.java:445)
at com.novell.idm.dashboard.ajaxservice.CommentsList. getProcessCommentsList(CommentsList.java:370)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.novell.ajax.juice.UncachedActionService.execut e(UncachedActionService.java:119)
at com.novell.ajax.juice.AjaxServiceHandlerMgr.handle Request(AjaxServiceHandlerMgr.java:88)
at com.novell.ajax.juice.servlet.UIQueryServlet.doPos t(UIQueryServlet.java:207)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:729)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at com.novell.soa.common.i18n.BestLocaleServletFilter .doFilter(BestLocaleServletFilter.java:241)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at com.novell.common.AntiCsrfServletFilter.doFilter(A ntiCsrfServletFilter.java:197)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at com.novell.afw.portal.i18n.CharacterEncodingFilter .doFilter(CharacterEncodingFilter.java:135)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilt er(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at com.novell.common.HttpSecurityHeadersFilter.doFilt er(HttpSecurityHeadersFilter.java:132)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:474)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve. invoke(AbstractAccessLogValve.java:624)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(H ttp11Processor.java:783)
at org.apache.coyote.AbstractProcessorLight.process(A bstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandl er.process(AbstractProtocol.java:789)
at org.apache.tomcat.util.net.NioEndpoint$SocketProce ssor.doRun(NioEndpoint.java:1437)
at org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$Wrapping Runnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - NDS error: no such entry (-601)]; remaining name 'cn=test4,ou=groups,ou=data,o=test'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3161)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:3082)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2888)
at com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx. java:1329)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_get Attributes(ComponentDirContext.java:235)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.getAttributes(PartialCompositeDirContext.java:14 1)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.getAttributes(PartialCompositeDirContext.java:12 9)
at sun.reflect.GeneratedMethodAccessor141.invoke(Unkn own Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sssw.fw.directory.realm.impl.jndildap.EboLdapC ontextProxyHandler.invokeMethod(EboLdapContextProx yHandler.java:145)
at com.sssw.fw.directory.realm.impl.jndildap.EboLdapC ontextProxyHandler.invoke(EboLdapContextProxyHandl er.java:86)
at com.sun.proxy.$Proxy91.getAttributes(Unknown Source)
at com.novell.srvprv.impl.vdata.model.VirtualDataAcce ss.getObjectType(VirtualDataAccess.java:3882)
at com.novell.srvprv.impl.vdata.model.VirtualDataAcce ss.getObjectType(VirtualDataAccess.java:3942)
... 49 more




Strange thing is, this process works fine for creating users.

Any ideas where I am going wrong here?

Many thanks!

Jim