moularbi Absent Member.
Absent Member.
202 views

How to call ID Provider from workflow


I'm trying to call ID Provider from a workflow mapping activity. I
created the policy and copied the idprovider.jar to
/opt/novell/idm/jboss/common/lib. I used this code to call the
idprovider:

(function () {
var tmp = new
Packages.com.novell.idm.idprovider.IDClient.getNextID("10.0.1.69","1099","exid","","");
return tmp.toString();
})();

I get ths error :

2012-03-06 16:32:42,187 INFO [STDOUT] (pool-13-thread-7) ERROR [RBPM]
[com.novell.soa.af.impl.LogEvent:logError] [Workflow_Error] Initiated by
uid=BL3,ou=BL,ou=Users,o=data, Error Message: Dataitem [MAP0] with
expression [//Process ID

(function () {
var tmp = new
Packages.com.novell.idm.idprovider.IDClient.getNextID("10.0.1.69","1099","exid","","");
return tmp.toString();
})();] failed to evaluate., Process ID:
9096efeca9d94bb084463e689eaa0784, Process Name:
cn=newUser,cn=RequestDefs,cn=AppConfig,cn=UserApplication,cn=Driver
Set,o=system:1394, Activity: Activity9, Recipient:
uid=BL3,ou=BL,ou=Users,o=data


Did I miss something?


--
moularbi
------------------------------------------------------------------------
moularbi's Profile: http://forums.novell.com/member.php?userid=110833
View this thread: http://forums.novell.com/showthread.php?t=453045

Labels (1)
0 Likes
1 Reply
moularbi Absent Member.
Absent Member.

Re: How to call ID Provider from workflow


I set the trace level to 3, it says that the policy is not registred :

17:42:09 2CC0A710 Drvrs: 99264390 [RMI TCP Connection(50)-127.0.0.2]
DEBUG com.novell.idm.idprovider.IDProvider - getNextID()
17:42:09 2CC0A710 Drvrs:
17:42:09 2CC0A710 Drvrs: 99264390 [RMI TCP Connection(50)-127.0.0.2]
ERROR com.novell.idm.idprovider.IDProvider - Error: policy "exid" not
registered.
17:42:09 2CC0A710 Drvrs:
17:42:09 2CC0A710 Drvrs: 99264390 [RMI TCP Connection(50)-127.0.0.2]
DEBUG com.novell.idm.idprovider.IDProvider - ID: -1 []
17:42:09 2CC0A710 Drvrs:
17:42:09 2CC0A710 Drvrs: 99264390 [RMI TCP Connection(50)-127.0.0.2]
DEBUG com.novell.idm.idprovider.IDProvider - Done getNextID()


--
moularbi
------------------------------------------------------------------------
moularbi's Profile: http://forums.novell.com/member.php?userid=110833
View this thread: http://forums.novell.com/showthread.php?t=453045

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.