Using the Null function to delete an attribute from a user in the metaverse

RC1 Update 3 adds a new Null function, which (to me) sounds like it should flow a null value into the destination attribute.  I have a case where i am flowing a date from SQL into the metaverse.  Just for testing, I tried a basic flow of:
Null()->employeeEndDate
This seems to function the same as this:
""-employeeEndDate
Both will add the employeeEndDate attribute to the metaverse object with a blank (not null) value.  To me, Null() seems like it should be equivalent of mventry("employeeEndDate").Delete, but it doesn't seem to.  Ultimately, what I want is to flow the value in if it is present in my connector space, and delete it if it is not.  Something like this:
IIF(IsPresent(TermDate),DateTimeFormat(TermDate,"yyyy-MM-ddTHH:mm:ss.000"),Null())
Anyone have any thouse on this?  Is there an easier to way to do this that I am overlooking?
Thanks,
Keith

So here is a new update on this, with somewhat of a workaround.  I ran into a scenario where I wanted to delete attributes upon removal of a sync rule.  Unless I am missing something, this can't be done normally.  When my sync rule is removed,
the attributes are no longer flowed from the MV to the CS, but they aren't removed from the object in the CS either.
My Scenario:
Only certain users should flow their location info to AD for display in the GAL.
My Solution (these aren’t the real Set/Rule/WF/MPR names, it just makes it easier to understand):
1.      
Create two sets: “Show Info” & “Hide Info”
2.      
Create Sync Rule: “Flow info to AD”
a.      
Dependent on a Sync Rule “AD Base”
3.      
Create Workflow “Apply Flow Info to AD” to apply “Flow Info to AD” Sync Rule
4.      
Create MPR to apply the “Apply Flow info to AD” Workflow on Transition In to “Show Info”
5.      
Create a new Metaverse attribute for people called “nullString”
6.      
Create Sync Rule: “Null Info to AD”
a.      
Dependent on “AD Base”
b.     
Flows the nullString attribute to all AD attributes that need to be blanked out
7.      
Create Workflow “Remove Flow Info to AD” to remove “Flow Info to AD” Sync Rule
8.      
Create Workflow “Apply Null Info to AD” to apply “Null Info to AD” Sync Rule
9.      
Create MPR to apply “Remove Flow Info to AD” and “Apply Null Info to AD” Workflows on Transition In to “Hide Info” set.
Obviously, you’ll need a null MV attribute for each data type you need to blank out, but it works.
I haven't tried it, but it's likely this could also be done on inbound flows, provided you have unused attributes of each type in your data set (with a view you could
just create them).  If X, then flow regular attribute from the CS in to the MV; if not X then flow the "null" attribute from the CS into the MV.
Keith

