Deferred task date change problem

Hi,
Every user in IDM has a deferred task as shown below. The requirement is to change the 'Date' value to set the time as 23:59:59.00Z.
At the moment different users have different times set for them. All need to be same as mentioned above. Please assist me in this with a faster way as there are more than 5K users.
<Object name='WF - Expire Contractor'>
<Attribute name='authorized' value='true'/>
<Attribute name='date'>
<Date>2011-04-14T06:00:00.000Z</Date>
</Attribute>
<Attribute name='executeOnce' value='true'/>
<Attribute name='owner' value='C670635'/>
<Attribute name='subject' value='ProxyAdmin'/>
<Attribute name='task' value='WF - Expire Contractor'/>
</Object>
Thanks,
Santoshanand

A code in xpress would be of great help.But much more lines of code :-(
I am not sure if we have any already existing java or need to write
a new one. So, I think writing a custom workflow will be a good way.I avoid writing XPRESS code unless it is absolutely necessary, so here I cannot help you :-( I think a
stand-alone Java program of ~20 lines would complete your task.
Also, task.setStartDate(<the date>); requires a date object. Problem
here is to set the time to 23:59 for the same date.
(new SimpleDateFormat("yyyy-MM-dd hh:mm")).parse("2011-04-14 23:59", new ParsePosition(0));

Similar Messages

  • Bulk load to change deferred task date

    We initially loaded users with password expirations and a defered task we created to send them emails starting 15 days before the password expires. We want to move these dates out. Can we do a bulk load and change the dates?
    Thanks,
    Larry

    the deferred task scanner is expensive too. so much so in fact, that we dont use it. in fact, we keep a users "nextTaskDate" as a queriable attribute, which lets us get a result set of users that have tasks on that date. no more iterating through the users to find them. with this, its much easier to do what i had reccommended earlier.
    --Dana                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Deferred Task Date - Issue

    Hello,
    I am attaching to deferred to a user object, for the date argument I am adding 2 hours to the current time. In the workflow trace I see the date argument is returning correctly i.e. adding 2 hours to the current time, but when I see the user object (from debug pages) it is adding additional 5 hours (including the 2hours) for the date argument.
    It looks like by default it is adding additional 5 hours and not sure how to control this.
    Did anybody come across a similar issue? I think it is not a code issue, some configuration settings I need to change and don't know where to change this.
    Please share any ideas.
    Thanks in advance.

    Yes, the deferred tasks show a time in comparison with the GMT. So, I think your code is correct, it just shows the different time in the user object, but actually it is the addition of 2 hours to it (considering GMT).
    e.g. If you are in India, it shows 6 hours latter time in the user object than the current.
    Your local time - 2011-04-08T00:00:00.000Z
    Time in debug pages - 2011-04-08T06:00:00.000Z
    When you add 2 hours to this, it shows 2011-04-08T08:00:00.000Z in Debug, BUT in fact it is 2011-04-08T02:00:00.000Z
    Thanks

  • Date change problem on 6110 Navigator

    Hi,
    On Sat morning I noticed my phone had not changed date and still showed Fridays date, yet the time was correct. I changed the date to Sat, and again on Sunday I noticed the same thing - still showed Saturdays date. On Monday and other days of the week the date changes correctly to the next day.
    I tried setting the clock to 23h59 on Friday and watched the date change to Saturday correctly. I also tried this with the phone off and it was correct. Yet if I leave it to run its course there is a problem.
    Can't find any help with this on the net and hoping someone else has experienced this and knows how to fix it. I have the latest firmware for this phone.

    Mine is set to off and always has been. I don't know if my network actually broadcasts time / date for update anyway.
    Either way the phone is OFF when the date change is supposed to happen so cannot get incorrect time from network.
    I have also tested with the phone off. i.e. Set time to 23h59 on Friday, switched off phone and when I switched it back on again the date was correct. Don't know what the difference is between this and just leaving it to run as normal. Its all too weird.

  • Batch date change problem in iPhoto

    I have hundreds of printed photos I scanned in 2009. Even though they were taken over three decades iPhoto thinks they were all taken in 2009. I separated them into years, numbered them, and put them in folders which became events. I tried using batch date change -- the first one in the event is OK, but the others changed  all different. Example: I changed picture one, in event folder "1999" from 3/5/2009 to 1/1/1999. All of the rest of the pictures changed to the same time difference that they were when I scanned them. I didn't scan them all in chronological order, so that doesn't help at all. Do I have to manually change each of my 9000 photos? This is a problem when I try to show a chronological slide show on Apple TV.

    Scanned photos do not have an EXIF Capture Date field in the file like photos taken with a digital camera do.  Therefore iPhoto uses the file created date or import date for those photos.
    You will have to group all 1999 photos into an album, arrange them in the order you want and then use the Photos ➙ Batch Change ➙ Date menu option and add a 1 minute or so between photos.
    Then do the same for the next year's photos.
    OT

  • ORDERS05 IDOC - ZTERM "Critical credit data changed" problem

    Hello everyone!
    I have configured a scenario where XI sends an IDOC (ORDERS.ORDERS05) to an SAP system to create a Sales Order (SO).
    I have a problem with the Payment Terms (...EDI_DC40/ZTERM) field. Whenever I send an SO with the ZTERM field mapped, I get an error "Critical credit data changed" and as a result, the SO is not created; however, when I leave the field blank, the message goes through successfully.
    Apparently, a popup saying "Critical credit data changed" shows even when creating SOs manually. My question is this, is there any way I can bypass this message through XI, so that I can create the SO with the ZTERM field populated? Are there any qualifiers I should be looking into?
    Looking forward to your responses!
    Warm regards,
    Glenn

    Hello Anil,
    Thank you very much for your reply! Unfortunately, that configuration is part of the auto credit checking. When I create SOs manually and change the payment terms field, a popup says "Critical credit data changed", I can simply tick the 'check' mark and the SO saves. However, if the SO is sent via XI, the popup causes an error. Is there any information we can provide in the IDOC so that it bypasses those kinds of popup messages?

  • IPhoto Time/Date Change problem

    There is one particular event in my iPhoto program that registered the wrong date when downloaded.  In trying to change it, the program automatically sets the date about 130 years earlier, regardless of what date I type in.  It only happens with this one file.  I have had to change others and they have worked fine.  Does anyone know how I can fix this problem?  After repeated attempts, I'm back to the 1600s!

    How are you trying to change the date? iPhoto has two methods - "Photos > Adjust Date and Time" and "Photos > Batch Change > Set Date and Time".
    If you not yet have tried "Batch Change", try if that will help, if you use the option "Modify Original File".
    Only "Batch Change" will set all selected photos to the same date and time, with an optional increment. So you to correct the images in groups of photos taken at the same time.
    Regards
    Léonie

  • Back date change problem in run result

    Dear Experts,
    Navigate:
    Work Structure>Organization>Description
    i implement organization structure Jan 2010 in R12 HRMS Global . now change appear in organization structure effective date Jan2011. but this change not done till date in system. i date track to 01-Jan-2011 and create new organization structure (Work Structure>Organization>Description) & attach to employees assignments by opening all old pay periods (Payroll>Description) from jan 11 to aug 11. now when i run payroll the run result cannot match our hard copies payslip tht ws run in jan 11.(before change of organization structure)
    i am new dont know if the above way is rite or wrong?
    i confuse ...not kno what is cause?
    plz help urgently!
    Edited by: 890115 on Oct 21, 2011 3:44 AM

    You will have to explain the steps properly -
    What is it that you want to achieve ?
    What is it that you have done, so far ?
    Unless others in the forum understand what you want to convey, it is really difficult to expect responses.
    So, help others to help you :)
    cheers,
    VB

  • BADI n-step SC approval - Approval Index and Data Change Problems

    Dear forum gurus,
    We are implementing SRM 5.0 (SRM SERVER 5.5 SP 9) in Extended classic. I am developing the BADI's to use the n-step SC approval workflow WS14000133.
    Our approval process is as follows:
    1. Cost Centre approver (based on CC with the largest value in the SC)
    2. Financial approver (based on the total value of the SC)
    I have done this now and it works as long as every step is approved!
    I have implemented the BADI 'BBP_WFL_EMPL_WI_BADI' - method 'CHECK_REQUESTER_WI' to send back any changes to the cost centre to the shopper to review. The standard also sends back total value changes to the shopper in the same way.
    My problem is that if the main CC or the total value of the SC are changed, the logic goes back to the shopper and then if the shopper 'Accepts changes', the logic skips the first apporver again and goes directly to the second (financial approver).
    I think there are 2 options:
    1. After the shopper accepts chnages, to restart the WF so a new WF template is generated. Then my logic will show the new CC and FI approvers again.
    2. I change my logic in the 'GET_REMAING_APPROVERS' method so the apporval index is not assumed to be 1 or 2 only. I guess I will have to work with logic to read the history and apporval index, but this seems very complex.
    Option 1 - I can't get this to work. After the shopper accepts changes I can't get the WF to restart in the 'BBP_WFL_SECUR_BADI'.
    Has anyone fixed this?
    Option 2 - The logic for checking apporval index and apporval history tables seems to me very complex. Has anyone done this and can they explain the logic to me if so? The problem here is that the sample code for this BADI assumes the approval indexis always 1 for the first step and 2 for the second step, but this is not the case!
    Thanks in advance,
    Best regards,
    Nick

    Hi,
    I feel setting the parameter BBP_WFL_SECURITY  for the Approver should do the trick.i.e. Restart the workflow adn the same approval process should be followed again.So plese adjust the value of this parameter for the Approver role in trascn PFCG.Also if you want to overwrite the settings of this paramtere(as maintained in PFCG),you can implement the BADI "BBP_WFL_SECUR_BADI".
    For  more info,refer  the foll links:
    http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Date change problem in Calendar object

    Hi i have a calendar object for date representation.
    When i need to go ahead a day i use a add method that adds a day to the Calendar object, and if the date is out of range it adjustes proerly to the next montha and proper date in that next month.
    But it fails for 2 instances in a year.
    From May to June and From October to November.
    This i think is happenning because of the Daylight saving times in the May and October.
    I try to go from May to June but it never does on it's own !! Do i have to explicitly check that for those 2 months or there is any other method ?
    How can i get over it ??
    Please help me with this.
    Shailendra

    Hi
    There may be some other reason for it, coz Day light savings starts in last week of March, not in May.
    And day light savings ends in Last week of October
    Suresh

  • Documents "Modifed Date" changes just by opening?

    We're seeing that Word, Excel & various other doc's change their "Date Modified" to today's date where they are ONLY opened...not modified.
    All we're doing is opening and closing, no changes....
    Is this a Micro$oft issue or can I change a preference somewhere??
    many thanks

    After seeing that the date-change problem seems to happen when you look at a document to which you have group access, but you aren't the owner of it, I just tried marking a similar document "read-only" using the Workgroup manager, then I went back to my desktop machine, opened it in Word, closed it again, responded 'no' to the dialog question about saving, and this time the date didn't change - and there was no MS Word error message..
    I'm haven't tested what happens if you try to do the same in finder from a client machine -- of course, usng Work Group manager that way is not really a practical solution.
    Also I'm going to see if the problem happens with a non MS Office application.

  • IDM 6 defered task scanner problem

    I have two taskdefinitions. "Taskone" and "Tasktwo". I set up two scheduler through defer task scanner to run these two tasks on different time a day. And there are two users, one is registed with Taskone, the other with Tasktwo with same date but different task name. Here is one of user's perperty in user object
    <Properties>
    <Property name='tasks'>
    <List>
    <Object name='Taskone'>
    <Attribute name='date' value='05/18/2007'/>
    <Attribute name='task' value='Taskone'/>
    </Object>
    </Property>
    </Properties>
    The problem is that when the first schuduler ran, it should just run all the user who has "Taskone" but it also ran the Tasktwo that were scheduler to run today. Is it IDM bug?

    The deferred task scanner is time dependent rather than Taskname dependent. All it cares is that if your task date attribute matches the same system date, then it will execute the task.
    The only variation you can make is to the Object Type under the Task Parameters which you can set to 'resource' rather than 'user', so that the scanner not go through your user objects.
    I don't think it's a bug because the behaviour has been like this since v5.5 and v7.0

  • Is anyone else having problems with an iPhone 6 delivery date changing on them?

    I sat up until 12:01am to pre order (2) iPhone 6's and (2) iPhone 6 +'s and they had a delivery date of 9/19 for both of the phones at the time I logged on to Verizon's preorder site. The system would not allow me to log in as an existing customer but it would allow me to order as a new customer. I kept trying to order new phones as an existing customer on two different computers and three different browsers without any luck. I finally decided to order them as a new customer and the order went right through the Verizon system without any problem. Two minutes later I received an email from Verizon requesting that I call them as soon as possible to complete the order. I called in and spoke to a rep that explained that I already was an existing customer and that I would need to use the "Existing Customer" preorder link. I explained the issues I was having and she said that I would still need to use that system when it was available. So I tried the existing customer link and it now let me through but the date for the iPhone 6 plus had slipped to 10/7 (It is now 1:30 am). I completed the transaction and it stated 9/19 delivery for iPhone 6 and 10/7 for the iPhone Plus. However once I received the email confirmation it stated that the delivery date for the phones was 10/7. I called Verizon customer service and stated my concern about the later delivery date for the iPhone 6 and they told me that the iPhone 6's would arrive on the 19th and the pluses would arrive on 10/7 so I did not change my order. This morning 9/19 8:00am I called in to inquire about my shipping confirmation numbers for the (2) iPhone 6's and the customer service rep (Robanya) told me that he would call me back at 1:00pm PST and give me the shipping confirmation numbers. He asked specifically which phone number he should call me back on and I gave him my cell number. After not receiving a call back from Robanya, I called Verizon customer service at 5:30pm and spoke Ryan James and he confirmed that the orders were placed on the 12th of Sept and that one system showed all of them due to be delivered 10/7. After insisting that Robanya that I spoke with earlier in the day said they were shipping today, Ryan got off the phone for 5-10 mins and then got back on and said that the iPhone 6's shipped yesterday on the 18th but he did not have a confirmation number. After pressing him that someone should have this confirmation number in Verizon he stated that the delivery dates were subject to change and that all the phones would probably ship on 10/7 and left it at that.
    So after loosing sleep to pre order phones on Verizon, speaking with (3) different Verizon reps, I am rewarded by having my delivery date changed to 10/7 on my iPhone 6's which is the same delivery date they were quoting yesterday 9/18.
    Did any one else have the same disappointing experience that I had?

    Yes, pre-ordered iPhone 6 with a guaranteed delivery date of 19 September; took screen shots after the order just to have record of it.
    Called Verizon 18 Sept because I hadn't received a tracking number yet, and was informed my phone would now ship 7 October.  When I expressed that was different than what was promised and had proof, a manager came on the phone and confirmed that I should have a 19 Sept delivery date based on their records.  She told me however she could not confirm when my order would ship.
    19 Sept came and went with no phone delivery.  I have tried calling Verizon, posting here, and posting on their FB page for customer service.  Every rep I talked to (except for the first manager on 18 Sept) has been unable to admit that they mislabeled their product sales page, and mislead the customer.  One rep told me the guaranteed delivery date was an "estimate"; when I asked her to show me on the website where it uses the term "estimate", she admitted it didn't communicate that, but still was unable to utter the words "we made a mistake".
    VZW needs to take a 101 class in customer service and crises management; rule #1 is if you screw up, admit it!  I know I am not going to get my iPhone as promised, but pretending like there is nothing wrong with that customer service experience is just making things worse. Not a single employee I have communicated with to date has attempted to do anything proactive to correct or mitigate the customer failure.  I am truly amazed at how poorly VZW has been handling this to date; again (removed) happens with supply/demand, website errors, etc, but the failure to acknowledge how the screw up shafted a lot of (formally) loyal long time customers is criminal.
    >> Edited to comply with the Verizon Wireless Terms of Service <<
    Edited by:  Verizon Moderator

  • Problem writing meta data changes in xmp in spite of enabled settings

    Dear Adobe Community
    After struggling with this for two full days and one night, you are my last hope before I give up and migrate to Aperture instead.
    I am having problems with Lightroom 5 writing meta data changes into xmp and including development settings in JPEG, inspite of having ticked all three boxed in catalog settings.
    In spite of having checked all boxes, Lightroom refused to actually perform the actions. I allowed the save action to take a lot longer than the saving indicator showed was needed, but regardless of this no edits made in the photo would be visible outside Lightroom. I also tried unticking and ticking and restarting my compute.
    Therefore, I uninstalled the program and the reinstalled it again (the trial version both times). I added about 5000 images to Lightroom (i.e. referenced). After having made a couple of changes for one photo in development settings, I tried closing the program. However, then this message was then displayed:
    I left the program open and running for about 5-5 hours, then tried closing the program, but the message still came up so I closed the program and restarted the computer. I tried making changes to another photo, saving and then closing and the same message comes up. The program also becomes unresponsive, and of course still no meta data has been saved to the photo, i.e. when opening it outside Lightroom, the edits of the photos is not shown.
    What do do? I would greatly appreciate any insights, since I have now completely hit the wall.
    Oh yes, that´s right:
    What version of Lightroom? Include the minor version number (e.g., Lighroom 4 with the 4.1 update).
    Lightroom 5.3
    Have you installed the recent updates? (If not, you should. They fix a lot of problems.)
    I installed the program two days ago and then for the second time today.
    What operating system? This should include specific minor version numbers, like "Mac OSX v10.6.8"---not just "Mac".
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
    What kind(s) of image file(s)? When talking about camera raw files, include the model of camera.
    JPEG
    If you are getting error message(s), what is the full text of the error message(s)?
    Please see screen dumps above
    What were you doing when the problem occurred?
    Trying to save metadata + trying to open images that it seemed I had saved meta data to
    Has this ever worked before?
    No
    What other software are you running?
    For some time Chrome, Firefox, Itunes. Then I closed all other software.
    Tell us about your computer hardware. How much RAM is installed?  How much free space is on your system (C:) drive?
    4 GB 1333 MHz DDR3
    Has this ever worked before?  If so, do you recall any changes you made to Lightroom, such as adding Plug-ins, presets, etc.?  Did you make any changes to your system, such as updating hardware, printers or drivers, or installing/uninstalling any programs?
    No, the problems have been there all the time.

    AnnaK wrote:
    Hi Rob
    I think you succeeded in partly convincing me. : ) I think I will go for a non-destrucitve program like LR when I am back in Sweden, but will opt for a destructive one for now.  Unfortuntately, I have an Olypmus- so judging from your comment NX2 might not be for me.
    Hi AnnaK (see below).
    AnnaK wrote:
    My old snaps are JPEG, but I recently upgraded to an Olympus e-pl5 and will notw (edited by RC) start shooting RAW.
    Note: I edited your statement: I assume you meant now instead of not.
    If you start shooting raw, then you're gonna need a raw processor, regardless of what the next step in the process will be. And there are none better for this purpose than Lightroom, in my opinion. As has been said, you can export those back to Lightroom as jpeg then delete the raws, if storage is a major issue, or convert to Lossy DNG. Both of those options assume you're willing to adopt a non-destructive workflow, from there on out anyway (not an absolute requirement, but probably makes the most sense). It's generally a bad idea to edit a jpeg then resave it as a jpeg, because quality gets progressively worse every time you do that. Still, it's what I (and everybody else) did for years before Lightroom, and if you want to adopt such a workflow then yeah: you'll need a destructive editor that you like (or as I said, you can continue to use Lightroom in that fashion, by exporting new jpegs and deleting originals - really? that's how you want to go???). Reminder: NX2 works great on jpegs, and so is still very much a candidate in my mind - my biggest reservation in recommending it is uncertainty of it's future (it's kinda in limbo right now).
    AnnaK wrote:
    Rob Cole wrote:
    There is a plugin which will automatically delete originals upon export, but relying on plugins makes for additional complication too.
    Which plugin is this?
    Exportant (the option is invisible by default, but can be made visible by editing a text config file). To be clear: I do not recommend using Exportant for this purpose until after you've got everything else setup and functioning, and even then it would be worth reconsidering.
    AnnaK wrote:
    Rob Cole wrote:
    What I do is auto-publish to all consumption destinations after each round of edits, but that takes more space.
    How do you do this?
    Via Publish Services.
    PS - I also use features in 'Publish Service Assistant' and 'Change Manager' plugins (for complete automation), but most people just select publish collections and/or sets and click 'Publish' - if you only have a few collections/services it's convenient enough.
    AnnaK wrote:
    Would you happen to have any tips on which plugins I may want to use together with Photoshop Elements?
    No - sorry, maybe somebody else does.
    Did I get 'em all?
    Rob

  • Dates appear different in log file vs. debug page for Deferred Task

    I added a deferred task and in the log file, the date appeared correctly as
    Mon Dec 15 16:34:11 PST 2008
    But when I viewed the user in the debug page, the date appeared as
    <Date>2008-12-16T00:34:11.430Z</Date>
    I called an external java class that return a Date object
    <Action id='0' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='addDeferredTask'/>
    <Argument name='date'>
    <invoke name='addWeekDays' class='MyDateUtil'/>
    </Argument>
    </Action>
    Do you have any ideas?

    IDM commonly stores dates in a Java or JDBC date format (which is what your debug date is) but often formats the date differently for log files and for web pages. It's annoying if you're trying to line two different outputs up.

