Update an attribute just in case is empty

Hi,
I need to disable the provisioning of one attribute unless the value of that attribute on the target system is empty.
I've tried setting this attribute on the resource form to the "Default" value but the active sync adapter is still overwriting the attribute value on the target system.
Thanks in advance.

Hi Jay,
I think that the value was overwritten by the User Library. Now I've created a dedicated global attribute to the target system with your condition and everything works correctly.
activeSync:
<Field name='global.ADfirstname'>
<Display class='Hidden'/>
<Expansion>
<ref>activeSync.firstname</ref>
</Expansion>
<Disable>
<eq>
<ref>activeSync.firstname</ref>
<ref>waveset.attributes.firstname</ref>
</eq>
</Disable>
</Field>
Resource Form:
<Field name='accounts[$(RESOURCE_NAME)].firstname'>
<Display class='Text'>
<Property name='title' value='firstname'/>
</Display>
<Default>
<ref>global.ADfirstname</ref>
</Default>
</Field>
Thank you,
David.

Similar Messages

  • My iBooks just deleted a handful of my pdfs without a sync on my iphone 4s with new OS7.  Any suggestions?  I have not backed up or updated anything since just in case.

    My iBooks just deleted a handful of my pdfs upon opening, without a sync, on my iphone 4s with new OS7.  Any suggestions?  I have not backed up or updated anything since just in case.

    Happened to me on an iPad after updaing to iOS 7.0. All PDF's synced to iBooks disapperaed. I just connected to iTunes & synced them back...they all then were shown as new. Noticed I had to re-select them all, in iTunes, in order to sync them back.

  • [svn:cairngorm3:] 21115: updating the md5 and metadata and swc release ( just in case, we missed anything in our last commit)

    Revision: 21115
    Revision: 21115
    Author:   [email protected]
    Date:     2011-04-21 09:13:29 -0700 (Thu, 21 Apr 2011)
    Log Message:
    updating the md5 and metadata and swc release (just in case, we missed anything in our last commit)
    Modified Paths:
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/3.0.18/cairngorm3-3.0.18.pom
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/3.0.18/cairngorm3-3.0.18.pom.m d5
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/3.0.18/cairngorm3-3.0.18.pom.s ha1
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/1.4/contract-1.4.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/1.4/contract-1.4.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/1.4/contract-1.4.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/0.16/integration-0.16.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/0.16/integration-0.16.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/0.16/integration-0.16.swc.sha 1
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/0.16/integrationParsle y-0.16.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/0.16/integrationParsle y-0.16.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/0.16/integrationParsle y-0.16.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/maven-metadata.xml.sha 1
        cairngorm3/maven-repository/com/adobe/cairngorm/libraries/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/libraries/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/libraries/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/module/0.15/module-0.15.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/module/0.15/module-0.15.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/module/0.15/module-0.15.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/module/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/module/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/module/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/1.4/navigation-1.4.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/1.4/navigation-1.4.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/1.4/navigation-1.4.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/1.4/navigationParsley-1 .4.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/1.4/navigationParsley-1 .4.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/1.4/navigationParsley-1 .4.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/1.4/navigationSpringAS -1.4.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/1.4/navigationSpringAS -1.4.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/1.4/navigationSpringAS -1.4.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/maven-metadata.xml.sha 1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/1.4/navigationSwiz-1.4.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/1.4/navigationSwiz-1.4.swc .md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/1.4/navigationSwiz-1.4.swc .sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/1.14/observer-1.14.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/1.14/observer-1.14.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/1.14/observer-1.14.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/1.14/observerParsley-1.14 .swc
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/1.14/observerParsley-1.14 .swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/1.14/observerParsley-1.14 .swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/1.13/popup-1.13.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/1.13/popup-1.13.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/1.13/popup-1.13.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/1.13/popupParsley-1.13.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/1.13/popupParsley-1.13.swc.m d5
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/1.13/popupParsley-1.13.swc.s ha1
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/task/1.10/task-1.10.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/task/1.10/task-1.10.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/task/1.10/task-1.10.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/task/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/task/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/task/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/1.13/validation-1.13.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/1.13/validation-1.13.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/1.13/validation-1.13.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/maven-metadata.xml.sha1

    word!
    second that.
    This is really hard to follow, even for us who keep an eye on every update and read every single post and have an imagination of update problems out there.
    You tried to make digitalpublishing.acrobat.com (the "dashboard") the one-stop place for downloading and updating all necessary tools. good idea to make this the central point, because adobe.com download sections is a pain in the arse when trying to find updates for secondary tools like the DPS.
    also, make it super-duper clear what version is the current and what versio are currently available. I already wrote about lining up version numbers months ago and you seem to get this working — but it is still a mess. 1.7 vs 1.1.7 vs. 2.0 vs. drop17 vs. 11.4.2.201111104_m_670635 7.5.5.16 (you can imagine where I took the latter from)
    Peter: The bold line in the sticky forum message was added later, as I recall.
    —Johannes

  • Af:inputListOfValues: updating all attributes from 'List return values'

    Hi all,
    In my ViewObject, I have one LOV enabled Transient attribute (in order to display content meaningfull for the end user)
    In the List return values, I have one extra return value, which updates the real foreign key attribute
    When user launches LOV popup and chooses one of the vaules, both of my attributes from the List return values are updates properly
    However, when the user entered value directly (so, does not launch LOV popup), then the real foreign key attribute has not been set
    What to do in order to set foreign key attribute in both cases ?
    Maybe with one valueChangeListener and autoSubmit enabled ?
    Any idea ?
    P.S. Off topic : Seems thas password finder for my OTN account does not work, is there any way to "unite" my posts from my old account with this new one ?
    Edited by: user11208293 on May 28, 2009 8:49 AM

    Ok. It seems that no solution for this problem, so end user cannot directly enter the value in the af:inputListOfValues (into transient View attrbibute), since there no way to update the real foreign key value. The only option is to enable LOV not for transient, meaningfull attribute, but for f.k. attribute (which does not mean nothing for end user)
    What you doing in this situation ?
    Should I discard af:inputListOfValues ?
    P.S. just to note : LOV Autocompletion, as described in the Steve Muench atricle :
    http://www.oracle.com/technology/oramag/oracle/09-jan/o19frame.html
    works only if user presses Tab button (after entering value in the LOV filed).
    It does not work if user directly enter into LOV field, and then press some command button by the mouse
    Edited by: Cvele_new_account on May 28, 2009 11:38 PM

  • Update column data to Upper Case in parent and child table

    Hi ,
    I am facing issue while updating column value to upper case in parent table and child table. How can i do that ?
    when updating parent row:
    ORA-02292: integrity constraint (XXXXXXXXXXXXXX_FK) violated - child record found
    When updatng corresponding child row:
    ORA-02291: integrity constraint (XXXXXXXXXXXXXXXX_FK) violated - parent key not found
    how can i update on both the places ?
    Regards,
    AA

    I am facing issue while updating column value to upper case in parent table and child table. How can i do that ?
    Why do you need to do that?
    That is just ONE of several questions you should answer before you start modifying your data.
    1. What is your 4 digit Oracle version? (result of SELECT * FROM V$VERSION)
    2. If both values are the same case what difference does it make what that case is?hen you don't need to alter your original data.
    3. What is the source of the column values you are using now? If you change your data to upper case it will no longer be identical to the source data.
    4. What is your plan for enforcing future values to be stored in UPPER case? Are you going to use a trigger? Have you written and tested such a trigger to see if it will even work the way you expect?
    5. Why aren't you using a surrogate key instead of a 'business' data item? You have just demonstrated one reason why surrogate keys can be useful: their actual value is NOT important.
    You should reexamine your problem and architecture and consider other alternatives.
    One alternative is to add a new 'surrogate key' column to use as the primary key. Just create a new sequence and use a trigger to populate the new column. Your current plans will require a trigger to perform the case conversion so instead of the just use the trigger to provide the value.
    If the change is being done to facilitate searching you could just add a VIRTUAL column UPPER_MY_COLUMN and index that instead. Then you could search on that new virtual column and the data values would still be identical to the original data source.

  • Update custom attributes in WebUI using 9iFS

    Updating custom attributes of subclassed document in WinUI is
    working. Through the WebUI the attributes appear to be readonly
    (which is not the case).
    Did I forget something or is it still not possible to update
    custom attributes from the WebUI and do I have to write a
    servlet/JSP+bean to accomplish this?
    Thanks in advance,
    Harry.
    Please reply to: [email protected]

    Updating custom attributes of subclassed document in WinUI is
    working. Through the WebUI the attributes appear to be readonly
    (which is not the case).
    Did I forget something or is it still not possible to update
    custom attributes from the WebUI and do I have to write a
    servlet/JSP+bean to accomplish this?
    Yes. You have to write a servlet/JSP+bean to update the
    attributes. You can also upload XML file to update your
    attributes.

  • Update Marketing attributes in Interactive Scripting

    Hi All,
    I would like to know if anyone knows how to :
    1. Display multi value fields in Interactive Scripting 5.2
        In standard IS editor, there is a dynamic answer "Marketing Attribute 5.1". We need to create new ones. What it the process ?
    2. Update Marketing Attributes (or any other multi value fields) in IS. In addition to that, IS Editor in 5.2 don't have "ABAP Call" and "RFC ABAP Call" type actions in the  repository, where 4.0 comes with these types. I would like to make a RFC call to R/3 from IS, and display the returned value in the IS.
    Thank you,
    Vadim Boriskevich.

    Hello Mike,
    Yes, You have to clearly define what type of marketing attribute it is. i mean whether person or organization.
    It is not possible to use marketing attributes which are valid for persons AND organizations for survey.
    For eg.   If the marketing attribute is of type person(you can see this in the trx Crmd_prof_templ) and the BP is of type Organisation then it wont work for you.
    In this case either change the attributes to Organization type ,reattach them in the survey suite and then try.
    If you  have attribute of person type then the BP should be of the same type.Actually in the code there is a string which matches from both the sides.So in case of any mismatch the updation would not be there.
    Hope this answers your question.
    Thanks
    Raja  Pamireddy
    CRM Marketing forum Moderator

  • Update TimeStamp Attribute

    Jdev - 11.4
    HI ,
    I want to update TimeStamp attribute (HistoryColumn) of entity with current time.
    I have one VO based on EO
    now from back bean I want to update TS in VO. I found that updatable property of TS in vo is Never.
    so if I try to set its value as
    java.sql.Timestamp sqlDate = new java.sql.Timestamp(new java.util.Date().getTime());
    row.setAttribute("TimeStamp",sqlDate ) it gives attribute cannot be updated .(As its updatable property is set as Never)
    I tried with History_column as modified on and refresh after Update . and tried to update some other attribute of VO still it dosen't work.
    Any soultion for this?

    ADF has built in support for history columns- Are you making use of it? In case if you want to override the default value set by run time,
    1. either you can build your own history type - http://jobinesh.blogspot.com/2011/02/creating-custom-history-types.html
    2. or override prepareForDML to set your custom value aafter super.prepareForDML (). - Mark the attribute as updatable

  • Update market attribute for BP

    Dear expert, i need to update market attribute of bp in CRM.
    At the moment i'm using function module CRM_MKTBP_ASSIGN_ATTRIBUT_TAB to create/update the attribute.
    It works fine but there is a problem when I try to update the field  ATWRT (characteristic value) on an attribute that already exist. For example if I have:
    OBJEK
    000000000000000058
    ATINN
    0000000034
    ATWRT
    N
    and I want to update in :
    OBJEK
    000000000000000058
    ATINN
    0000000034
    ATWRT
    Y
    This doesn't work. I found another function to do it, CRM_MKTBP_UPDATE_ATTR_BP, but I don't know if I can use it instead to use CRM_MKTBP_ASSIGN_ATTRIBUT_TAB .
    Anybody already found this problem ?
    Davide

    ok, thanks, and do you know if in case i want to delete an attribute from bp exist another function module ?
    Regards,
    Davide

  • Update AD Attribute directly from OIM

    Hello,
    I just want to change one attibute in AD from a process task in OIM.
    This process task is using an adapter that calls a Java method. In that method i'm initializing a com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks instance and then calling its setUserAttributes(objectGUI,hastable) method. However no changes are reflected in AD..
    I guess i'm not taking the right approach so I'd appreciate ur help.
    Thanks.

    Thank you.
    That's the way to provinsion a field from AD User Form to AD. What I need is to write a Java code to update an attribute directly in AD to the desired value. Some thing like this:
    Pseudocode: UpdateValue(ObjectGUI,pInstance,attribute,newvalue)
    I guess I have to use methods from tcUtilADTasks in com.thortech.xl.integration.ActiveDirectory package, however I've tried several times without success...
    Any suggestion?

  • Can't Update Lighthouse attributes :(

    Hi all,
    I have a custom workflow I am working on. The custom workflow is being used by administrators to change a users user name. I am having a weird problem. I check out the View, set a bunch of data (username, email, etc) and then check in the view. The data is all being updated on the Resources, but not on Lighthouse. Afterwards, I then open the user under edit, and go to save, and it wants to save over the newer values on the resources with the older values in lighthouse.
    I don't know why the Lighthouse attributes are not getting updated...
    Here is the workflow:
    <!-- MemberObjectGroups="#ID#Top" createDate="Fri Jun 29 10:05:49 PDT 2007" extensionClass="WFProcess" id="#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0" name="UO_changeUsername" visibility="runschedule"-->
    <TaskDefinition id='#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0' name='UO_changeUsername' lock='Configurator#1184960068433' creator='Configurator' createDate='1183136749878' lastModifier='Configurator' lastModDate='1184959768387' lastMod='719' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Form name='uoChangeUsernameForm' objectLocationID='objectName=UO_changeUsername&isBegin=true&objectPath=81&objectType=TaskDefinition'>
    <Display class='EditForm'/>
    <defvar name='singleId'>
    <block name='singleIdVariable' trace='true'>
    <cond>
    <eq>
    <length>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    </length>
    <i>1</i>
    </eq>
    <s>true</s>
    <s>false</s>
    </cond>
    </block>
    </defvar>
    <defvar name='userAccountId'>
    <cond>
    <eq>
    <ref>singleId</ref>
    <s>true</s>
    </eq>
    <block name='fetchTheId' trace='true'>
    <get>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    <i>0</i>
    </get>
    </block>
    </cond>
    </defvar>
    <Field name='theUser'>
    <Derivation>
    <block>
    <set name='session'>
    <invoke name='getAuthenticatedContext'>
    <new class='com.waveset.session.InternalSession'/>
    <s>Configurator</s>
    </invoke>
    </set>
    <invoke name='getView'>
    <ref>:display.session</ref>
    <concat>
    <s>User:</s>
    <ref>userAccountId</ref>
    </concat>
    <map>
    <s>authorized</s>
    <s>true</s>
    <s>Form</s>
    <s>UO Empty Form</s>
    </map>
    </invoke>
    </block>
    </Derivation>
    <Validation>
    <cond>
    <not>
    <eq>
    <ref>theUser.accounts[Lighthouse].accountClaimed</ref>
    <s>true</s>
    </eq>
    </not>
    <s>You may not modify unclaimed accounts.</s>
    </cond>
    </Validation>
    </Field>
    <Field name='theUser.waveset.accountId'>
    <Display class='Label'>
    <Property name='title' value='Account ID'/>
    </Display>
    </Field>
    <Field name='newUsername'>
    <Display class='Text'>
    <Property name='title' value='New Username'/>
    </Display>
    <Validation>
    <block name='validation' trace='true'>
    <cond>
    <neq>
    <rule name='UO Username Library:existsInAuth'>
    <argument name='potentialUsername'>
    <downcase>
    <ref>newUsername</ref>
    </downcase>
    </argument>
    </rule>
    <i>0</i>
    </neq>
    <s>The username you have selected is already in use. Please choose a different username.</s>
    <cond>
    <neq>
    <rule name='UO Username Library:alphanumericOnly'>
    <argument name='inputString' value='$(newUsername)'/>
    </rule>
    <ref>newUsername</ref>
    </neq>
    <s>The username may only contain alpha-numeric characters. No other character types are allowed.</s>
    </cond>
    </cond>
    </block>
    </Validation>
    </Field>
    </Form>
    <Extension>
    <WFProcess name='UO_changeUsername' title='UO_changeUsername' maxSteps='0'>
    <Variable name='theUser' input='true'/>
    <Variable name='newUsername'/>
    <Variable name='error'/>
    <Activity id='0' name='start'>
    <ReportTitle>
    <s>start</s>
    </ReportTitle>
    <Transition to='Update Username Attributes'/>
    <WorkflowEditor x='56' y='41'/>
    </Activity>
    <Activity id='1' name='end'>
    <ReportTitle>
    <s>end</s>
    </ReportTitle>
    <WorkflowEditor x='362' y='514'/>
    </Activity>
    <Activity id='2' name='ReProvision User'>
    <ReportTitle>
    <s>ReProvision User</s>
    </ReportTitle>
    <Action id='0' name='Set Process View'>
    <ReportTitle>
    <s>Set Process View</s>
    </ReportTitle>
    <expression>
    <block>
    <set name='theUser.viewOptions.Form'>
    <s>UO Empty Form</s>
    </set>
    </block>
    </expression>
    </Action>
    <Action id='1' name='ReProvision' application='com.waveset.session.WorkflowServices'>
    <ReportTitle>
    <s>ReProvision</s>
    </ReportTitle>
    <Argument name='op' value='checkinView'/>
    <Argument name='view'>
    <ref>theUser</ref>
    </Argument>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='337' y='359'/>
    </Activity>
    <Activity id='3' name='Update Username Attributes'>
    <ReportTitle>
    <s>Update Username Attributes</s>
    </ReportTitle>
    <Action id='0' name='Update Attributes'>
    <ReportTitle>
    <s>Update Attributes</s>
    </ReportTitle>
    <expression>
    <block name='ifAccountIDNeedsToChange'>
    <block name='setting' trace='true'>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].old'>
    <ref>theUser.accounts[Lighthouse].Uname</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].new'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].selected'>
    <s>true</s>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.attributes.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].new'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].old'>
    <ref>theUser.accounts[Lighthouse].email</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[LDAP].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <append name='theUser.update.toUpdate'>
    <s>Lighthouse</s>
    </append>
    <set name='theUser.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accountId'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].accountType'>
    <s>TEST</s>
    </set>
    </block>
    </block>
    </expression>
    </Action>
    <Action id='1' name='Update Auth DB'>
    <ReportTitle>
    <s>Update Auth DB</s>
    </ReportTitle>
    </Action>
    <Transition to='ReProvision User'/>
    <WorkflowEditor x='212' y='189'/>
    </Activity>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='UO_changeUsername'/>
    </Properties>
    </TaskDefinition>

    Hi all,
    I have a custom workflow I am working on. The custom workflow is being used by administrators to change a users user name. I am having a weird problem. I check out the View, set a bunch of data (username, email, etc) and then check in the view. The data is all being updated on the Resources, but not on Lighthouse. Afterwards, I then open the user under edit, and go to save, and it wants to save over the newer values on the resources with the older values in lighthouse.
    I don't know why the Lighthouse attributes are not getting updated...
    Here is the workflow:
    <!-- MemberObjectGroups="#ID#Top" createDate="Fri Jun 29 10:05:49 PDT 2007" extensionClass="WFProcess" id="#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0" name="UO_changeUsername" visibility="runschedule"-->
    <TaskDefinition id='#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0' name='UO_changeUsername' lock='Configurator#1184960068433' creator='Configurator' createDate='1183136749878' lastModifier='Configurator' lastModDate='1184959768387' lastMod='719' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Form name='uoChangeUsernameForm' objectLocationID='objectName=UO_changeUsername&isBegin=true&objectPath=81&objectType=TaskDefinition'>
    <Display class='EditForm'/>
    <defvar name='singleId'>
    <block name='singleIdVariable' trace='true'>
    <cond>
    <eq>
    <length>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    </length>
    <i>1</i>
    </eq>
    <s>true</s>
    <s>false</s>
    </cond>
    </block>
    </defvar>
    <defvar name='userAccountId'>
    <cond>
    <eq>
    <ref>singleId</ref>
    <s>true</s>
    </eq>
    <block name='fetchTheId' trace='true'>
    <get>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    <i>0</i>
    </get>
    </block>
    </cond>
    </defvar>
    <Field name='theUser'>
    <Derivation>
    <block>
    <set name='session'>
    <invoke name='getAuthenticatedContext'>
    <new class='com.waveset.session.InternalSession'/>
    <s>Configurator</s>
    </invoke>
    </set>
    <invoke name='getView'>
    <ref>:display.session</ref>
    <concat>
    <s>User:</s>
    <ref>userAccountId</ref>
    </concat>
    <map>
    <s>authorized</s>
    <s>true</s>
    <s>Form</s>
    <s>UO Empty Form</s>
    </map>
    </invoke>
    </block>
    </Derivation>
    <Validation>
    <cond>
    <not>
    <eq>
    <ref>theUser.accounts[Lighthouse].accountClaimed</ref>
    <s>true</s>
    </eq>
    </not>
    <s>You may not modify unclaimed accounts.</s>
    </cond>
    </Validation>
    </Field>
    <Field name='theUser.waveset.accountId'>
    <Display class='Label'>
    <Property name='title' value='Account ID'/>
    </Display>
    </Field>
    <Field name='newUsername'>
    <Display class='Text'>
    <Property name='title' value='New Username'/>
    </Display>
    <Validation>
    <block name='validation' trace='true'>
    <cond>
    <neq>
    <rule name='UO Username Library:existsInAuth'>
    <argument name='potentialUsername'>
    <downcase>
    <ref>newUsername</ref>
    </downcase>
    </argument>
    </rule>
    <i>0</i>
    </neq>
    <s>The username you have selected is already in use. Please choose a different username.</s>
    <cond>
    <neq>
    <rule name='UO Username Library:alphanumericOnly'>
    <argument name='inputString' value='$(newUsername)'/>
    </rule>
    <ref>newUsername</ref>
    </neq>
    <s>The username may only contain alpha-numeric characters. No other character types are allowed.</s>
    </cond>
    </cond>
    </block>
    </Validation>
    </Field>
    </Form>
    <Extension>
    <WFProcess name='UO_changeUsername' title='UO_changeUsername' maxSteps='0'>
    <Variable name='theUser' input='true'/>
    <Variable name='newUsername'/>
    <Variable name='error'/>
    <Activity id='0' name='start'>
    <ReportTitle>
    <s>start</s>
    </ReportTitle>
    <Transition to='Update Username Attributes'/>
    <WorkflowEditor x='56' y='41'/>
    </Activity>
    <Activity id='1' name='end'>
    <ReportTitle>
    <s>end</s>
    </ReportTitle>
    <WorkflowEditor x='362' y='514'/>
    </Activity>
    <Activity id='2' name='ReProvision User'>
    <ReportTitle>
    <s>ReProvision User</s>
    </ReportTitle>
    <Action id='0' name='Set Process View'>
    <ReportTitle>
    <s>Set Process View</s>
    </ReportTitle>
    <expression>
    <block>
    <set name='theUser.viewOptions.Form'>
    <s>UO Empty Form</s>
    </set>
    </block>
    </expression>
    </Action>
    <Action id='1' name='ReProvision' application='com.waveset.session.WorkflowServices'>
    <ReportTitle>
    <s>ReProvision</s>
    </ReportTitle>
    <Argument name='op' value='checkinView'/>
    <Argument name='view'>
    <ref>theUser</ref>
    </Argument>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='337' y='359'/>
    </Activity>
    <Activity id='3' name='Update Username Attributes'>
    <ReportTitle>
    <s>Update Username Attributes</s>
    </ReportTitle>
    <Action id='0' name='Update Attributes'>
    <ReportTitle>
    <s>Update Attributes</s>
    </ReportTitle>
    <expression>
    <block name='ifAccountIDNeedsToChange'>
    <block name='setting' trace='true'>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].old'>
    <ref>theUser.accounts[Lighthouse].Uname</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].new'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].selected'>
    <s>true</s>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.attributes.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].new'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].old'>
    <ref>theUser.accounts[Lighthouse].email</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[LDAP].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <append name='theUser.update.toUpdate'>
    <s>Lighthouse</s>
    </append>
    <set name='theUser.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accountId'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].accountType'>
    <s>TEST</s>
    </set>
    </block>
    </block>
    </expression>
    </Action>
    <Action id='1' name='Update Auth DB'>
    <ReportTitle>
    <s>Update Auth DB</s>
    </ReportTitle>
    </Action>
    <Transition to='ReProvision User'/>
    <WorkflowEditor x='212' y='189'/>
    </Activity>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='UO_changeUsername'/>
    </Properties>
    </TaskDefinition>

  • Just in case

    Just in case I'll have to reset my iPod in the future-
    when you reset your iPod, does that affect the imported items in your iPod?
    also-
    I think I disconnected my iPod before the "do not disconnect" screen went away (i clicked on ejecting iPod on iTune and automatically assumed iPod was ready to be disconnected- but screen was still on) and i did disconnect my iPod while that screen was on before because my laptop and iTune froze....
    will that damage my ipod?
    (or...did it....some underlying damage that doesnt appear right away? or...what does it do to the iPod when you disconnect it at wrong time?)
    Just curious

    so does unplugging while on "do not disconnect" directly affect the hard drive of the iPod?
    Yes! Severely. You will lose everything on your iPod. No matter if it updated successfully or not. Not Recommended to do this at all.
    o yea, and does anyone exercise with the 5G iPod?
    I really want to but I don't want to break it...
    I use my 5G iPod on a treadmill and nothing happens. I also have taken walks and runs with it as well. No problems, however you yourself could run into problems, as exercising is not recommended with a harddrive iPod.

  • How can I use my Apple TV at a friends house ?? Is it not just a case of connecting to wifi then log on with my apple ID ?!

    How can I use my Apple TV at a friends house ?? Is it not just a case of connecting to wifi then log on with my apple ID ?!

    Thanks, I'll try it again. Was coming up on the screen saying something about cant work until the clock / time is configured or something ???

  • I wish to upgrade my Macbook Pro to ML from SL but told the only way to do this is by downloading thru App store. Is it possible to copy ML on a USB and upgrade that way. I would like to have a back up of the OS just in case i have a problem later. Help!

    I wish to upgrade my Macbook Pro to ML from SL but told the only way to do this is by downloading thru App store. Is it possible to copy ML on to a USB and upgrade that way. I would like to have a back up of the OS installation files just in case i have a problem later. Please help me!

    You can create an install disc but you would have to download Mountain Lion to do so..
    How to create an OS X 10.8 Mountain Lion install drive | MacFixIt - CNET Reviews
    And make sure your Mac can upgrade to Mountain Lion.
    See Step 1, 2, and 3, here >  Apple - Upgrade your Mac to OS X Mountain Lion.

  • OIM Design Console Internal error while updating task attributes

    Hi All,
    I have installed OIM9101 on jboss, the set up is running fine. I am in the process of integrating a OID connector following steps given OID connector guide. In design console(Administration-->Task Scheduler) while modifying "OID Group Lookup Reconciliation Task" attributes, attribute value is not getting saved. When i click on save option it shows a pop up windows saying "problem in updating task attributes. update failed."
    Any solution for this??.. Please help.
    Thanks in Advance.
    Edited by: VAYANAKA on Nov 26, 2010 10:48 PM

    Thank you for the reply..I have tried to create a new scheduled task. But while saving it again an Internal error pop up window comes saying " Description:Could not execute database read.The database encountered a problem with the specified SQL Query.Remedy: Check the database query.Contact your system administrator."..
    Is it any problem with my database.? I have checked database, its up and running??
    Thanks In advance.

Maybe you are looking for