op-attr when only removing value from multi-value attribute

IDM 3.5

When I remove only a value from a mulit-value attribute, condition "op-attr
available" is FALSE, shouldn't this result as TRUE?

Never noticed this behaviour in previous versions of IDM. 

Any hints?
Thanks
Rudi

--- Trace snippet ---
RBM-Manager ST:Applying policy: Sub-ET2-Determine resource-bundle role
actions.
RBM-Manager ST: Applying to modify #1.
RBM-Manager ST: Evaluating selection criteria for rule 'Check change in
ResourceBundles'.
RBM-Manager ST: (if-op-attr 'rbmSubObjects' available) = FALSE.
RBM-Manager ST: Rule rejected.
RBM-Manager ST:Policy returned:
RBM-Manager ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="Organizational Role"
event-id="TL-META-01#20070524095125#1#1"
qualified-src-dn="O=CORPDIR\OU=RBM\OU=ROLES\CN=IT-S SB1 Mitarbeiter"
src-dn="\TESTMETA1\CORPDIR\RBM\ROLES\IT-S SB1 Mitarbeiter"
src-entry-id="45680" timestamp="0#0">
<association state="associated">ANBVUo/82wGA9I0AAgAAAA==</association>
<modify-attr attr-name="rbmSubObjects">
<remove-value>
<value timestamp="1178537842#11"
type="dn">\TESTMETA1\CORPDIR\RBM\RESPACKS\SB1-Bundle</value>
</remove-value>
</modify-attr>
</modify>
</input>
</nds>

--------
As many others, I do not want to get my mailbox full of spam. 
If you want to eMail directly, use RSynoradzki at Didas in .de

0
Rudi
5/24/2007 10:18:11 AM
novell.id-manager.drivers 10360 articles. 2 followers. Follow

2 Replies
591 Views

Similar Articles

[PageSpeed] 7
Get it on Google Play
Get it on Apple App Store

Rudi Synoradzki wrote:

> When I remove only a value from a mulit-value attribute, condition =
"op-attr
> available" is FALSE, shouldn't this result as TRUE?

it's confusing but has been like this since 2.x. "available" is =
essentially the same as "changing-to .+" (regex), afaik. Use "changing" =
instead if you want to trigger on "remove-value" as well.

Cheers, Lothar
0
lothar
5/24/2007 11:26:53 AM
Good to have people to talk/chat with.
Thanks Lothar for switching the light on.

Rudi

lothar.haeger@mummert.de wrote:

> Rudi Synoradzki wrote:
> 
>> When I remove only a value from a mulit-value attribute, condition
>> "op-attr available" is FALSE, shouldn't this result as TRUE?
> 
> it's confusing but has been like this since 2.x. "available" is
> essentially the same as "changing-to .+" (regex), afaik. Use "changing"
> instead if you want to trigger on "remove-value" as well.
> 
> Cheers, Lothar

-- 
--------
As many others, I do not want to get my mailbox full of spam. 
If you want to eMail directly, use RSynoradzki at Didas in .de

0
Rudi
5/24/2007 12:06:58 PM
Reply:

Similar Artilces:

token-op-attr not getting value of remove-value
I thought I had this working, but I'm not correctly handling the remove-attr when a person is removed from a group. This is the rule, on the Publisher Input Transform of the eDir driver in the Flat tree, with changes in Group Membership coming from the Hierarchical tree: --------------------------------------------------------------------------------------------- <?xml version="1.0" encoding="UTF-8"?><policy xmlns:query="http://www.novell.com/nxsl/java/com.novell.nds.dirxml.driver.XdsQueryProcessor"> <rule> <description>R...

Mutli-valued attribute to multi-valued attribute
We want to synchronize a multi-valued attribute (created by our own) to a multi-valued attribute in the other edirectory store. But when we are adding attributes we only have the changed values. The previous one is lost. When deleting one value in the Identity Vault then it removes the attribute from the object. Any ideas ? > We want to synchronize a multi-valued attribute (created by our own) to a > multi-valued attribute in the other edirectory store. But when we are > adding attributes we only have the changed values. The previous one is > lost. When deleting ...

stripping values for a multi-valued attr
I'm trying to stip a value from a multi valued attr, which should be nice and simple but I just cant get it to work! I have an input document like - <add class-name="User" event-id="xx" qualified-src-dn="xxx\CN=testmult5" src-dn="xxx\testmult5" src-entry-id="59145"> <add-attr attr-name="xxxDBLocation"> <value timestamp="1227312739#15" type="string">TRN1</value> <value timestamp="1227314557#1" type="string">TRN2</value> </add-attr> I ...

Single Value to Multi Value attribute
Hi all I have an attribute 'source', in my eDirectory dn: cn=schema changetype: modify add: attributeTypes attributeTypes: ( source-oid NAME 'source' DESC 'to capture the source where the user or group is pulled from' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) - I need to modify this attribute from Single valued to Multi-value attribute, - I also need to modify the name of this attribute from 'source' to 'uniqueSource' can any one please give me the exact syntax for the the above modifications ...

