Flat File Active Sync Target Resource not working

Hi there,
I've been trying now for several days to get user data from a csv-file into a target resource (mysql table in this case), but I don't get it working.
I created MySQL resource with correct schema mapping, then I created FFAS adapter for the csv file with correct schema mapping and added MySQL table as target resource (I chose "wizard generated input from" and basic configuration mode in active sync wizard). I also configured meta view (or identity attributes in IDM 6.0) with FFAS as source and MySQL as target for several attributes.
Accounts can be loaded from the csv (lighthouse users are created) and MySQL-resource can be assigned to users, but it would be pretty nice to have this done automatically. So what I want is load accounts from csv and add mysql resource without any user action required (manually assign resource).
Thanks for your help!

Right. Roles are a great way to assign Resources to users. They have the added value of being able to re-define the Role at a later time (e.g. users having Role X get an account in MySQL and AD, for example) through Bulk Action.
I typically do my ActiveSync processing through an ActiveSync input Form. I realize MetaView is available too, but I was "brought up" on the Form model and it still works for me.
If you go the ActiveSync Form route, you basically have to understand the Form as a tool to help you build the user View and extend the handful of attributes from your CSV file into a larger representation of the user. In other words, the Form is often used to create an Email Address (either in the Form or through Rule invocation), assign Roles/Resources, assign a Manager (IdM 7.0 and later), etc.