Similar Messages

  • Using an own function in a select how can i set that the function run once?

    Hi
    Using an own function in a select how can i set that the function run once, not in every row?
    Please help me
    Thanks
    Viktor

    Something like this ?
    SQL> select * from dept;
        DEPTNO DNAME                          LOC
            10 ACCOUNTING                     NEW YORK
            20 RESEARCH                       DALLAS
            30 SALES                          CHICAGO
            40 OPERATIONS                     BOSTON
    SQL> create or replace function ret_name (deptnum in number) return varchar2
      2  is
      3     name    varchar2(50);
      4  begin
      5     select dname into name
      6     from dept
      7     where deptno=deptnum;
      8     return name;
      9  exception
    10     when no_data_found then
    11             return('Not existent deptno');
    12* end;
    SQL> /
    Function created.
    SQL> select deptno, decode(rownum,1,ret_name(deptno),null) dname from dept;
        DEPTNO DNAME
            10 ACCOUNTING
            20
            30
            40
    SQL>

  • After mountain lion download the "back" function of delete key no longer is working.

    After mountain lion download the "back" function of delete key no longer is working.

    Here is your answer, I think.
    https://discussions.apple.com/message/19048177#19048177

  • I have deleted all photos from my iphone and the usage is still showing 6.6GB used. How do I fix this?

    I have deleted all photos from my iphone and the usage is still showing 6.6GB used. I have connected via my computer and no pictures are shown. I have also gone into all my photo apps and no photos are saved. How do I resolved this?

    If you deleted photos from the Camra Roll of the photos app they are not deleted immediately. Instead they are moved to the Recently Deleted album where they will remain for 30 days. This feature was added because so many people deleted photos then wanted then back.
    To completely delete those photos quickly go to the Recently Deleted album and delete them from there.

  • HT201335 when using apple tv with my ipad, the mirroring function does not work, screen goes black, what is the issue?

    when using apple tv with my ipad, the mirroring function does not work, screen goes black, what is the issue?  My son's Ipad(same as kind as mine) works ok with the apple tv but mine does not.  Any suggestions?

    Hello Nina Izurin,
    While written for the iPhone, the troubleshooting below can help resolve issues with your iPad's camera, as well.
    Camera isn't functioning or has undesired image quality
    If the screen shows a closed lens or black image, force quit the Camera app.
    If you do not see the Camera app on the Home screen, try searching for it in Spotlight. If the camera does not show up in the search, check to make sure that Restrictions are not turned on by tappingSettings > General > Restrictions.
    Ensure the camera lens is clean and free from any obstructions. Use a microfiber polishing cloth to clean the lens.
    Cases can interfere with the camera and the flash. Try gently cleaning the lens with a clean dry cloth or removing the case if you see image or color-quality issues with photos.
    Try turning iPhone off and then back on.
    Tap to focus the camera on the subject. The image may pulse or briefly go in and out of focus as it adjusts.
    Try to remain steady while focusing:
    Still images: Remain steady while taking the picture. If you move too far in any direction, the camera automatically refocuses to the center.
    Note: If you take a picture with iPhone turned sideways, it is automatically saved in landscape orientation.
    Video: Adjust focus before you begin recording. You can also tap to readjust focus while recording. Exiting the Camera application while recording will stop recording and will save the video to the Camera Roll.
    Note: Video-recording features are not available on original iPhone or iPhone 3G.
    If your iPhone has a front and rear camera, try switching between them to verify if the issue persists on both.
    My issue is still not resolved. What do I do next?
    Contact Apple Support.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Cheers,
    Allen

  • I have recently transferred data from my old Mac to my new one. The result was good, but I have 2 users now, whose data I want to merge into 1 single user, so to avoid having to switch from one user to the other to view and use certain files. How to do it

    I have recently transferred data from my old Mac to my new one. The result was good, but I have 2 users now, whose data I want to merge into 1 single user, so to avoid having to switch from one user to the other to view and use certain files. How to do it?

    Here's an easy way:
    Pick the user that you want to eliminate (making sure that the remaining user has administrator privileges) and move all of the data that you want to keep into the Shared folder. Reboot or log out and login to the user you want to keep. Copy all the data from the Shared folder into your account - placing it neatly in folders (Documents, Music, Movies, etc.).
    Once the data is moved, log into the account you want to delete just once more to make certain that you've grabbed all the data you want to keep. Log out and log back into your admin account and go to System Preferences>Users & Groups and delete the 'old' user.
    That should do it.
    Clinton

  • Help ... I've accidentally deleted all data of my user in the terminal. what to do? Can i undo the commands?

    Help ... I've accidentally deleted all data of my user in the terminal. what to do? Can i undo the commands?
    greetings from austria

    You cannot undo commands. When you delete/remove files with the rm command the files are not put in the trash where they could be recovered. They are gone.
    You should have your system backed up with Time machine and/or backup clone of your system. Use them to recover you files.

  • How do i delete an iphone from my account as the phone was stolen?

    how do i delete an iphone from my account as the phone was stolen? I am using mac osx

    There is nothing to delete.

  • HT200150 I pressed the find my iphone delete button and then my phone showed the apply logo. I then got worried and turned it straight off and now it will not turn back on. The apple logo just comes up for about 10 seconds and it goes back off.

    I pressed the find my iphone delete button and then my phone showed the apply logo. I then got worried and turned it straight off and now it will not turn back on. The apple logo just comes up for about 10 seconds and it goes back off.

    Connect your phone to itunes on the computer you use itunes on and open up itunes.

  • I recently bought two iMac quad core i5 processor speed 2.5 Ghz. Every time I use Air Drop and I send a file from one iMac to the other, a black curtain drops and I am asked to restart the computer!!! What can I do?

    I recently bought two iMac quad core i5 processor speed 2.5 Ghz. Every time I use Air Drop and I send a file from one iMac to the other, a black curtain drops and I am asked to restart the computer!!! What can I do?

    That's a kernel panic and indicates some sort of problem either with the computer's hardware or software. Visit The XLab FAQs and read the FAQ on diagnosing kernel panics. It would help to post the panic log: Mac OS X- How to log a kernel panic.
    Meanwhile, try booting the computers into Safe Mode then restarting normally. If this is simply a disk repair or cache file problem then this may fix it.
    You can also try creating a new admin account on each computer then booting into the new account. This would help determine if the problem is related to a bad file in the user accounts.

  • Both of my kids have ipod touch 4.  On 1 we can edit the camera roll and delete muptiple pics at once.  On the other, we can't edit in camera roll and have to delete each picture one at a time?  How do we get edit as an option in camera roll?

    Both of my kids have ipod touch 4.  On 1 we can edit the camera roll and delete muptiple pics at once.  On the other, we can't edit in camera roll and have to delete each picture one at a time?  How do we get edit as an option in camera roll?

    Hi jenny,
    Are you certain that they are both running IOS 6.1.3? Go to Settings>General>About, and check the "Version".
    Cheers,
    GB

  • -- A file association problem exists, which prevents the file you're trying to download from being associated with the correct application by the operating system using window 7  IE 11

    A file association problem exists, which prevents the file you're trying to download from being associated with the correct application by the operating system
    USING WINDOW 7  IE 11  HOW CAN I FIX???

    Try downloading the offline installers:
    Adobe Reader
    Flash Player for Internet Exporer - ActiveX
    Flash Player for Firefox - NPAPI

  • I deleted i photo from search folder, reloaded the software and now I can not drag and drop to the desktop. Help

    I deleted i photo from search folder, reloaded the software and now I can not drag and drop to the desktop. Help

    Look in the Applications folder to see if iPhoto is still there. If it is drag it back to the Finder Sidebar. If it is no longer in the Applications folder post back, you can also look in the Trash it might still be there.

  • Copy user attribute from different user to user currently being edited

    Dear all,
    I'm somehow stuck with a requirement I've to implement.
    I've to copy some user attributes from one user to another. I learned that I should be able to use "getResourceObject" for
    this and I tried to implement this in my user form:
    <Field name='otherUser_actvtGrps'>
    <Display class='Text'>
    <Property name='title' value='otherUser_actvtGrps'/>
    </Display>
    <Default>
    <set name='otheruser'>
    <invoke name='getResourceObject' class='com.waveset.ui.FormUtil'>
    <select>
    <ref>context</ref>
    <ref>:display.session</ref>
    </select>
    <s>SAP_System_A</s> <!-- the resource ID -->
    <s>User</s>
    <s>TemplateUser</s> <!-- this is the AccountID that i need as source -->
    <null/>
    </invoke>
    <ref>otheruser.user.attributes.activityGroups</ref> <!-- this is the attribute from the source user I want to copy/read -->
    </set>
    </Default>
    </Field>
    But this does not return anything..
    Any ideas what I did wrong ?
    Many many thanks for any help/ideas !
    Best regards
    Joerg

    Do you know where to get some docs about the topics you mentioned ?
    1. Your adapter might not to support Resource Objects of type User.ResourceReference manual, the "Resource Object Management" section in each adapter chapter. Also the resource description in XML has the ObjectTypes section, for example, for Active Directory adapters:
      <ObjectTypes>
        <ObjectType name="Group" nameKey="UI_RESOURCE_OBJECT_TYPE_GROUP" icon="group">
          <ObjectClasses operator="AND">
            <ObjectClass name="Group"/>
          </ObjectClasses>
          <ObjectFeatures>
            <ObjectFeature name="create"/>
            <ObjectFeature name="update"/>
            <ObjectFeature name="delete"/>
          </ObjectFeatures>
          <ObjectAttributes idAttr="distinguishedName" displayNameAttr="samAccountName" descriptionAttr="description" objectClassAttr="objectclass">
            <ObjectAttribute name="cn" type="string"/>
            <ObjectAttribute name="sAMAccountName" type="string"/>
    2. You can fetch the complete user view with all resource account information.You will find many examples in IdM XPRESS samples.
    Get user view using LighthouseContext and user accountId
    <invoke name='getView'>
      <invoke name='getLighthouseContext'>
        <ref>WF_CONTEXT</ref>
      </invoke>
      <concat>
        <s>UserViewer:</s>
        <ref>accountId</ref>
      </concat>
      <Map>
      </Map>
    </invoke>Or with WorkflowServices (see BusinessAdministration manual):
    <Action id='0' application='com.waveset.session.WorkflowServices'>
      <Argument name='op' value='getView'/>
      <Argument name='viewId'>
        <concat>
          <s>User:</s>
          <ref>accountId</ref>
        </concat>
      </Argument>
      <Return from='view' to='user'/>
    </Action>
    3. You can fetch resource account info directly using ResourceAdapter API (not too well documented way).Example in Java:
        LighthouseContext ctx = <get context here>;
        // Get resource object
        Resource res = (Resource) ctx.getObject(Type.RESOURCE, <resource name>);
        // Pack resource and user accountId into a ResourceInfo object
        WSUser user = new WSUser();
        ResourceInfo info = new ResourceInfo();
        info.setAccountId(accountId);
        info.setResource(res);
        info.setAttributes(null);
        user.setResourceInfo(new ResourceInfo[] {info});
        // Rertrieve ResourceAdapter object
        ResourceAdapter ra = ResourceOp.findAdapter(res, res.getCache());
        // Get account info into the 'user' object
        WSUser result = ra.getUser(user);
        // Now you can get account status from ResourceInfo ...
        info = result.getResourceInfo(res);
        // ... and account attributes from WSAttributes
        WSAttributes attributes = result.getWSAttributes();
        ...

  • Please delete my name from Forte User Forum

    Please delete my name from Forte User Forum.

    > would you be able to please delete my website name
    don*ban*it from my forums.
    > Could you fill the name in with some stars or something.
    When doing a search
    > in the search engines these forums appear as results
    showing the conversations
    > to the whole world. Thank you!!!!!!
    you are asking about something in a post made in November of
    07.
    Deleting or editing it here will have no effect on the
    http://groups.google.com
    archive, or the probably dozens of sites that
    scrape the content from here to use as "content" in their
    websites.
    deleting the site's domain name from here now will not change
    the results
    you get in search engines.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

Maybe you are looking for