How to catch error in the Active Sync process

Hi, we are using Flat File active sync to update IDM user attribute. Once IDM found matched record, it builts view. However, during this period, the the matched user is locked, for example. Then IDM stop processing this record then go to next record. How can I catch this error? In log file I saw error message but how can use workflow or other way to know the error? How can get ResultItem that contains error message during AS?

Hi,
I am doing the following....
Assume a main workflow which calls many sub workflows ...
1. Define two global variables as follows
<Variable name='anyErrorOccured'><Boolean>false</Boolean></Variable>
<Variable name='allErrorMsg'><s>Error..</s></Variable>
2. In the all main and sub workflows, add an special 'Action' to check the errors after each Action
<Action id='1' name='doSomething'>
</Action>
<Action id='2' name='checkForErrors'>
<cond>
<isTrue><ref>WF_ACTION_ERROR</ref></isTrue>
set the anyErrorOccured variable to true
Append a custom error message(hard coded) to allErrorMsg variable - error message may contain workflow name and in which action error occured
</cond>
</Action>
3. Before ending the main workflow, if anyErrorOccured is true, then send an email to IDM administartor with allErrorMsg
<Activity id='3' name='CheckOverallError'>
<Transition to='SendOverallErrorNotificationToIDM'>
<ref>anyErrorOccured</ref>
</Transition>
<Transition to='end'/>
</Activity>
Hope, this helps.
Furthermore, I tried to catch the actual error trace from IDM using the following in each 'checkForErrors' Action and append all IDM error messages for email notification.
<invoke name='getMessage'>
<get>
<invoke name='getErrorMessages'>
<ref>WF_CASE_RESULT</ref>
</invoke>
<i>1</i> ???????
</get>
</invoke>
But , it was not successful, as I could not extract the right error mesage at the right place from WF_CASE_RESULT

