Set last reconcilaition time in my custom reconciliation task

Hi everyone,
I have implemented a custom HR trusted user reconciliation task and job.
I executed this task successfully and I can get users.
I have an task attribute, name of this attribute is LastReconciliationTime.
But I could not set last reconciliation attribute in reconciliation java task.
I tried to use this:
HashMap hashmap = new HashMap();
hashmap.put("Task Scheduler.Key", String.valueOf(schedulerKey));
hashmap.put("Task Scheduler.Task Attributes.Name", "LastReconciliationTime");
But I cannot get my new custom task scheduler task key.
Because there is not my task in TSK or TSH tables.
How can I set this attribute?
Thanks.
Best Regards.

Try to first search for you sch task:
hashMap.put("Task Scheduler.Name", scheduleTaskName);
tcSchOperations.findScheduleTasks(hashMap);
Get sch key from above results...getLongValue("Task Scheduler.Key")
and tcSchOperations.getScheduleTaskAttributes(taskSchedulerKey) to get sch task attributes
Iterate over task attributes by:  .getStringValue("Task Scheduler.Task Attributes.Name")
and find your attr and get attr key : getLongValue("Task Scheduler.Task Attributes.Key")
Construct a  update hashmap  with ..put("Task Scheduler.Task Attributes.Name", your attr name);
Update sch task with : tcSchOperations .updateScheduleTaskAttribute(taskSchedulerKey, attributeKey, updateMap);
Hope this helps

