GP: How to wait a specific number of days?

Hello everybody,
I am searching for an idea how to create a step in my Guided Procedures process which waits until a specific day (or a number of days from it's start).
I have thought about implementing a Java Callable Object which waits until completing the step - but I fear to create a lot of server load with that.
Does anyone have a different idea?
Maybe there is a way to use due days and a loop?
Thanks for any suggestion
Ingo

Hi,
I think you can do it :
STEP A - Complete
STEP B - Waiting
STEP C - After complete B
You can developer a Job that uses Guided Procedure API (http://help.sap.com/saphelp_nwce10/helpdata/en/44/0d3e1626821c9de10000000a11466f/content.htm) to complete STEP B, based on creation date. This Job can execute on each hour, 15 minutes, day. Or on way that you need.
So, after execute JOB and a step was select, complete it, so STEP C was activated.
JOBS on NetWeaver CE: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90a95132-8785-2b10-bda5-90d82a76431e
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10fed553-0e01-0010-9bb8-ed55659e1236
Other Job alternative: Java Quartz, CRON
Best regards

Similar Messages

  • How can I create a manual activity that waits a specific number of seconds

    Hi
    I need to create a manual activity that waits a specific number of seconds. Is there a way to do that?
    Regards

    If you have a manual activity (Human Task) and you would like to define a task deadline in order to continue the process you can define it in the task definition as desribed here: Configuring Human Tasks - 11g Release 1 (11.1.1.6.1)
    But if you just like to stop the process without manual activities involved you can ideed use the Timer Catch Event. See section "6.8.2 Introduction to the Timer Catch Event" in Modeling Business Processes with Oracle BPM for further details.
    Regards, Danilo

  • How do you show the number of days per month?

    How do you show the number of days per month?
    I am working on a budget.  I want to know how much to amortize each month to fund an investment.  Income comes monthly, but expenses leave in days, or weeks.  The number of days and weeks in months vary. 
    I want to figure out income and expenses per day, per month and per year, so I know how much can be invested each month, week or day.  For a start I would like a formula that shows how many days are in each month?

    thanks..
    I solve my problem as
    public class MyExample {
        public static void main(String a[]) {
            String stdate = "2009-03-01";
            java.sql.Date currentDate = new java.sql.Date(System.currentTimeMillis());
            java.sql.Date preDate = java.sql.Date.valueOf(stdate);
            System.out.println(currentDate);
            System.out.println(preDate);
    //        int dateCom = preDate.compareTo(currentDate);
    //        System.out.println(dateCom);
            long diff = currentDate.getTime() - preDate.getTime();
            int days = (int) Math.floor(diff / (24 * 60 * 60 * 1000));
             System.out.println(days);
    }

  • I am trying to locate an email that I deleted and assume should be in the trash.  However my trash now only goes back a few days - how can I increase the number of days the trash remains accessible for

    I am trying to locate an email that I deleted and assume should be in the trash.  However my trash now only goes back a few days - how can I increase the number of days the trash remains accessible for.

    StevieJ wrote:
    I am trying to locate an email that I deleted and assume should be in the trash.  However my trash now only goes back a few days - how can I increase the number of days the trash remains accessible for.
    Check Mail Preferences, Accounts tab. Select the account, then the Mailbox Behaviors tab. See if you have it set to Permanently erase deleted messages when: One week old. (or less)

  • I wanted to know how do you calculate the number of days between two dates

    i wanted to know how do you calculate the number of days between two dates in java ? i get both the dates from the database. i guess there are many issues like leap year and Febuary having diff no of months ..etc.

    thanks..
    I solve my problem as
    public class MyExample {
        public static void main(String a[]) {
            String stdate = "2009-03-01";
            java.sql.Date currentDate = new java.sql.Date(System.currentTimeMillis());
            java.sql.Date preDate = java.sql.Date.valueOf(stdate);
            System.out.println(currentDate);
            System.out.println(preDate);
    //        int dateCom = preDate.compareTo(currentDate);
    //        System.out.println(dateCom);
            long diff = currentDate.getTime() - preDate.getTime();
            int days = (int) Math.floor(diff / (24 * 60 * 60 * 1000));
             System.out.println(days);
    }

  • How to wait until setPage(number) is finished

    SR 3-8311228061
    When calling getStrings, found I need to iterate the pages of the doc/xls/etc
    However Autovue Support tells me that setPage() is asynchronous
    I asked how to wait until setPage() is complete, they suggested I post the question here
    Note, at the time its called the viewer (desktop version 20.2.2) is on the task tray, but not rendering the document
    Its only loaded to extract the text
    here is the blip of code
    for( curPage = 1; curPage <= pages; curPage++)
    vueBean.setPage( curPage ); //its necessary to call setPage even for page 1
    //If setpage fails stop (per Daniel/Oracle)
    int thisPage = vueBean.getPage();
    if( curPage != thisPage )
    //This message never shows up
    String msg = String.format("Pages[%d] thisPage[%d] curPage[%d] ", pages, thisPage, curPage);
    AdeptApplication.INSTANCE.publishEvent("file-event", msg,
    new SystemEvent(this.fileName, "GETTEXT_PAGEFAILED"));
    break;

    The code you have is to know whether changing pages succeeded or not, and unless you are trying to set a page number that is out of the page count it will always succeed
    So, yes, your test is the same as if (false)
    Now, page loading is done in an asynchronous manner
    1. you ensure that the page (the container for all the page artifacts) is created, synchronously
    2. the page content are streamed on another thread
    3. once the page is loaded, an event is sent VueEvent(VueEvent.FILEEVENT, VueEvent.ONPAGELOADED)
    So you should be able to query for info after you received the page loaded event
    Now, word documents are an special kind of documents, so you need to be aware of some specific issues.
    The same way ms-word does not know the total number of pages until the ENTIRE document is loaded, AutoVue will not be able to notify you either.
    And as Word, AutoVue allows you to display the pages that are already loaded, and you may query for some of its contents too.  BUT you can not query for page info when the page is been loaded (or obviously not yet loaded)
    The loading is a 2 phase one, part is done on the server (native code) and part is on the java side (display)
    So you will not be able to iterate
    for( curPage = 1; curPage <= pages; curPage++)
    simply because page count is not known.  You need to query doc info more than once.
    If page count = -1, you need to iterate for each page and then, test whether setPage() != getPage() and/or page count has been updated.

  • How to avoid crosstab - Show number of days according to groups

    Morning all,
    I think you all would agree with me that even having crosstab as a great tool in Crystal 2008, there are still quite allot of limitations to it.
    I have created a report using crosstab which shows number of days and jobs according to those days grouped by account number, product code, sales area. This report is working fine until my director asked me to further group those days according to sub categories of lenses.
    For example
    Crosstab shows
    Number of days - Day 1,day 2, day 3
    Number of jobs - 111----123--1213
    Percentage - -
    12%---34% 60%
    Now if you look at the example it says day 1, 111 jobs went out. What the director would like to see is those jobs being sub divided into types of lenses.
    So out of 111 jobs, 25 would be Finished lenses, 30 could be uncut lenses and so on.
    The new report should be like this
    Number of days -
    Day1---Day2---Day3
    Number of Jobs:-
    Finished -
    25--34-----23
    Uncut--3045-----23
    AR--7056-----76
    Total----125135----122
    Percentage:-
    Finished -
    25%--34%-----23%
    Uncut--30%45%-----23%
    AR--70%56%-----76%
    Total----100%100%----100%
    Now if we look at the above criteria it seems that I have to use groups even further down the report where I am using crosstab at the moment. This means I have to get rid of the crosstab and run a report manually.
    However the big question is, how to get the report calculating number of days and jobs according to customer account number, product code and sales area manually?
    I tried the following formula but this requires to write way too many formulas, for example some of the jobs have taken more than 60 days and if i use this formula I have to write 60 formulas for number of days which is not feasable.
    **//provided by IIbas in another forum**
    whileprintingrecords;
    numbervar day0;
    numbervar day1;
    numbervar day2;
    if {@workingdays} = 0 then
    day0 := day0 + 1 else
    if {@workingdays} = 1 then
    day1 := day1 + 1 else
    if {@workingdays} = 2 then
    day2 := day2 + 1 else //up to the maximum number of days.
    Then in the report footer, reference the days in separate formulas, and identify them with text boxes, e.g.,
    //{@day0};
    whileprintingrecords;
    numbervar day0;
    I can sort out the Finished, uncut,AR by grouping them however I am wondering how to create a manual running total of jobs complying with number of days without using crosstab.
    Any ideas?
    Many thanks
    Regards
    Jehanzeb

    no answer closing

  • How can I subract a number of days from the sysdate() ?

    I need to display a date that is a certain number of days older than the current date.
    I tried <?xdoxslt:sysdate('yyyy-MM-dd') - 7?> but I get an error.
    Any suggestions would be appreciated.

    I coded this:
    test date : <?xdoxslt:ora_format_date_offset(xdoxslt:sysdate(),7, '-')?>
    I got this:
    test date : 110908 -- today's date, no offset.
    What did I do wrong?
    I got it to work using <?xdoxslt:sysdate() - 7?> (I removed the formatting from the sysdate), but the date format is 110901, not the most common for displaying purposes.
    Any useful hints on how to format the resulting date?

  • How can you lower the number of days in IOS8 iPhotos deleted

    In IOS8 photos deleted stay for 30 days. Can you lower the number of days?

    To answer your Subject (rather than the body of your post)
    To get the number of controls, and refs to each, etc, you can combine a
    couple of example VIs and a little index finger grease to make a VI that
    does what you want:
    Help menu >> Find Examples
    Find Example Dialog >>Browse tab
    Programmatically controlling VIs
    Manipulating Applications and VI settings
    Edit Multiple VI Setups.vi
    New Examples for LabVIEW 6.1
    Queues
    Queue Control Seek.vi
    If these two VIs are put in a mixer and shaken (not stirred) you might come
    up with something that tastes write.
    Mike Ashe
    "GL" wrote in message
    news:[email protected]..
    > I need to convert llb from 6i to 6.1 and I am unable to, I beli
    eve
    > because I have to many controls and indicators in the llb.

  • How to Add a Specific Number to a Field

    Hello, I'm using a fillable Adobe PDF and I need Field "B" to be the total of Field "A" plus .11. What's the right calculation for that? What I'm doing isn't working. Thanks!

    Do you get any errors in the JavaScript console?
    I get the following error:
    Acrobat JavaScript Debugger Functions Version 11.0
    Acrobat EScript Built-in Functions Version 11.0
    Acrobat SOAP 11.0
    SyntaxError: missing ; before statement
    2:Field:Calculate
    Because the Simplified field notation is the front end for obtaining parameters for a JavaScript function it must parse the entry and does this by looking for spaces to separate field names, operators, and values.
    There is a naming standard for field names which must start with an alphabetic character followed any alphanumeric character and cannot include spaces, punctuation marks, or other special characters. You need to rename your field or do some special coding to allow the Simplified field nation to accept the field name.

  • Browsing history in Firefox 17 - can I keep this for a specific number of days?

    Earlier versions of Firefox would let us specify how long to keep browsing history, and would then automatically clear out anything older than that. I can't find this option in Firefox 17. I've been having serious problems with FF, with frequent and lengthy pauses, which I finally traced to there being far too much browsing history being held. When I cleared out all browsing history, it seems to have resolved itself (crossing fingers). For the record: I had also tried starting in Safe Mode (w addons disabled), defragging my hard drive, radically reducing the number of open tabs, etc. Clearing browsing history was the only thing that made a difference.
    Can we setup FF so that it will automatically clear out old browsing history? It seems to be all-or-nothing in Tools > Options > Privacy. I have FF clear out the cache every time I close it, but I don't want to clear out all history; just past a certain time (e.g. 90 days). I'm aware that I can manage this manually through History on the main menu, but I would rather this happen automatically.
    Thanks in advance for the help with this.

    Some developers drop by on occasion, but most developers see problems only when filed on the Bugzilla tracking system:
    https://bugzilla.mozilla.org/
    I found another add-on to consider which is more automated but users seem to have mixed results:
    https://addons.mozilla.org/en-US/firefox/addon/expire-history-by-days/
    Edit: I note another user was having all history deleted after 60 days, but the cause wasn't identified. [https://support.mozilla.org/en-US/questions/944129 How do I get Firefox to save history indefinitely? Right now I am losing history older than 2 months.]

  • How do I reduce the number of days of e-mails showing up in my inbox?

    I have my gmail account linked to my iphone 6 plus and currently it downloads all my e-mails...1000s... pretty sure it's draining my battery. I want to reduce the number of e-mails showing in my inbox... so that only e-mails received in the last couple of days or last 1 week show in my inbox. I'm hoping someone can help me set this up? Thanks in advance!

    I have my gmail account linked to my iphone 6 plus and currently it downloads all my e-mails...1000s... pretty sure it's draining my battery. I want to reduce the number of e-mails showing in my inbox... so that only e-mails received in the last couple of days or last 1 week show in my inbox. I'm hoping someone can help me set this up? Thanks in advance!

  • How can I set the number of day that FF remembers a visited site?

    Using FF 8, a visited site link turns color to show it has been visited. I would like to have that color go back to normal after 14 days. In other words, I want FF to remember that I visited a site by turning the link a different color for only 14 days. Right now it seems to last forever. The link never changes back to normal, so I can't easily tell when I was last on the site.
    I do use sync.
    I looked through the about:config, but don't seem to be able to find a pref that will do this.

    You can do it manually if you like with code in the Error Console.
    Copy and paste the code in the Code field in the Error Console and click the Evaluate button.
    *Firefox/Tools > Web Development > Error Console (Shift+CtrL+J)
    See http://kb.mozillazine.org/User:Dickvl/JavaScript_Error_Console#Expire_History_By_Days

  • Create alert for users not login in R12 for specific number of  days

    Dear experts
    we have R12.1.1 .
    i want to create auto alert for users who dont login to R12 application for defined period e.g 30 days .
    please tell me that can i implement this ?
    Regards

    i want to create auto alert for users who dont login to R12 application for defined period e.g 30 days .
    please tell me that can i implement this ?You can use Oracle Alert to do this. To check when was the last time the user logged in to the application, query FND_USER.LAST_LOGON_DATE (for example, SYSDATE - LAST_LOGON_DATE > 30).
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_USER&c_owner=APPLSYS&c_type=TABLE
    Thanks,
    Hussein

  • Getting a specific number of rows

    Hi,
    I would like to know how to get a specific number of rows. For example, I want to page data in my web application, so I'd like to be able to retrieve just 25 rows in my SELECT statement. I searched and I couldn't see anything under the obvious keywords of LIMIT and TOP (as used by other database vendors) so I'm wondering if possible, what do I need to do - a pointer to the relevant documentation would be helpful also.

    You can achieve this with rownum
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/pseudocolumns009.htm#i1006297
    Best regards
    Maxim

Maybe you are looking for

  • Problem EJB - Java Proxy XI

    Hi, I have created a receiver java proxy asynchronous interface. The Message Interface inbound is a Idoc. I have used the How to… Work with XI 3.0 Java Proxies https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8

  • URL filtering problem

    Hi! I'm trying to set up local url filterin in my 881 router. However I can not use the parameter-map type urlfpolicy local ... command because there is no urlfpolicy type in the cli. cisco(config)#parameter-map type ?   consent        Parameter type

  • WMCATO - cancel TO

    Hi, I have created a Transfer Order which will send to an External System.  SAP creates an IDOC of type WMTOID01 message type WMTORD. Next, we want to cancel the TO, and also send that information to an external system.  I have the cancellation IDOC

  • Explaination of error in vi analyzer

    If a control is placed in an event structure to execute the event, I dont see why I should be asked to put it outside the event structure or perhaps I haven't really understood what "placing on top level diagram means". Can anybody explain following

  • Hi guys, a game I'm trying to play keeps unexpectedly closing every time I try to play. When I try reopening, the same thing keeps popping up so I don't really know how to fix that problem. Can you help?

    Hi guys, a game I'm trying to play keeps unexpectedly closing every time I try to play. When I try reopening, the same thing keeps popping up so I don't really know how to fix that problem. Can you help?