Hi,

I am trying to create resources from Groups in AD automaticly.
So far I have a Start Workflow in itp that kicks off the workflow and a
workflow with Start-Integration-Finish activities.

I pass on the name (sAMAccountName), dn (LDAP dn from destinguisedName),
guid (objectGUID - might need to format that one) and description from
the Group to the start form of the workflow and it is passed on to the
integration activity.

I think I am passing these to the correct Web Service Input Field but
there is clearly something missing since I get this error in
catalina.out ( Running 4.5 on Tomcat)

2015-03-11 14:27:01,298 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] evaluating source
expression: recipient
2015-03-11 14:27:01,298 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] result:
cn=uaadmin,ou=sa,o=data
2015-03-11 14:27:01,298 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.EngineImpl- [RBPM] startProcess() process id
=cn=automaticCreateResorce,cn=RequestDefs,cn=AppCo nfig,cn=User
Application Driver,cn=DriverSet,o=system
2015-03-11 14:27:01,298 [http-nio-443-exec-9] TRACE
com.novell.soa.af.impl.core.ProcessImpl- [RBPM] start()
requestId=c0d55f821b6d46edb8996ed17dbab22f,
type=cn=automaticCreateResorce,cn=RequestDefs,cn=A ppConfig,cn=User
Application Driver,cn=DriverSet,o=system
2015-03-11 14:27:01,314 [http-nio-443-exec-9] TRACE
com.novell.soa.af.impl.link.Link- [RBPM] Link() FORWARD[start,
Activity]
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] evaluating target
expression:
wi.createXPath("flow-data/start/request_form/guid").setValue("YS/dnJHa5kmDS1rHNFv4nA==")
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] result:
com.novell.soa.script.mozilla.javascript.Undefined @54e7c98b
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] evaluating target
expression:
wi.createXPath("flow-data/IDM_COMPLETED_APPROVAL_STATUS").setValue("denied")
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] result:
com.novell.soa.script.mozilla.javascript.Undefined @54e7c98b
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] evaluating target
expression:
wi.createXPath("flow-data/start/request_form/description").setValue("Test
Group")
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] result:
com.novell.soa.script.mozilla.javascript.Undefined @54e7c98b
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] evaluating target
expression:
wi.createXPath("flow-data/start/request_form/name").setValue("Test Group
Name")
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] result:
com.novell.soa.script.mozilla.javascript.Undefined @54e7c98b
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] evaluating target
expression:
wi.createXPath("flow-data/start/request_form/dn").setValue("CN=Test
Group Name,OU=Delegation,OU=Common Groups,OU=Company,DC=test,DC=org")
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] result:
com.novell.soa.script.mozilla.javascript.Undefined @54e7c98b
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] evaluating target
expression:
wi.createXPath("flow-data/start/request_form/recipient").setValue("cn=uaadmin,ou=sa,o=data")
2015-03-11 14:27:01,314 [http-nio-443-exec-9] DEBUG
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] result:
com.novell.soa.script.mozilla.javascript.Undefined @54e7c98b
2015-03-11 14:27:01,330 [http-nio-443-exec-9] TRACE
com.novell.soa.af.impl.activity.ActivityNode- [RBPM] persistStatus()
activity=Start[start], newStatus=Arriving
2015-03-11 14:27:01,330 [http-nio-443-exec-9] TRACE
com.novell.soa.af.impl.core.ProcessImpl- [RBPM] startActivity()
activity=Start[start], newThread=true, pooled = true
2015-03-11 14:27:01,330 [pool-3-thread-10] TRACE
com.novell.soa.af.impl.activity.ActivityNode- [RBPM] notifyArrive(),
activity=Start[start]
2015-03-11 14:27:01,330 [pool-3-thread-10] TRACE
com.novell.soa.af.impl.activity.ActivityNode- [RBPM] process(),
activity=Start[start]
2015-03-11 14:27:01,330 [pool-3-thread-10] TRACE
com.novell.soa.af.impl.activity.ActivityNode- [RBPM] persistStatus()
activity=Start[start], newStatus=Running
2015-03-11 14:27:01,330 [http-nio-443-exec-9] DEBUG
com.novell.soa.ws.impl.xml.OutputStreamImpl- <SOAP-ENV:Envelope
xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><SOAP-ENV:Body><ns1:startResponse
xmlns="http://www.novell.com/provisioning/service"
xmlns:ns1="http://www.novell.com/provisioning/service"><result>c0d55f821b6d46edb8996ed17dbab22f</result></ns1:startResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
2015-03-11 14:27:01,330 [pool-3-thread-10] TRACE
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] registerNrfRequest
- Started
2015-03-11 14:27:01,330 [pool-3-thread-10] TRACE
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] registerNrfRequest
- Done
2015-03-11 14:27:01,330 [pool-3-thread-10] TRACE
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM]
registerNrfResourceRequest - Started
2015-03-11 14:27:01,330 [pool-3-thread-10] TRACE
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM]
registerNrfResourceRequest - Resource Based Type Found
2015-03-11 14:27:01,330 [pool-3-thread-10] TRACE
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM]
registerNrfResourceRequest - document = [<?xml version="1.0"
encoding="UTF-8"?><flow-data>
<start>
<request_form>
<guid>YS/dnJHa5kmDS1rHNFv4nA==</guid>
<description>Test Group</description>
<name>Test Group Name</name>
<dn>CN=Test Group Name,OU=Delegation,OU=Common
Groups,OU=Company,DC=test,DC=org</dn>
<recipient>cn=uaadmin,ou=sa,o=data</recipient>
</request_form>
</start>
<IDM_COMPLETED_APPROVAL_STATUS>denied</IDM_COMPLETED_APPROVAL_STATUS>
</flow-data>
]
2015-03-11 14:27:01,330 [pool-3-thread-10] TRACE
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM]
registerNrfResourceRequest - resource request object not found. Throw
exception.
2015-03-11 14:27:01,330 [pool-3-thread-10] ERROR
com.novell.soa.af.impl.core.DataItemEvaluator- [RBPM] Error loading NRF
Resource Request object for DN: null
com.novell.soa.af.impl.activity.ActivityException: Error loading NRF
Resource Request object for DN: null


--
joakim_ganse
------------------------------------------------------------------------
joakim_ganse's Profile: https://forums.netiq.com/member.php?userid=159
View this thread: https://forums.netiq.com/showthread.php?t=53080