Similar Messages

  • Active sync : process selection values are not persistent

    Hi,
    Version: IDM : 6
    I am attempting to provision oracle user accounts through IDM active sync process running against an AD LDAP server.
    I want to use default forms/views supplied by IDM product, and configure active sync to use my custom workflow on create/update events.
    I was not able to save my workflow for any of the events in process selection module of active sync configuration.
    this is what i did..
    ======================================================
    Active sync in (advanced mode) ->Process Selection
    Process Mode      
    Use the event type to determine the process / workflow ? (enabled)
    Create -> (from available workflows i select my custom workflow ) save
    ======================================================
    after saving my changes , i again re-visited active sync-> process selection : to confirm my changes.
    i do not see my saved workflow for create , but i see "default" as selected.
    Is assigning custom workflows through actives syncs process selection allowed?
    If Yes, How do i preserve my active sync-> process selection configurations?
    Thanks
    Edited by: idm_new_user on Jun 3, 2008 9:44 AM

    Hi Chapo,
    Thanks for trying to help me out...
    Issue is not with assigning my custom form to my active sync process, it works that way...(i can achieve AD->IDM->ORACLE provisioning) using custom form/workflow...i now want to use, forms/workflow shipped out of box by IDM product to achieve provisioning of oracle accounts(Target) with Active Sync configured on AD (source).I am having issues with this configuration...i am not sure , it even works, out of box with out editing any forms/workflows !!!
    what i now to achieve is a partial customization, i.e use forms supplied out of box by idm's active sync process, and ONLY use my custom workflows to do create/updates...
    This is what i am trying to do, for an active sync configured on AD resource in advanced mode.
    Find the AD LDAP resource under the Resources tab.
    The check the box on the left hand side.
    Now select "edit Active Sync process" from the drop down box.
    In the active sync ->process selection view...select "use event type to determine the process/workflow ?"
    and assign my custom workflows for create/update events...
    after saving this, i revisit to confirm my changes...only to find that , they get lost/replaced by "default"
    so, my question is how do i configure an active sync to use my workflow on create/update events...with out using my custom forms? if "process selection" module of active sync wizard is the way to do this, how can i save my configurations?

  • Problem with Active Sync Process in Flat File

    I have a flat file (Employee.csv) as a resource. I populated that data into IDM using Active Sync.
    Ive created another flat file that is empty (CopyEmployee.csv) and added that as resource to IDM.
    By using the Active Sync process I want to populate the data from Employee.csv to CopyEmployee.csv.
    I tried but unable to get the output. Is this really possible ?
    Im using IDM 6.0 on SunApp 8.1

    Nope, flatfile is a read only adapter, to the best of my knowledge. You can use it to feed IM, that's it. No recon, nothing else. That's coz IM doesn't maintain a state for it (just does a diff with an index file during ActiveSync).
    You can think of maintaining a simulated resource on a file though.
    Ankush

  • The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.

    got event ID 4015 and source DNS-Server-Service. please suggest how to fix this issue
    The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
    Raj

    Hi
     first run "ipconfig /flushdns" and then "ipconfig /registerdns" finally restart dns service and check the situation,also you can check dns logs computer management ->Event viewer->Custom Views->Server roles->DNS.

  • Ensure 1 Active Sync process runs against the change log before all others?

    He folks,
    We have a lot of LDAP active sync thread. We have a primary on that correlates to an individuals account. Then we have several that represent affiliations at our organization. The affiliations are represented in LDAP as subordinates of the main persons entry. These sets of data were set up as different resource adapters because the they are different object types in LDAP.
    Now we are running into a problem where the active sync threads for subordinates are running before the thread for the main entry. What this means, is that an affiliation thread might run, see a new person was added and ignore it (since that isn't it's resource) but find the affiliation subordinate entry and want to process it. However, the thread can't find an associated account in IDM yet, so no processing takes place on that change, ever..
    If the main account active sync thread had already run, it would see the main entry, and then make a correisponding IDM entry. If the IDM entry has been made, and the affiliation resource active sync adapter runs, it will then find the IDM entry and update that.
    So.. We are experience problems when the affiliation processes a new account before the main account sync process.
    Can we ensure somehow that the main account active sync process always runs first? These are all LDAP resources. If we could ensure the main account resource / sync happens before any other affiliation resource, then we would never ignore data, and would not have anyproblems.
    Does anyone know of a good clean way to do this?
    Thanks!

    I had a similar issue, and solved it by using post process workflows and starting and stopping resource adapters manually. This will allow you to start the first resource, and any others you want can be started/stopped manually via the workflow. You can effectively "chain" resource adapters to run in any order you'd like.
    On the first resource that you want to run before anything else, this will run as a post-process workflow:
         <Activity id='0' name='stopFirstResource'>
            <Action id='0' name='stop'>
              <expression>
                <block name='stop'>
                  <invoke name='stopActiveSyncOnResource' class='com.waveset.session.SessionUtil'>
                    <ref>displaySession</ref>
                    <s>%%FIRSTRESOURCENAME%%</s>
                  </invoke>
                </block>
              </expression>
            </Action>
            <Transition to='Process Errors'>
              <ref>WF_ACTION_ERROR</ref>
            </Transition>
            <Transition to='startSecondResource'/>
          </Activity>
          <Activity id='1' name='startSecondResource'>
            <Action id='0' name='start'>
              <expression>
                <invoke name='startActiveSyncOnResource' class='com.waveset.session.SessionUtil'>
                  <ref>displaySession</ref>
                  <s>%%SECONDRESOURCENAME%%</s>
                </invoke>
              </expression>
            </Action>
            <Transition to='Process Errors'>
              <ref>WF_ACTION_ERROR</ref>
            </Transition>
            <Transition to='end'/>
          </Activity>
    This will stop the first one (after it has run) and start the second one.
    Then, on the post process workflow of the second resource:
          <Activity id='1' name='stopSecondResource'>
            <Action id='0' name='stop'>
              <expression>
                <block name='start'>
                  <invoke name='stopActiveSyncOnResource' class='com.waveset.session.SessionUtil'>
                    <ref>displaySession</ref>
                    <s>%%SECONDRESOURCENAME%%</s>
                  </invoke>
                </block>
              </expression>
            </Action>
            <Transition to='Process Errors'>
              <ref>WF_ACTION_ERROR</ref>
            </Transition>
            <Transition to='end'/>
          </Activity>This stops the second one.

  • How to shorten active sync process

    Hello, I am trying to setup IDM to use Database Table active sync to read SQL table then update couple IDM user's attributes. I used "used wizard generated input form" setting. Once it runs, IDM connects all the resources and fetches all the information of res account that each user has. We have over 6000 user. The active sync took over 10 hours to finish. Where and how can I let active sync not to connect other resource?

    I identify that the query allowing take a while.
    Periodicly, MGP send from 2 to 8 process which execute the query that takes all the processor. Even there are nothing to update.
    How to acelerate it? or how to avoid it?.
    UPDATE mobileadmin.cmp$wtgpi_10055 m
    SET dmltype$$ = 'D',
    seqno$$ = NULL,
    dtype$$ = NULL
    WHERE clid$$cs = 'XNC04615'
    AND nvl(dtype$$, 'N') <> 'D'
    AND (seqno$$ IS NOT NULL
    OR nvl(dmltype$$, 'N') <> 'D')
    AND NOT EXISTS (SELECT 'A'
    FROM (SELECT t1.*
    FROM shmk.designs_data t1, shmk.userdatakey t2
    WHERE t2.user_id = 'XNC04615'
    AND t1.ref = t2.ref) s
    WHERE s.ref = m.ref) ;

  • What is the Active Sync functionality? Also, what is the Priority Hub?

    What is the  Active Sync functionality in the Blackberry Q5?
    Also. I would like to know how to make sure that my emails are displayed promptly, i.e., that there is no lag...Would there be some sort of priority setting like the Priority Hub (I wonder what the Priority Hub is)
    Thanks

    http://en.wikipedia.org/wiki/Exchange_ActiveSync
    EAS is the best way to get email along with PIM sync options.
    Its push email sort of but with a heart beat to mail server
    about Priority hub
    http://docs.blackberry.com/en/smartphone_users/deliverables/55574/mwa1372084676021.jsp
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • How can I print ONLY the active document?

    Whenever I go to File/Print the darn PSE 9 program sends all of the working files in the bin to the printer. I've searched online for 2 hours now looking for an answer.
    I like to work with having several to many files in the 'bin' and prefer to only print the active file I'm currently working on without having to close the 'working files' before I can print. How can I print ONLY the active document or file in the project bin? Please help, I've upgraded from PSE 3 to PSE 9 and really like the updated features, but this one pain in the neck default is getting the best of me.

    Thanks for your help, that works nicely. It is good to have control of the printer again.

  • For some reason, I cannot change my desktop background no matter how many times I delete the "active" folder.  It's as if it's locked.  Any ideas how I can fix it?

    For some reason, I cannot change my desktop background no matter how many times I delete the "active" folder.  It's as if it's locked.  Any ideas how I can fix it?

    Yes it sounds like you have a corrupted preference file.
    The setting you make in individual programs get saved to a Preference file in your Users/Library/Preferences folder.
    All you have to do is drag out the old file to the desktop, reboot and load the program and the preference file gets rebuilt without your preferences which you reset.
    For your case I beleive the preference file is
    com.apple.desktop.plist

  • Can't get mobile device to auto configure the active sync server

    Hello
    I am trying to get my costumer mobile devices to auto configure the active sync server name so they don't have to type it in. I believe I have everything in place Certificates are fine. I populated the external url on the active sync
    object in Exchange.
    DNS is set up correct. I ran the Exchange Connectivity Analyzer and it runs perfectly. The only test step if fails on is the first attempt to contact the autodiscover service using just the domain name and that is because we have a
    record in DNS so our domain name points to our public web server but all the other tests run fine. At the end, it even displays the xml file contents and shows me the external url of the active sync object.
    I get a successful run but it first shows SSL certifiate of our public Web site and then hangs on the server config and then prompts me to enter in the server name and domain. My external url in Exchange looks like this:
    https://remote.domain.com/Microsoft-Server-ActiveSync
    Any Help??
    Eddie

    Thank you for replaying but there is already internal A record that points to Exchange server. Firewall, DNS external and internal are setup like this:
    Firewall:
    Port 443 and 25 points to Internal IP of our Exchange 2013 (only mail server in company).
    Port 80 not open.
    External DNS records:
    autodiscover.mydomain.com à points to our WAN IP
    remote.mydomain.com à points to our WAN IP
    mydomain.com à points to external online webhosting
    Internal DNS records:
    autodiscover.mydomain.com à points to ours Exchange 2013 internal IP
    Remote.mydomain.com à points to ours Exchange 2013 internal IP
    mydomain.com à points to external online webhosting
    Test form "ExchangeConnectivityTest.com" is Successful but with warnings.
    Warnings are about https://mydomain.com/AutoDiscover/AutoDiscover.XML
    because
    https://mydomain.com is
    pointing to website, which is hosted externally.
    Eddie

  • Error on the activation server

    Keeps having the following error reported when trying to authorize my PC with Adobe Digital Editions: Error on the activation server". My Adobe ID and password are correct. Anyone know what to do? this has been going on for days.

    Digital Editions 2.0 doesn't work properly with some eReaders. 
    With my Sony, not only did the copy protection prevent copy to the Sony,
    but while the Sony was plugged in it prevented me reading the books using ADE on the PC.
    Once the Sony was unplugged, the books could again be read on the PC.
    It may be worth trying with v1.7.2 instead; certainly is if you find symptoms as I just described.
    Version 1.7.2 is a little difficult to find, available on Adobe site for Windows and for Mac.
    http://helpx.adobe.com/digital-editions/kb/cant-install-digital-editio ns.html
    also for PC at http://www.tucows.com/preview/853736/Adobe-Digital-Edition-For-EBooks

  • How do I deactivate all the activations of my PocketBook device from my digital ID

    I have a reader PocketBook IQ701. When I started to move borrowed books tro the device, I moved the ACSM file to the device directly and then opened the file on the device. I was asked to enter ID, and authorization was OK, but the book was not readable. I had to reboot the device, to start over. I did this or similare a couple of times before I got the message "E_ACT_TOO_MANY_ACTIVATIONS". Then I found out to start (the right way) from the PC with digital editions, but when I tried to authorize the device, I again got the message "E_ACT_TOO_MANY_ACTIVATIONS ...". How do I deactivate all the activations of my PocketBook device from my ID.
    I have used another email-adress to create a new Digital ID, and used this to make it work, but I would rather use my own email adress, which I also use with my smartphone and the Bluefire reader.

    Digital Editions help people are supposed to be able to reset your
    counters.  However, you have to be persistent - this is NOT a problem that
    will be resolved if you buy HELP time because the product is free.  And
    most of the tech's I've talked to won't do anything because they've been
    set up to do product support for those Adobe products that you pay money
    for.
    Be persistent.....
    ===============

  • SInce updating my iphone 5S to ios 8, iTunes shuts down during the app sync process. Any ideas how to fix? I now have the newest version of itunes on my laptop and it still shuts down.

    Since updating my iphone 5s software to ios 8, iTunes shuts down everytime in the app sync process. I have the most current version of Itunes on my laptop. Any ideas of how to fix?

    I feel its more of my sync drivers for itunes/iphone not working if that makes sense. Its not my itunes that stops responding, its more of that if the phone syncs up it fails to anything further.
    I've tried sync another iphone to the same itunes and windows autoplayer will allow the photos sorted on the iphone to be saved to the laptop but itunes won't even recongise the device is plugged in.
    Although it will charge the battery

  • Re-Start Active Sync process where ever it was left

    I was forced to delete the SA runner active sync process. By this time the process completed 200 records.
    Now I want to re-start the Async process from 201 record.
    Any ideas how to achieve this?
    THanks.

    ActiveSync sorts by the uniqueId for each record.
    1) Backup the full files as you will need to copy back over the modified files for processing a subset of the records
    2) Make sure the ActiveSync & FFAS files are sorted correctly
    3) delete the 200 records that processed already such that the 201 is the beginning
    4) Before processing the diffs of the modified ActiveSync & FFAS files you need to complete a processing of the modified FFAS file without any diffs (ActiveSync = FFAS). This tricks AS into starting at the 201 without reprocessing the 1st 200.
    5) Now process the modified ActiveSync against the modified FFAS.
    6) On completion set both the modified files back to the saved full AS so all records exist for future executions

  • Active Sync process "hanging"

    Hi Experts,
    Last weekend an Acticve Sync task "hung" for 2 days. The Active Sync is scheduled to start every 24 hours at 8:30am.
    This morning however its status was "Started, executing" yet nothing was being logged. I would expect something as its log level is 4.
    The last time the AS was started was Friday but having the task in this state prevented the Saturday or Sunday morning runs from being executed.
    The only way to recover was to reset IdM by restarting the webserver.
    What circumstances could cause Active Sync to 'hang' like this?
    Has anyone else suffered this sort of situation and if so was the cause determined?
    Any hints or tips appreciated.

    We have experienced this behavior on a fairly frequent basis with our Active Directory Active Sync processes.
    We are not sure why the system behaves this way.
    We are in the habit of manually monitor the active sync jobs on a daily basis.
    We have the log level set to 2 on our 11 Active Directory resources.
    We view the timestamps on the log files to determine if the Active Syncs are truly running.
    Our 11 Active Directories run every 3 hours. I note this because the time stamp on the log files should be older than 3 hours (in our case) if the Active Sync (A/S) process is truly not running.
    Here is our process when restarting the A/S.
    1. Make sure the Task SARunner:<Active Directory Resource> is running.
    a. Go to the Tasks form and get a list of All Tasks.
    b. Find the SARunner:<Active Directory Resource>. If this task is not running then you need not read any further because you will need to recycle your Websever to get the Active Syncs to run.
    2. If the Task is running.
    a. Go into Debug and edit the Active Directory Resource.
    b. Change the Polling Start Time and Polling Start Date to the desired start time. Note: Set the start time at least 10 minutes into the future. So if at 11 am your making the change then set the polling start time to 11:10 (at a min.)
    b.     Save the changes.
    3. Navigate to the resources form.
    a. Stop the Active Sync
    b. Refresh the Active Sync
    c. Start the Active Sync
    d. Refresh the Active Sync.
    Good Luck.

Maybe you are looking for

  • How to close JFileChooser dialog only while using ESC key ?

    Hi All, I am using a Frame and from this frame i am calling the JFileChooser via a JButton. and using JFileChooser ShowOpenDialog() for open and close . while doing ESC operation my Main Frame is getting closed with JFileChooser dialog. Can i close o

  • Ideas for a new product: Combining RMI, JMS, ...

    Hello! I am an experienced Java programmer trying to think of a mid-sized (i.e., less than 10,000 lines of code) project that uses remote computing (RMI and the like) and JMS to create a product that would be of frequent utility. I have some ideas bu

  • Airport Express extending network needs to be restarted daily

    I'm having a really annoying problem with my Airport network. Here's the configuration: Den: Latest generation simultaneous Dual-Band Airport Extreme Living Room: older 802.11g Airport Express used only for AirPlay Office: older 802.11n Airport Expre

  • How do I scan a doc then edit.

    How do I scan a doc then edit.

  • Maximum allowable input for select-options

    Hi All,     Can we enter any number of values in select-options on the selection screen. What is the limit on the number of values that can be given for select options. For example if the limit for a select-options field is 100000 and if i want to gi