Similar Messages

  • Custom HR Database Reconciliation Task

    Hi everyone,
    I have custom resource.
    I have implemented custom reconciliation task, and I upload this.
    I have implemented custom scheduler config file of this task,then uploaded this to MDS.
    My task has this code :
    reconService.createReconciliationEvent(resourceObject, dataMap, true);
    dataMap is hashMap and have all data that I want to reconcile.
    I want to use a reconciliation attribute map.
    I prepared this recon lookup. I want to execute reconcilation via recon lookup.
    Is there anything that I have to do?
    Thanks.
    Best regards.

    Try to first search for you sch task:
    hashMap.put("Task Scheduler.Name", scheduleTaskName);
    tcSchOperations.findScheduleTasks(hashMap);
    Get sch key from above results...getLongValue("Task Scheduler.Key")
    and tcSchOperations.getScheduleTaskAttributes(taskSchedulerKey) to get sch task attributes
    Iterate over task attributes by:  .getStringValue("Task Scheduler.Task Attributes.Name")
    and find your attr and get attr key : getLongValue("Task Scheduler.Task Attributes.Key")
    Construct a  update hashmap  with ..put("Task Scheduler.Task Attributes.Name", your attr name);
    Update sch task with : tcSchOperations .updateScheduleTaskAttribute(taskSchedulerKey, attributeKey, updateMap);
    Hope this helps

  • The last few times I imported photos, the backup location was set to "documents" with no sub-folders. How do I get them into sub-folders - like year and month?

    the last few times I imported photos, the backup location was set to "documents" with no sub-folders. How do I get them into sub-folders - like year and month?

    Use the Subfolder pulldown to set the subfolders:

  • Running a java program a set number of times

    This is a general question. Is it possible to make a java program run only 5 times for the sake of arguement.
    Basically I want to write a program that will give the user some flexibility when it will actually run another Java program, but I only want them to be able to say "not now' for a set number of times. When the last time comes the other program will launch. I was initially thinking of the Do Whilw loop, but this needs to work when the program is restarted.
    Program starts, it has 5 times it will run before it does something else(doesn't really matter now I think). User takes option "Not Now" and the program ends, but warns the user this will run 4 more times before you will need to do something.
    This process will repeat until the user takes the option "Ok install now" or the time limit expires and the install occurs anyway. Can someone point me in the right direction.

    ok I see so it's like one those programs that you download for free on the internet and they give you a set amount times to use it before you have to pay for it. but in this case when the number of times you use it equals 5 (or when the user clicks ok) a different java app will open automatically.
    My first thought would be to Write a Serialized object to disk using objectOutputStream that stores the number of times the application has been opened. and each time the program runs it checks for the serialized object and then you can do something like what I posted before. of course if were worried about security the user could always look for the object and erase it, if so then I guess we would have to come up with another plan of attack
    Hope this helps

  • ITunes Last Played time off by 1 Hour

    Hi Guyz,
    I am on SE Asia Time (GMT+7) and my PC clock is set correctly, but every time I play song in iTUnes, it's Last Played time is off (earlier) by exactly 1 Hour.
    Anyone why it's doing that.
    Example
    Now it's 18:27 and the song will say last played 17:27
    Strange
    Thanks

    Hi Ed2345,
    Thanks for taking the time to reply
    I just did a "recheck Windows Update" and the only missing (hidden) updates are
    http://support.microsoft.com/kb/2709981 (Something to do with WMP 12 and DVD)
    http://support.microsoft.com/kb/2592687 (Something to do with RDP 8.0)
    and silverlight and language packs
    I will keep you informed if the US of A Time change solved my Promprem
    Edit: // Maybe iTunes 11 solves everything

  • I downloaded the iCloud control panel on my PC but can't sign in - message says "This apple ID is valid but not an iCloud account. I've tried the account set up several times but it keeps just spinning me in circles. Can you help?

    I downloaded the iCloud control panel on my PC but can't sign in - message says "This apple ID is valid but not an iCloud account. I've tried the account set up several times but it keeps just spinning me in circles, asking me to sign in and then I get the same message again. This is getting frustrating and I really don't seem to be able to get help. I can't contact customer support because I have a PC and there is a serial number of an apple device required.Can anyone help please?

    You can't setup (create) an iCloud account using a PC. You must use an Apple device, a Mac or an iPhone etc. Once you have created an account you can sign in from your PC.

  • I have an issue syncing my iPhone 4 with itunes. This has only happened the last few times i have tried but don't know how to resolve it. Please help.

    Hi, the last few times i have tried to sync my iPhone 4 to my itunes it won't work. I plug my phone into my computer, to sync any new pictures i have taken or add my new music i have bought on my phone, and hit sync. It appears to start syncing then an error message appears saying the following:
    The iPhone 'my iPhone' cannot be synced. You do not have enough access privileges for this operation.
    I'm not sure what this means or why this keeps happening. I have the latest iTunes and i have not done anything different. It appears to have wiped some of my music from my iPhone and a number of my photo albums off. Please can someone help or advise how i resolve this issue. Thanks. 

    When you set up iOS7 the second screen specifically asks that you create a four digit code .
    That's what you now need to re-enter in your phone.
    Once entered you can go to system/general/Passcode lock
    Re-enter the same code and choose turn Passcode off
    iOS 7 has been designed to enforce minimum passcode security by default or in the case of the new 5s use of finger print level security.

  • Folders last modified time stamp are not updated in Windows 7

    After changing any .cpp file in Visual Studio, the last modified time stamp for the file's folder
    IS NOT updated. What's happening ?
    However when I change a Word (.docx) file, the last modified time stamp for the file's folder
    IS updated ! How come ?

    Hi,
    If you thought this issue gets worse and if you have already set NtfsDisblesLastAccessUpdate to 0, then please revoke it to 1.
    From the above Blog we can see that in Windows 7, the "Last Modified" field on log files is not updated when a program attempts to open the file or the utility is stopped, this is a design change to NTFS , becase we cache the metadata for
    folder contents and do not refresh it until a handle is closed on an open file or an explicit call is made to retrieve the properties of an individual file.
    Per your current issue that even if you closed these Vistual Studio files, the timestamp still didn't update. Please try the following and check whether any of them work:
    - open the file in a second program
    - view the proprties of the file
    - "dir <filename>" at a command prompt 
    In addition, if you edit these Vistual Studio files with Notepad(Before doing that, please close all the programs include Vistual Studio) and try to reproduce the issue, does the issue still occur?
    Regards,
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • GR processing time can be customer based

    Hi,
       Would like to know whether for  GR Processing Time can be customer based instead of setup in Material master?
       Please kindly advise. Thanks
    Regards,
    shirley

    Hi There
    What you meant by shortage,,,
    AV- Available date,
    GR- Availble date+GR processing time
    if you have not set up the GR processing time in Master, it may come as ZERO days,, so AV and GR date may be same,,
    if this is not your quesry, please provide more details on your query,,,
    Thanks
    Senthil

  • Solution manager last action time

    Dear Expert,
    I know in crm_dno_monitor have on column show "Change On"-it show the last action for complete the ticket.
    Now my concern is in crm_dno_monitor, is there any posibility to show on last reply time? i mean the consultant last reply solution to customer while the ticket haven close yet.
    As after consultant send solution then might wait for long time until customer close the ticket. So it will longer our resolution time.
    Please advice any solution for that as might enhance on crm_dno_monitor?
    Thanks
    regards,
    ng chong chuan

    hi,
    1. first you copy the profile and then you add (or copy the action)
    for support message we use SLFN0001 but I guess for AI_SDK_STANDARD this is about the same.
    the developer has developed his own ( method ) implementation of the badi EXEC_METHODCALL_PPF
    filter PPFDFLTVAL with a new filter value Z_SET_LAST_SOLUTION_TIME (something like that in your case)
    if you have 3 fields Just add some coding like
        lv_value-guid             = lv_guid_ref.
        lv_value-ZZCUSTOMER_H0101 = ls_customer_h-ZZCUSTOMER_H0101.
        lv_value-ZZCUSTOMER_H0102 = 'Xxxxxxx'.
       lv_value-ZZCUSTOMER_H0103 =  post time. (ask a programmer to define the write code)
    2. just add the new field(s) as new attribute
    3. I don't understand your question. Your programmer needs more info ? I am not a programmer and I can't help you further, if he knows programming he should know how to implement a new method
    Note : All of this is working if you schedule the action under the right condition via customizing or directly by Calling transaction SPPFCADM and select CRMD_ORDER , select your action profile
    br Xavier

  • Performance hit implementing last authentication time (pwdKeppLastAuthTime)

    I have a DSEE 6.1 installation running on solaris 10.
    There are about 100 users in the directory, but soon to have another 3000 added as it is properly productionized.
    I notice there is a warning that pwdKeepLastAuthTime feature is not activated by default as it adds an update for each successful bind operation.
    I wanted to enable this so set:
    dsconf set-server-prop pwd-keep-last-auth-time-enabled:on
    This has resulted in the db size <instance>/db increasing 100 fold from ~10mb to ~1gb.
    The memory size is now at ~800mb.
    Is this expected behaviour?

    /opt/ds/db" > ls -l
    total 137126
    -rw------- 1 nobody nobody 24576 Oct 31 09:21 __db.001
    -rw------- 1 nobody nobody 10264576 Nov 13 00:53 __db.002
    -rw------- 1 nobody nobody 41951232 Nov 13 00:53 __db.003
    -rw------- 1 nobody nobody 1572864 Nov 13 00:53 __db.004
    -rw------- 1 nobody nobody 11313152 Nov 13 00:53 __db.005
    -rw------- 1 nobody nobody 65536 Nov 13 00:53 __db.006
    -rw------- 1 nobody nobody 38 May 31 16:16 DBVERSION
    -rw------- 1 nobody nobody 10485760 Nov 13 09:02 log.0000001204
    drwx------ 2 nobody nobody 1536 Sep 6 12:07 zeus
    "/opt/ds/db" > du -sk *
    24 __db.001
    10032 __db.002
    41000 __db.003
    1544 __db.004
    11056 __db.005
    64 __db.006
    1 DBVERSION
    4904 log.0000001204
    1339315 zeus
    opt/ds/db/zeus" > ls -l
    total 2678626
    -rw------- 1 nobody nobody 1369350144 Nov 13 09:03 cl5dc_zeus_dc_ghsewn_dc_com463ff1cb000000010000.db3
    -rw------- 1 nobody nobody 38 Jun 1 11:55 DBVERSION
    -rw------- 1 nobody nobody 16384 Jun 21 12:47 zeus_aci.db3
    -rw------- 1 nobody nobody 16384 Oct 31 09:37 zeus_ancestorid.db3
    -rw------- 1 nobody nobody 81920 Oct 31 09:37 zeus_cn.db3
    -rw------- 1 nobody nobody 32768 Oct 31 09:37 zeus_entrydn.db3
    -rw------- 1 nobody nobody 16384 Oct 31 09:37 zeus_gidnumber.db3
    -rw------- 1 nobody nobody 909312 Nov 13 09:03 zeus_id2entry.db3
    -rw------- 1 nobody nobody 16384 Aug 10 14:52 zeus_nisnetgrouptriple.db3
    -rw------- 1 nobody nobody 16384 Nov 7 09:38 zeus_nscpEntryDN.db3
    -rw------- 1 nobody nobody 16384 Jun 1 11:57 zeus_nsds5ReplConflict.db3
    -rw------- 1 nobody nobody 16384 Oct 31 09:37 zeus_nsRoleDN.db3
    -rw------- 1 nobody nobody 40960 Nov 7 09:38 zeus_nsuniqueid.db3
    -rw------- 1 nobody nobody 16384 Jun 13 11:26 zeus_numsubordinates.db3
    -rw------- 1 nobody nobody 24576 Nov 7 09:38 zeus_objectclass.db3
    -rw------- 1 nobody nobody 16384 Oct 31 09:37 zeus_parentid.db3
    -rw------- 1 nobody nobody 16384 Nov 11 16:18 zeus_pwdaccountlockedtime.db3
    -rw------- 1 nobody nobody 16384 Nov 12 15:00 zeus_pwdfailuretime.db3
    -rw------- 1 nobody nobody 16384 Nov 9 11:46 zeus_pwdgraceusetime.db3
    -rw------- 1 nobody nobody 16384 Jun 20 16:07 zeus_sn.db3
    -rw------- 1 nobody nobody 16384 Jun 20 09:50 zeus_sudoUser.db3
    -rw------- 1 nobody nobody 16384 Oct 31 09:37 zeus_uid.db3
    -rw------- 1 nobody nobody 16384 Oct 31 09:37 zeus_uidNumber.db3
    -rw------- 1 nobody nobody 16384 Oct 24 13:03 zeus_vlv#zeusghsewncomgetgrent.db3
    -rw------- 1 nobody nobody 16384 Aug 10 14:52 zeus_vlv#zeusghsewncomgetngrpent.db3
    -rw------- 1 nobody nobody 16384 Nov 13 08:57 zeus_vlv#zeusghsewncomgetpwent.db3
    -rw------- 1 nobody nobody 16384 Nov 13 08:57 zeus_vlv#zeusghsewncomgetspent.db3
    "/opt/ds/db/zeus" > du -sk *
    1337920 cl5dc_zeus_dc_ghsewn_dc_com463ff1cb000000010000.db3
    1 DBVERSION
    16 zeus_aci.db3
    16 zeus_ancestorid.db3
    80 zeus_cn.db3
    32 zeus_entrydn.db3
    16 zeus_gidnumber.db3
    896 zeus_id2entry.db3
    16 zeus_nisnetgrouptriple.db3
    16 zeus_nscpEntryDN.db3
    16 zeus_nsds5ReplConflict.db3
    16 zeus_nsRoleDN.db3
    40 zeus_nsuniqueid.db3
    16 zeus_numsubordinates.db3
    24 zeus_objectclass.db3
    16 zeus_parentid.db3
    16 zeus_pwdaccountlockedtime.db3
    16 zeus_pwdfailuretime.db3
    16 zeus_pwdgraceusetime.db3
    16 zeus_sn.db3
    16 zeus_sudoUser.db3
    16 zeus_uid.db3
    16 zeus_uidNumber.db3
    16 zeus_vlv#zeusghsewncomgetgrent.db3
    16 zeus_vlv#zeusghsewncomgetngrpent.db3
    16 zeus_vlv#zeusghsewncomgetpwent.db3
    16 zeus_vlv#zeusghsewncomgetspent.db3

  • Retreiving the last amount billed to a customer (dynamically in the Query)

    Hi,
    I want to retrieve the last amount billed to a customer.
    For example :
    r/3 data :
    Customer____Billing date__Amount
    1___________04/04/2006____5000
    1___________05/05/2006____1200
    2___________03/04/2006____400
    The result i would like to get in the report :
    Customer___Amount
    1__________1200
    2___________400
    I tried many ways including Key figures agreg. Exception.
    Do you have any suggestion ?
    best regards,
    ludo
    Message was edited by: Ludovic Julen
    Message was edited by: Ludovic Julen

    Hi,
    The date of the data loading has no impact on the selection of the last value. In december, you can load the historical data of 2005, 2004 and 2003. The data will be stamped on 2005, 2004 or 2003 (dates of reference from the documents).
    So, in your case, the query would give you the first load as a result of the last value. But you are using 0CALDAY in your example. Of course, you would not be able to use 0CALMONTH in such scenario, because you do not bill only once a month.
    Now, please notice that the last value is based as well on the execution of the query. Is your query analyzing all december? Imagine that your query is filtered from 01.12.2006 to 14.12.2006, then you get only the second load.
    This is a double setting.
    Regards
    Laurent

  • Scan not updating the "last reboot time"

    how frequently do you have your scans set to run?

    Hi
    I’m running SW 7.4.00070 and my scans aren’t updating the "last reboot time". If I run a “rescan” on each individual workstation then the last reboot time gets updated correctly. This information has become important in our installation since we are running Windows 8.1 on all our workstations. 
    What's going wrong?
    Any clues would be helpful.
    Thanks
    This topic first appeared in the Spiceworks Community

  • [fsck] Superblock last write time is in the future

    Hello,
    I have HARDWARECLOCK="localtime" in my rc.conf but every time I reboot I get the below fsck error
    Superblock last write time is in the future
    then I am required to enter root password to get a shell. I usually fix the issue by remounting the root partition as read-write and rebooting. Strangely, on next reboot fsck will fix the issue, run a complete fsck and then give me my Arch Linux.
    Some notes:
    1) I have always had this last write time issue, but previously (1 month ago?) fsck just fixed it and continued the boot process, didn't stop asking me the root password
    2) if I use 'rw' in the kernel command-line I can never boot because it always stops asking for root password, even after running fsck through a livecd, so I am currently using 'ro'
    Has somebody any clue about this problem?
    My relevant fstab line is:
    LABEL=LINUX / ext3 defaults,noatime 0 1
    Thanks
    Last edited by legolas558 (2009-10-06 10:59:43)

    Ramses de Norre wrote:I encountered this too and I worked around it by setting my bios clock to my system time, it was a month off. I never encountered this issue before though and I guess this is a bug in some program (fsck?).
    So until this is fixed, try setting your bios clock to the same time your system's at. And maybe file a bug.
    This is not a solution! There is a reason if I keep localtime in my system, and no I am not going to change it because of a bug. That's Windows solutions, not Linux.
    Some bug reports found with uncle Google:
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540575
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343662
    https://bugs.launchpad.net/ubuntu/+sour … bug/427822

  • How to set up a label control from custom event handler?

    Hi,
    Below I try to describe my problem:
    I have a single instance of MyClass (I use Cairngorm framework), with ArrayCollection as a variable, in which I would like to keep a couple addresses from database.
    Additionaly  I created a custom components with a list of people retrieved from database, with eventhandler  for a doubleclick event. After I doubleclick on some person, I create a custom event and dispatch it. In command class connected with this event I connect to the database and get full data about this person and a set of her addresses. This set of addresses I placed into ArrayCollection in my model variable. And now I have a problem, because one of this address (the birth place) I would like to display below the list with persons, in a Panel with a couple of label control, but .... I can't to bind label control to my model.addresses[???] because I don't know if this doubleclicked person has this birth address at all?
    I wonder if it is possible to set up label control in my custom components in time when I'm receiving the data from database in my custom event handler???
    One of the way to achieve this is to define a string var in my model and placed this special address in it, and then the label control to this variable, for instance {model.birthplace}, but this is only needed for a moment, I don't want to keep this address in extra variable in model, because I have already it in my ArrayCollection in model, so it would be a duplicate.
    I hope that you could understand me and my english :-)
    Best regards

    Looks like I migh not be a novice swing programmer for long then.