Clear all values / Remove attribute values
How can you remove all values for an attribute in an application? (LDAP-OID) If I use "do-clear-dest-attr-value" It wants a value to remove. I want do-clear-dest-attr-value(s) when I do not care what the attribute values are. THe situation is there is a flag in OID and we want to remove the all attribute values form the attribute based on a event in Edirectory. Thanks -jim do-clear-dest-attr-value is what you want - it does not require a value. -- Father Ramon Jim Willeke wrote: > How can you remove all values for an attribute in an application? >...

ID-Provider Driver
Novell Identity Manager 3.6 Windows Server 2003 R2 eDirectoy 8.8. SP3 Hi I want to develop a ID-policy based on followin rules: Prefix-GivenName[1]Surname[1]-AutoIcremnetNumber And these policies will be consumed by ID-Client(Identity Manager). So long , I have created ID Provider-driver, and configured it to be run as a RMI server (without ID Generation-Map) and Without defining Attributes in the ID-provider driver Filter. And I have created a NULL driver with some policies which invokes id:getNextID() method to get a Unique ID for newly created users. But my...

PickList field with values from a multi-valued attribute
Hello there, I have a PickList field in my form that I want to fill with a list of values. Let's call that field "department". The values must be dynamically obtained from a multi-valued attribute of a given Organizational Unit. Let's call that attribute "list-of-departments". I have a DAL entity that exposes the object class (Organizational Unit) and its attribute. Let's call the DAL entity "OU" and let's call the exposed attribute key "list-of-departments" (like the attribute itself). Of course, I have a field that cont...

unable to evaluate values in an multi-valued attribute
Dear Forum, we are running UA 4.0.1. We have to search through all values of an given attribute for evaluation purpose. According to the documentation either form.getValues() and idvault.get should return an array when multiple-values are found. Unfortunately this seams not to work. var contracts = IDVault.get(null, dn, "eCampus-User", "eCAssigmentsJStr"); form.setValues("AssigmentJStrs", contracts); var numOfContracts = contracts.length(); Testing has shown that the variable contracts is set correct, 'cos the form field AssigmentJStr is sh...

removing attribute values -any driver
Hi all, Hope you may have found solution already. I needed to remove attribute values for some event using wild card in the attribute values. When a user's title changed.. then i need to remove attribute values from a multi-valued attribute. Example: When Title changed from manager: remove attribute's values that have "*manager*" value from a attribute name called "OrgEntitle" your time and response appreciated. On Wed, 07 Jun 2006 18:50:02 GMT, kvnsk@hotmail.com wrote: >Example: When Title changed from manager: > >remove attri...

JDBC reads multi-valued attr as single-valued
I am running IDM 3.6 on eDir 8.8.3 using a JDBC connector to a MSSQL 2005 database with a direct triggered configuration. The view I am using is defined as: SELECT src.[PKID] as 'PKID' ,u.[loginid] as 'pk_LoginID' ,c.[pkid] as 'mv_CourseID' ,c.[name] as 'mv_CourseName' ,convert(varchar(max),c.[pkid]) + '~' + c.[name] as 'mv_CourseInfo' FROM [LMS].[dbo].[tblStudent_Room_Course] src JOIN [LMS].[dbo].[tblUser] u on u.pkid = src.[user_id_fk] JOIN [LMS].[dbo].[tblCourse] c on c.[pkid] = [Course_ID_FK] The mv_Cou...

Write GroupMembership values to custom multi-value attribute
I need to be able to take the multiple group membership values of a user and write them to a custom multi-attribute called "CTGroups". The problem I am running into is if you add two or more groups to a user at once, it will only grab the first group and skip all the others. If I add the groups one at a time, I am ok but I cannot rely on our user community to add just one group at a time. Any help would be appreciated . -- mlarocco Depending on exactly what you are trying to do and where you are trying to do it, you'll either need to use For Each or Clone Oper...

Converting single-valued attribute to normal (multi-valued)
In order to add additional attributes to a User object I have created an Auxiliary Class. Within that class I created a single-valued numeric string with an ASN1 ID. Due to changing requirements it is now necessary to change this attribute to a multi-valued case ignore string. I usually use Designer to do work such as this but, as I'm having some problems, what I describe here is done with iManager (to remove Designer from the equation). There was one object in my tree utilising this auxiliary class (we're still in development) which I have deleted. I then deleted the aux...

Setting multi-value attribute values to query results
I am writing a policy where I need to run a query to get a list of one or more DNs, then place those DNs as the values of a multi-valued attribute in my destination datasource. How do I do this? Can I use the do-add-dest-attr-value action and just specify the query as the values to add, or do I need to place the results of the query in a local variable and do something with that? I'm using IDM 3.5. Here is the query that I'm running: <token-query class-name="Locality"> <arg-dn> <token-parse-dn dest-dn-format="dest-dn" src-dn-form...

How to tell if an Attribute can hold multi-valued or single valued
Anyone know? If it already populated with data, it is easy to tell. But what if it does not have data? How can you tell? thanks, lee franke You would have to check the schema programatically. There is an attribute on the schema called 'isSingleValued' that will tell you if the attribute is multi-valued or not. MSDN LinkRyan DunnWeblog The BookLDAP Programming Help...

Web resources about - op-attr when only removing value from multi-value attribute - novell.id-manager.drivers

Resources last updated: 12/11/2015 10:23:29 PM