Maybe you are looking for

  • How to print table items in column in smartform in 4.6c version.

    Hi Experts, I want to print the items i have in columns (like name invoice number) in smartforms but when i create table in main window there no options for header footer and main area, i have created the template for header and footer but how i prin

  • It is possible to transmit voice from a Headset Microphone to Iphone5?

    I am planning to run Yoga classes in the near future and will need a headset microphone so my class can hear me clearly. I would like to use my Iphone5 in a speaker dock and was wondering if I could transmit sound from a  (preferably) wireless headse

  • Error In JCO Destination Creation

    Hi, I'm creating JCO Destination in Web Dynpro for Java. While finishing the JCO Destination wizard it shows a error as follows: Root Cause The initial exception that caused the request to fail, was: java.lang.IndexOutOfBoundsException: Index: 0, Siz

  • Out of Sync Audio after capturing video

    I have a video that I captured that the audio is in sync during the capture by using audo preview but, when view it in the view window, the words are out of sync from her lips. The video was recorded on my sony pd150, 48k audio, and Im using prostudi

  • Downloaded Mountain Lion and it caused major problems

    Down loaded Mountian Lion and caused major problems long story short had to reinstall Leopard then Lion but I lost my iTunes library. I thought if you had icloud you could recover you library. Or just log into iTunes and your library would appear. Ap