Maybe you are looking for

  • Lots of blank space when printing array with only last element printed

    I have a slight problem I have been trying to figure it out for days but can't see where my problem is, its probably staring me in the face but just can't seem to see it. I am trying to print out my 2 dimensional array outdie my try block. Inside the

  • From purchase order to miro

    hi experts i have an purchase order and i am in MIRO screen. i need the get same tax code from PO to MIRO document. but i couldnt find this control in costomizing .When i in MIRO ,  how can i get the same  tax code information with purchase order to

  • Date problem in the Planning Run

    Hi,        I have a demand(FA) of 50 on 23.7.2007 and stock is initial say for the product P at location L. When I execute the planning a Distribution Receipt (Planned) is created for the quantity 50 on 26.07.2007 (Planned delivery time  = 0, GR proc

  • How to tell if SMC firmware is installed properly...

    Hi I live a bit far from my Apple Store so I thought I'd ask on the forum before I did the whole Genius Bar - back- and - forth trip. I recently had my logic board replaced along with a rattling fan. After which i found my MBP (2.16 core duo from las

  • Discoverer 3.1.41 User Edition

    When I use "Totals" to set up sub totals in a report I get unreliable results. It appears to create the subtotals randomly. Some total breaks will show a total line, while others will only show a line and not print the total.