« Managing your ITIM recycle bin | Main | IBM Tivoli Access Manager (TAMeb) Force Unconfigure »

Creating a service type adoption policy for specific services

At times it may be easier to create a service-type based adoption rule with separate functions to be called for separate services than creating 2 service based adoption rules.

JavaScript "if expressions" can be used to determine which service is in process and then call the associated function for the service. The code should be something similar to this:

var serviceName= service.getProperty("erservicename")[0];
if(serviceName == <service1>){
...//function call

}

else if(serviceName == <service2>) {
...//function call
}

Posted on Friday, August 7, 2009 at 02:47PM by Registered CommenterAnjola Adeniyi | CommentsPost a Comment

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>