Similar Messages

  • Role updation during Flat File Active Sync

    Hi
    I have defined a role which assigns default values to some attributes for a particular resource.
    And this role am assigning it to the user in the Flat File Active Sync form during user creation.
    But the problem is the attribute-values defined in the Role are not getting updated in the user data during the creation process. The next time there is an update, the values get reflected.
    I want this to be reflected during the first creation process itself. Please let me know what changes needs to be done in the following code -
    <Field name='accounts[Lighthouse].roles'>
    <Expansion>
    <filterdup>
    <appendAll>
         <ref>accounts[Lighthouse].roles</ref>
    <s>Initial-Provision-Role</s>
    </appendAll>
    </filterdup>
    </Expansion>
    </Field>
    This is done after assigning the user to the resources.
    Please help asap
    Thanks
    Bushra

    no....what i mean is that instead of using the user forms to set all the values, call a workflow instead. I believe the field in the configuration is called "process workflow" or something like that. this will be called instead of the forms. inside that workflow create a view, or get the existing view...set the new role....refresh the view...then call the create/update/delete user etc.
    a create view is s provisioning task...so you cant call it from a workflow. take the "provisioning task" part out of the header of the create user workflow and it should work just fine.
    this may be much more complicated than what you actually need. Its just the way i would handle it. I dont like using the user forms and always call a workflow instead. gives me much more flexibility
    dana

  • Flat File Active Sync - Notify  admin incase of data processing errors

    Dear Friends,
    We have couple of Requirements to use OOTB flat file active sync adapter
    1. To read data from a flat file and update the records in Sun Identity Manager system
    2. Notify admin if there are any data processing errors while reading data from a flat file. The data processing errors can occur if there is an invalid data. for example, lets say the input flat file has 3 columns defined, but the file conatins records which has four values.
    firstname,lastname,email
    testfirst,testlast,[email protected],12345
    Req#1 is working fine. There are no issues with that.
    Req#2: if the file contains invalid data, i noticed that the active sync adapter throws an Array Index out of bound exception. so, we need to send an email notification to the admin whenever data processing errors occurs.
    I noticed that whenever the data processing exception occurs, the active sync adapter stops processing records and the active sync input form was not triggered. Unless active sync form was triggered, it's very difficult to determine whether the data was read successfully or not.
    Please let me know if there are any configurations/customizations to me made on OOTB flat file active sync adapter to handle data processing errors and send email notifications to administrators.
    Appreciate your help
    Thanks
    Vijay

    Hi,
    We have same requirement that
    "Notify admin if there are any data processing errors from a flat file.
    The data processing errors can occur if there is an invalid data or account is locked etc..."
    In short notify admin if any error logged in Active sync Log file while active sync runs.
    Yes,I noticed same that whenever the data processing exception occurs, the active sync adapter stops processing records and the active sync input form was not triggered. Unless active sync form was triggered, it's very difficult to go ahead to meet the requirement.
    Please let me know if there are any configurations/customizations to me made on flat file active sync adapter to send email notifications to administrators.
    Thanks,
    Sudheer

  • Flat File Active Sync Errors

    Has anyone seen this error before:
    [#|2007-10-13T18:18:31.571-0400|WARNING|sun-appserver-ee8.1|javax.enterprise.system.stream.err|_ThreadID=12;|
    FATAL EXCEPTION (IDM): Unable to update task results due to fatal exception.|#]
    It keeps popping up the in the app server every ten minutes (the polling interval configured in the FFAS is 10 minutes). Also it seems the only way we can get the activesync to start is on server startup we are never able to manually start or stop it...I think these two issues are related and that somehow somthing maybe got corrupted in the db maybe?? Has anyone encountered a similar problem. This is the flat file active sync on IDM 7.1 on Sun App server 8.1. Any advice would be greatly appreciated. Thanks in advance!

    I'm seeing this error with our active sync processes. They seem to be executing on both of our active sync back end servers. Don't know why. It is causing problems though. We are running IDM 7.1.1.7.

  • Flat File Active Sync doesn't work for account creation without unique id

    Hi,
    I'm trying to set up a FlatFileActiveSync for creation and update of accounts in IDM 7.0. I've followed the below steps for this purpose :-
    1) Create a correlation rule (confirmation rule not reqd in my case).
    2) Create a proxy admin and assign him a empty form. Also give him control over Top organisation.
    3) Create a Flat-File Resource Adapter.
    4) Create ActiveSync input form using the (Active Sync) wizard.
    5) Start Active Sync...
    My feed file contains only 3 fields firstname, lastname, email Id.
    My correlation rule has the logic of matching up with IDM accounts(Lighthouse accountId) by taking first letter of firstname and concat with lastname from the data coming from feed file.
    Now everything works fine for account updates i.e. if I change somebody's email Id who already exists in IDM I can actually see the changed email Id in Configurator's console.
    But if I put in a record that doesn't exist, and which I expect to be created, it gives me an error.
    Although, if I introduce a unique identifier in my feed file and link it with Lighthouse.accountId the account creation works fine.
    Is this a limitation or I'm not doing something right ?
    Exception I saw in resource log with log level 4 :
    2007-04-30T10:02:12.291-0400: Error Processing Line: {lastname=Pogu, firstname=Gogu, [email protected]}
    com.waveset.adapter.iapi.IAPIException: There was a conflict with the record [{lastname=Pogu, firstname=Gogu, [email protected]}]
    and no resolution process has been specified on the adapter.
    It is recommended that you define the process for handling unmatched accounts
    on this load process.
    2007-04-30T10:02:12.292-0400: Poll complete.
    2007-04-30T10:02:12.292-0400: SARunner: loop 1076
    2007-04-30T10:02:12.314-0400: Started, paused until Mon Apr 30 10:07:12 EDT 2007
    2007-04-30T10:07:12.024-0400: Pause completed
    2007-04-30T10:07:12.038-0400: Polling
    2007-04-30T10:07:12.056-0400: Error Processing Line: {lastname=Poker, firstname=Hoker, [email protected]}
    com.waveset.adapter.iapi.IAPIException: There was a conflict with the record [{lastname=Poker, firstname=Hoker, [email protected]}]
    and no resolution process has been specified on the adapter.
    It is recommended that you define the process for handling unmatched accounts
    on this load process.

    That logic is in my correlation rule as I specified in my initial post and here's the XPRESS code for it :-
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Rule PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <!-- MemberObjectGroups="#ID#Top" description="Find out if a resource account is correlated to an IDM account" id="#ID#D23CC16ECF6E5D42:-4527465C:11224925657:-769F" lastMod="61" lastModifier="Configurator" name="HR_DB_CORR" subtype="SUBTYPE_ACCOUNT_CORRELATION_RULE"-->
    <Rule subtype='SUBTYPE_ACCOUNT_CORRELATION_RULE' id='#ID#D23CC16ECF6E5D42:-4527465C:11224925657:-769F' name='HR_DB_CORR' creator='Configurator' createDate='1177449448746' lastModifier='Configurator' lastModDate='1177686884156' lastMod='61'>
    <Description>Find out if a resource account is correlated to an IDM account</Description>
    <cond>
    <and>
    <notnull>
    <ref>firstname</ref>
    </notnull>
    <notnull>
    <ref>lastname</ref>
    </notnull>
    </and>
    <block>
    <concat>
    <substr>
    <ref>firstname</ref>
    <i>0</i>
    <i>1</i>
    </substr>
    <ref>lastname</ref>
    </concat>
    </block>
    <s>false</s>
    </cond>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    </Rule>
    Although this is not specified in Active Sync input form but in the correlation rule attribute of Active Sync config (using the wizard). Do I need to specify it there using the Field function.
    Also, I figured out today that I needed to restart IDM instance after changing the value of "Create Unmatched Accounts" flag and now the error is as below :-
    <WavesetResult>
    <ResultItem type='error' status='error'>
    <ResultError throwable='com.waveset.util.WavesetException'>
    <Message id='SES_VIEW_CHECKIN_ERROR'>
    </Message>
    <StackTrace>com.waveset.util.WavesetException: Unable to checkin view. No account ID specified.&#xA;&#x9;at com.waveset.view.UserViewer.checkinView(UserViewer.java:1165)&#xA;&#x9;at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:727)&#xA;&#x9;at com.waveset.sync.IAPIUserImpl.processCommand(IAPIUserImpl.java:526)&#xA;&#x9;at com.waveset.sync.IAPIUserImpl.submitCreate(IAPIUserImpl.java:195)&#xA;&#x9;at com.waveset.sync.IAPIUserImpl.submit(IAPIUserImpl.java:749)&#xA;&#x9;at com.waveset.adapter.FlatFileActiveSyncAdapter.processLine(FlatFileActiveSyncAdapter.java:404)&#xA;&#x9;at com.waveset.adapter.FlatFileActiveSyncAdapter.processFlatFile(FlatFileActiveSyncAdapter.java:350)&#xA;&#x9;at com.waveset.adapter.FlatFileActiveSyncAdapter.poll(FlatFileActiveSyncAdapter.java:307)&#xA;&#x9;at com.waveset.task.SARunner.doRealWork(SARunner.java:288)&#xA;&#x9;at com.waveset.task.Executor.execute(Executor.java:154)&#xA;&#x9;at com.waveset.task.TaskThread.run(TaskThread.java:132)&#xA;</StackTrace>
    </ResultError>
    </ResultItem>
    </WavesetResult>

  • Active sync with AD not working

    HI There is a problem with active sync with AD , when I run the synch manually after any parameters are changed in the AD it is not being populated in the rest of the resources. It changes only in the AD but not IDM or any other resource

    Yes the populate global is enabled and I am useing a form for the active synch.
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Configuration PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <!-- MemberObjectGroups="#ID#Top" extensionClass="Form" id="#ID#11D1DEF534EA1BE0:19D688:108D4A19FE4:-4BF5" lastMod="440" lastModifier="Configurator" name="AD ActiveSync Form"-->
    <Configuration id='#ID#11D1DEF534EA1BE0:19D688:108D4A19FE4:-4BF5' name='AD ActiveSync Form' creator='Configurator' createDate='1137775228229' lastModifier='Configurator' lastModDate='1213930045846' lastMod='440' wstype='UserForm'>
    <Extension>
    <Form name='AD ActiveSync Form' objectLocationID='objectName=AD+ActiveSync+Form&isBegin=true&objectPath=0&objectType=UserForm'>
    </Form>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    </Configuration>

  • Urgent : Flat File Active Sync Error

    Hello,
    I'm trying to set up a FlatFileActiveSync for update of accounts in IDM 7.1.
    I want to update accounts which match on the accountId and do nothing for the others accounts which do not match.
    It works for accounts which match on the accountId but I have this error for the others accounts which do not match.
    +2008-02-18T16:05:40.509+0100: Error Processing Line: {matricule=00990000, telephonenumber=4008, telephoneannuaire=4008}+
    +com.waveset.adapter.iapi.IAPIException: There was a conflict with the record [{telephoneAnnuaire=4008, telephoneNumber=4008, accountId=00990000}]+
    and no resolution process has been specified on the adapter.
    It is recommended that you define the process for handling unmatched accounts
    on this load process.
    Do you have the solution ?
    Thanks
    Mathieu
    Edited by: mroullet on Feb 18, 2008 7:22 AM

    I do not find where I must go, can you re-explain me ?
    In the synchronization policy I have the parameter "+Create Unmatched Accounts+" but it is already uncheck !
    And the help for this parameter is : " +Create Unmatched Accounts : When true, the adapter will attempt to create accounts that it does not find in the Identity system. When false, the adapter will run the account through the process returned by the Resolve Process Rule.+"
    I must choose or create a resolve process rule but I do not know how and why because I do not want to create these account.
    Thanks
    Mathieu

  • Blackberry sync using EAS not working (Q5)

    Just quick link, I followed a forum link from Blackberry about resolving one way sync issues, it had a possible resolution step of registering the CDO.DLL file from the exchange/bin folder which I've done and appears to have gotten sync working again.
    I'm thinking perhaps something got de-registered when we removed the BES server from our environment and move purely to active sync?
    Either way working for the moment, would still appreciate any tips people might have though!

    Hi All,
    We're having an issue getting sync for calendars working when going from Blackberry Q5's to Exchange. Basically, emails and everything are syncing fine but Calendars are a complete hit and miss. The Exchange server is a2003 server but we've got other devices syncing fine to it (like Samsung S6 and other devices).
    The initial sync works, but subsequent ones either don't work or are one way only (from Q5 to Outlook, not the other way). I've been reading online that for some reason a blackberry device can setup a one way sync.
    Anyone have any thoughts on this? Its causing a major headache!
    Thanks,
    Sam
    This topic first appeared in the Spiceworks Community

  • Why while in Bridge Load Files into photoshop Layers does not work?

    In Bridge, Tools>Photoshop>Load Files into Photoshop Layers does not work.  I have two images selected and when I execute that comman in Bridge nothing happens.  I exited and restarted both PS and Bridge and still nothing.  I am working in Windows 7 and Photoshop cs6.

    No I tried File/scripts/load file into stack and still did not work.
    There was an update to bridge and now it works.  Thanks so much.

  • Power book G4 Leopard 10.5.8. File sharing preference checked but not working after start up until unchecked and the rechecked?

    I hope the title is enough info, please ask. In the mean time I have created an applescript to open preferences/ sharing and uncheck then check the file sharing box. This works but I would obviously prefer it just work normally. I have no corrupt preference files. Perhaps a file is missing? Thank you.

    Greetings Kwnez
    I'm not up to your level of expertise yet. I'm networking and file sharing too, on my Mac Powerbook 1.33 GHz PowerPC G4; OS 10.5.8 Lepoard. At the public library I found by asking the clerk a book Authored by David Pogue. "Mac OS X Leopard the Missing Manual". It (the book) has helped me ask better questions. I'm not saying that your question "
    Power book G4 Leopard 10.5.8. File sharing preference checked but not working after start up until unchecked and the rechecked?
    is hard for me to understand, I went to system preferences and looked at the sharing box. when I clik it it opens up and the first thing I see is my computers name, and under that i see, " Computers on your local network can access your computer at: ...-powerbook-g4-15.local"
    What I'm saying is "Are we on the same Page"

  • I have a ipod 2nd gen it is full cannot delete,the sync button does not work,says use cd that came with ipod

    ihave a ipod 2nd gen it is full cannot delete,the sync button does not work,says not used anymore,says use a cd that came with,,also cannot download itunes store,it says ios is out dated

    If you can't copy your purchases by right clicking on it in the device list and choosing "transfer purchases", download the apps again for free: http://support.apple.com/kb/HT2519
    Music can only be downloaded once.

  • PS CS3 not recognizing Raw Files and converters Ive downloaded not working..Why not?

    PS CS3 not recognizing Raw Files and converters Ive downloaded not working..Why not?

    Do you seriously think we can answer that with zero information from you?
    Please give us:
    Operating System/version
    Photoshop version number
    Amount of RAM installed
    Hard drive(s) free capacity
    Video card make and model
    Camera make and model
    Then describe what you have done so far and the symptoms you are seeing.

  • Active Sync certificates no longer work with iOs 4.3

    Existing Active Sync certificates no longer work with iOs 4.3. Can I fix this?

    My results differ from yours.
    With iOS 4.0x, 4.1 and 4.2x my smart playlists with live updating were broken. It would start with track 1 of 5, then 2 of 4, then 3 of 3, 4 of 2, then would generally crash the iPod app. If I left the playlist and re-entered it would have removed the entries already played, but I would find that some of the entries that should have played had actually been skipped in m playlist.
    With iOS 4.3, my playlists are properly working for me again. Now they play 1 of 5, 2 of 5, 3 of 5, ... If I return to the playlist while it is playing, I see that the entries that have already played are removed, and if I leave the playlist to return later, it starts over a 1 of 2, 2 of 2...
    I have posted another thread of how I have my playlists defined, so perhaps that would help you. I do recall that there were some conditions that used to cause problems if used in a smart playlist.

  • Uploading Files Using InputFile Component -- Sometimes not working

    Hello,
    This is the 2nd time I make a post about it!
    Because I have more than 1 application using upload, and everything is correct! But it doesn't work as it should!
    You can check the original post here: Uploading Files Using InputFile Component - Sometimes not working
    I need a solution please!
    The only thing we can conclude is that it could be a bug from oracle !!! (???) But I talked with other people and they say that it works fine for them.
    There is one important thing: when we put a form to "Uses Upload = true" it seems that the page doesn't work very normal. For exemple: if you use a table in a form that uses upload the table get's "crazy".
    Thanks,
    JP

    I have now access to METALINK!
    I can find some problems and patches about inputFile but not mine! I will check better later!
    I think the problem is caused because of my framework!

  • Idoc to flat file using Integration process does not show up at all

    Hello All,
    I created a scenario IDOC to Flat File using Integration Process and one without IntegrationProcess. I am able to execute the one without Integration Process easily.
    However when I send the IDOC from SAP then the Integration Process scenario just does not work.
    I Checked SXMB_MONI  There is no entry for the Integration Process.I can see entry for other without Integration Process.
    SXI_CACHE : I can see my Integration Process active
    SWEQADM :  I have activated the Event Queue and Background job
    SWF_XI_ADM_BPE :  ALL BPE is showing green status.
    All syntax check on IP are fine.
    There is no Basis Help for me so  there could be some additional basis steps which need to be configured.  Has anyone faced such an issue with Integration Process?
    Regards
    Prashanta

    Hope this might help you. when u configure an IDoc as Sender with BPM this is how you proceed.
    <b>1<b>. let us split the scenario into two</b>.</b>
    a. <b>Sender to BPM</b> ( Integration Process).
    b. <b>BPM to Receiver</b>.
    <b>2. First let us configure the first Sender to BPM.</b>
    a. Sender Agreement( <b>Not required</b> ).
    b. Receiver Agreement( <b>NOT Required</b>).
    c. Receiver Determination( Sender Service, Outbound Interface, Receiver Service(<b>Integration Process</b>).
    d. Interface Determination( Inbound Interface(Sender Abstract Interface), Message Mapping(NOT Required if your using transformation stepin Integration Process)).
    <b>3. Now let us configure the Second BPM to Receiver.</b>
    a. Sender Agreement( <b>NOT Required</b>)
    b. Receiver Agreement( Sender Service(<b>Integration process</b>), Receiver Abstarct Interface,Receiver service, Inbound Interface).
    c. Receiver Determination( Sender Service(Integration Process), Receiver Abstarct Interface,Receiver Service).
    d. Interface Determination( Inbound Interface, Message Mapping(<b>NOT Required</b>)).
    So Finally we have <b>One Receiver Agreement</b>, <b>Two Receiver Determinations</b>, <b>Two Interface Determinations</b>.
    Please let me know if you have any more queries.
    Regards
    Gopi

Maybe you are looking for