Process Chain - triggering sub chains at set time interval

Hi all,
Scenario:
I want to setup multiple process chains during the day (hourly intervals).  I would like to have a main chain which would then trigger subsequent chains.  the problem is that when i tried to setup the sub-chains to run at say, 10am. 11am etc, they don't fire off at those specified times (because they are part of the meta chain?).  I currently have the individual chains running independently (i.e. first chain at 10am, 2nd chain at 11am...) - but i need to be able to stop the 2nd chain from running if there is a problem on the 1st chain (which is why i want to run them as part of a Meta chain).
Hope this makes sense - and any help/assistance is much appreciated!  Thanks
M.

Do you know how long 1st PC will run ? will it finish before 11 am ?
If so,  try following proess
Add Abap Program process(under General Services) to the end of the 1st PC  and use program BTC_EVENT_RAISE and Enter Program variant = event  and activate the PC
Now go to 2nd PC and schedule at 11 am periodically
Add another step Interrupt Process (u can find under General Services ) just after start process and enter event and schedule the pc
When 1st Pc completes sucessfully it will activate the event to trigger 2nd PC , though the event is activated the 2nd pc will start at 11am
Hope it's clear!

Similar Messages

  • Set Time Interval with custom fields in generic list with view(SPViewCollection.SPViewType.Calendar)

    I need to set time interval range with custom date fields in sharepoint view SPViewCollection.SPViewType.Calendar. How to do that?
    My code is this:
    System.Collections.Specialized.StringCollection viewFields = new System.Collections.Specialized.StringCollection();
    viewFields.Add("FechaInicio");
    viewFields.Add("FechaFin");
    string query = @"<Query>
    <Where>
    <DateRangesOverlap>
    <FieldRef Name=""FechaInicio"" />
    <FieldRef Name=""FechaFin"" />
    <FieldRef Name=""RecurrenceID"" />
    <Value Type=""DateTime"">
    <Week />
    </Value>
    </DateRangesOverlap>
    </Where>
    </Query>";
    SPView newView = reserva.Views.Add("CalendarView", viewFields, query, 0, true, true, SPViewCollection.SPViewType.Calendar, false);
    "FechaInicio" and "FechaFinal" ara datetime fields in my generic list.
    Thanks.

    Hi,
    According to your post, my understanding is that you want to see the calendar view begin and end time for the time interval.
    We can use the SharePoint Manager to view the internal name for the begin and end time for the time interval.
    Open SharePoint Manager 2013->click your site->click
    Lists->select your list name->click Views->select your calendar view name->click the
    Schema Xml to check the internal name for the time interval begin and end.
    We can download the SharePoint Manager in here:
    http://spm.codeplex.com/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Set Time interval

    Hi all
    I need a help here..am doing an application in jsp..i got struck in a position where i have not done that before
    There are multiple users in my application..for each user the time allotement is 9am to 4pm...after 4 it should automatically logout and the admin can increase the time interval say upto 5..so that he can work til 5pm...
    how can i do this...while logging also it should check the time

    Well this calls in for adoption of a new solution stratergy.
    If i were i'd start with the below things.
    1).In the database i'd define a table which would have colums like authKey,userId,logoutTime & createDate
    2).Would not set any value for session time out value.
    3).Now you'd have a admin interface from where you can change logoutTime parameter to something which is higher of what was allocated by default.
    4).Now,i'd design the login strategies using respective database entity / table i have defined as above.(How do you do that should be entierly on the way you have your requirements)
    I believe the above points are good enough for you start designing a login stratergy yourself.If you still have issues within it i strongly believe you should look towdars someone who can give you Consulting Solutions in terms implementing design.Which most of the people can do that but not @free of cost.

  • Process Chain Triggers Multiple times

    Hi All,
    I have Meta process chain say ZAAA  which has multiple Local Chains example ZBBB , ZCCC and ZDDD. .This Local chain ZCCC trigger multiple times of  in one day . we had a issues today  with deactivation of Transformations and DTP in different levels because of that Local Process chain ZCCC is failed along with other process chains . when I reach to ZCCC started by repeat or repair ,before Local Chain ZCCC finished whole process ,ZCCC triggers second time .
    Now first times  triggered process chain ZCCC is in  yellow , and second time triggered process chain ZCCC gone through all the way to gree ,  and Meta chain showes red.
    what I have do make Meta chain green.
    Regards
    Hari

    Hi Hari,
    I wonder what you mean by below statement:
    one of the sub pc still yellow first time trigger and went to red and second time trigger whole process is green. all Sub PC are green
    For the sub pc mentioned above, you trigger it all over again? Or you repeat/repair the step failed?
    If you trigger it the second times all over again it is a new run and the first run remain fail,ed so the meta chain will never get green, if you want to make the meta chain green, you need to repeat/repair the step failed in first run.
    Regards
    Bill

  • Trigger Process chain at set time or when an event is raised.

    Hi All,
             I have a requirement where a process chain should get scheduled at fix time, say at 1:00 AM. Also, it should get scheduled when an event is raised by one BSP application. So, its like Set time OR Event should trigger the chain. Can you please guide, how can i implement this without using a special SM37 job?
    Thanks and Regards,
    Harpal

    Hi Gohil,
    The steps to create an event is as follows:
    1. Create the event with SM62.
    2. In the process chain, maintain your Start process. In the change selections screen, choose the button 'After event'. On the bottom, select your event. Click also on 'Periodic job'.
    3. Activate and schedule your process chain. It will then be visible in SM37, waiting for the event.
    4. Then you may raise this event from any ABAP program with function module BP_EVENT_RAISE. Each time you raise the event the process chain will start. You can raise the event also manually with SM64.
    If you want to fix a time i.e., at 1:00 A.M, you need to got RSPC tcode --> click on the chain --> right click on Start variant --> Click on maintain variant --> Change selections --> Click on Date/Time --> Give the date and time.
    If you want to ru7n your chain daily or weekly like periodically, check Periodic Job and click on "Period Values" and select accordingly. Now save everything and click on start variant and activate and schedule your chain.
    Also check below thread for more info on Event:
    Triggering a Process Chain From R/3 pgm
    Regards,
    KK.

  • Set time for process chain

    Hi,
    I have requirement to set maximum time to run the process chain.
    For example:
    Process chain is starting daily at 10 PM and taking time 1hr 30 min to complete process. Some times it is taking 2-3 hours to complete process.
    So I need to set max. time 2 hours to complete process chain. If not completed with in 2 hours (before 12PM), then the process chain should be cancelled.
    Please help me in this regard.
    Thanks,
    Hari

    Hi,
    you can set the varaiant and schedule the max time in the variant for process chain.For the scheduled jobs in SM37, pls chk this link;
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a8009505211d189550000e829fbbd/content.htm
    Hope this helps,
    Regards
    CSM Reddy

  • How to stop process chain if it yellow for long time

    hello all,
    I see that my process chain is running for long time and is yellow for more than last 24 hours now. I can see where the chain is stuck(not going ahead).
    What do we normally do in such scenarios?
    Also one more question I have is about delete PSA request process variant. Can i use the same variant in two different process chains, is yes than do I have to include the name of the PSA tables that are in both the process chains. When the variant runs in 1st chain does it delete the PSA tables from the second chain as well..(i hope i made this clear)
    Thanks in advance

    Once you have done with your init load manually. Then in case it was just the start of the process in ur Process Chain then first remove the chain from schedule and then go to the start process of the process chain and save the setting for immediate, uncheck the periodic box and save and then come out of the screen and then execute and activate the chain.
    Note:
    1. Before changing the setting in the start process make a note of the start time and also its periodic value.
    2. Once the chain is completed then change the setting in the start process back to previous start time and periodic value.
    3. Don’t forget to save and activate the chain.
    Regards,
    Rohini

  • Process Chain Triggered automatically when transported to test system

    Hi All,
    We modified several process chain and transported the process chain to Test system.
    Few Process chain triggered automatically as the varient was set to immediate in development system.
    Now we want to move the process chain to production. Do we need
    1. new transport request with the variant to future date and discard the transport request which created issues
    2. New transport request with the variant to future date and transport the new along with the old transport to production system
    3. Change the start date in Test system and transport the same request to production
    Kindly advice me on the action to be taken.

    >
    > Hi All,
    >
    > We modified several process chain and transported the process chain to Test system.
    > Few Process chain triggered automatically as the varient was set to immediate in development system.
    > Now we want to move the process chain to production. Do we need
    >
    > 1. new transport request with the variant to future date and discard the transport request which created issues
    > 2. New transport request with the variant to future date and transport the new along with the old transport to production system
    > 3. Change the start date in Test system and transport the same request to production
    >
    > Kindly advice me on the action to be taken.
    Regarding 2: When the old transport is imported into production the start will be set to immediately and the process chain will execute. You should not use this option.
    Regarding 3: Changing in Test system will not affect the content of the transport, it will still be the same as released from Dev.
    We have avoided this annoying problem with process chains being executed when transports are imported by creating a "parent" process chain that simply triggers the process chain in question. This "parent" chain should not be transported. You then set the start option for the original process chain to "start by API/Event" then you can transport the original process chain whenever you want without any risk of the process chain being executed.
    Regards,
    Lars

  • Event in Sub Chain

    Hello,
    i have a master process chain which contains several sub process chains.
    The master process chain ist triggered from an event.
    My question know is:
    Is it possible to start a sub chain from another event?
    Greetings
    Oliver

    Hi Oliver,
    what do mean by an other event?
    All chains are started via a start process. There you define when the chain is triggered. Sub chains are triggered by an event (successfull or not). You can find this event in the table RSPCCHAIN to your master chain.
    If the process chain is exceuted a BI_PROCESS_TRIGGER job is scheduled and executed. Each step in the chain is a new job which will be scheduled and executed according to the entries in the RSPCCHAIN. So the steps wait for an event to be fired. You can start a subchain by ABAP via function module RSPC_API_CHAIN_START and schedule this ABAP.
    Hope it helps.
    Regards,
    Jürgen

  • Greyed out fields not triggering ON CHAIN-REQUEST

    Hi Guys,
    I have a text box on a screen with input not possible (greyed box). But the value of that text box can be changed by clicking a button in the same screen. Now, I wrote a code to give a pop-up upon exiting the screen, if the user didn't save the data. I got this fuctionality using keyword ON CHAIN-REQUEST.
    But it is getting triggered, if the user changes the value on the white text box. But I changed the value of greyed text box using the button on the screen. For that, ON CHAIN-REQUEST is not getting triggered. Please help me out to solve this problem.
    PROCESS AFTER INPUT.
      CHAIN.
        FIELD: zmm_spa_item-uptby_tc, " Greyed text box
               zmm_spa_item-rmrk1_tc,
               zmm_spa_item-rmrk2_tc,
               zmm_spa_item-rmrk3_tc,
               zmm_spa_item-rmrk4_tc.
        MODULE get_changed_data ON CHAIN-REQUEST.
      ENDCHAIN.
      MODULE user_command_2300.
    MODULE get_changed_data INPUT.
      DATA: lv_answer TYPE c .
      CALL FUNCTION 'POPUP_TO_CONFIRM'
        EXPORTING
          titlebar       = 'Exit Review'
          text_question  = 'Do you wish to save your data?'
          text_button_1  = 'Yes'
          text_button_2  = 'No'
        IMPORTING
          answer         = lv_answer
        EXCEPTIONS
          text_not_found = 1
          OTHERS         = 2.
      IF lv_answer EQ '1'.
        MODIFY zmm_spa_header FROM zmm_spa_header.
        MODIFY zmm_spa_item FROM zmm_spa_item.
        IF sy-subrc EQ 0.
          MESSAGE s001 WITH 'Saved'.
        ENDIF.
      ELSEIF lv_answer EQ 'A'.
        CLEAR ok_code.
        LEAVE SCREEN.
      ENDIF.
    ENDMODULE.                 " GET_CHANGED_DATA  INPUT
    Regards,
    Yasin.

    Hi,
    Try using the following
      CHAIN.
        FIELD: zmm_spa_item-uptby_tc, " Greyed text box
               zmm_spa_item-rmrk1_tc,
               zmm_spa_item-rmrk2_tc,
               zmm_spa_item-rmrk3_tc,
               zmm_spa_item-rmrk4_tc.
        MODULE get_changed_data ON CHAIN-INPUT. "CHAIN-REQUEST.
      ENDCHAIN.
    Or take a flag in the User Command of button where you are making this field Grey
    if that flag is = 'X' or Check sy-datar
    Then call the Function Module POP UP
    Cheerz
    Ram

  • Copy process Chain with Meta chain

    Hi experts,
    how to copy the process chain with Meta chain, since the process chain which I planing to copy it hold meta chain and also local chain, I coping for change the technical name for the PC, is it possible to copy meta chain and local chain along with PC?
    and plz breif me about meta chain and local chain why we have to use them and where we have to use them?
    plz explain with scenario.
    Thanks,

    Hi,
    Once after the copy of the chains you need to change the start variant with the new one as the same start process can not be used in two process chains at the same time.
    So Once after changing the start process for your MC and LC then you are good to go ahead to trigger the same.
    If you trigger the MC then it will take care of trigerring the LC automatically.
    In terms of changes in the process chain, you can get the last changed details in the log view but you can track the timestamp of changes from the process chain tables like (RSPC* and then press F4). But you can not track which process has been changed in this.
    Thanks
    Murali

  • How do I set photoshop to process raw files in background all the time?

    Sometimes when I process my raw files in photoshop it will process them in the background. Other times it will make me wait while the files process until I can access photoshop again. Anyone know why this happens or how I can consistently process raw files in the background? Up to CS5 I think it was an option somewhere but I can not find it now.

    Hi eusib43, <br /> Sorry you are having problems.
    The redirection blocking feature is really intended to help users that need to use screenreaders and such; rather than being any sort of effective security measure; but some users set that unnecessarily.
    * Try '''Firefox Button (or Tools) → Options → |Advanced| → <u>Accessibility</u> →<br /> [] Warn me when Websites try to redirect or reload the page ''' <br />(Wording and exact menu options may differ somewhat)
    * See [[Advanced settings for accessibility, browsing, system defaults, network, updates, and encryption#w_accessibility]]'''_accessibility'''
    * Does unsetting that solve your problem ?

  • Need to skip the data load for one of the sub chain.

    Hi All,
    In our project, we have one meta chain and have many sub chains inside that. Today we don't want to run one of the sub chain. As we are in BW7.0, Skip options are not available. Can you please help how to stop the data load for the particular sub-chain.Please suggest.
    Thanks.

    Hi Jalina,
    If this is a frequent request then you can create a custom ABAP Program and then use the below simple logic to skip/run the meta chain, but you will also have to change the link between the sub chains as "Always" instead of "Successful" so that no matter if the dependent chain is successful OR not the nex chain will proceed. If you are comfortable with event then you can also use event to achieve this
    Program Logic- Create a new table where you maintain meaningful values (indicator/description) in it and the program should read the data from the table, Based on the values in the table the program will be successful/fail
    Thanks
    Abhishek Shanbhogue

  • I'm in the activation process for setting time and date but been stuck in that screen for a while please help

    just installed my Apple TV and it's been in the activation screen to set time and date for a while .
    not sure what the issue is

    It's not properly connected to the network
    Make sure location is set correctly
    DNS should be on auto (settings - general - network)
    If on wifi try Ethernet
    Check that router has port 123 open (refer to manual if unsure)

  • I have one meta chain.that meta chain have 5 local chains 2 local is failed

    Dear All,
              i have one meta chain.that meta chain have 5 local chains 2 local is failed in the mddle. 3,4,5 chains were went successful.i knoe the solution hoe to correct. i want to execute rest of process of the second chain only. i dont want to 3rd , 4th and Fifth. i can not do Manully for evry process chain in the second  chain because second local chain is very big chain. i can not do repeat also .suppose if i go for repeat again 3rd , 4th ,5 thsteps will be execut.
    hoe can i solve this issue.please guide me.

    Hi
    Right click on the green block, from where the next block is not triggering. Take the variant and instance value.
    Goto table RSPCPROCESSLOG and give the variant and instance value as input. Check the state field value. It should be G (i.e. successfully completed) then only next block will be triggered.
    If you want to start next block manually, goto function module RSPC_PROCESS_FINISH, give i_logid, i_type, i_variant and i_instance values from RSPCPROCESSLOG table and enter i_state value as G.
    After executing the function module, next block of the process chain will automatically start.
    For More information:
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Pravender

Maybe you are looking for

  • How to synchronize analog input and output from two different USB daq boards

    Hi all, I have two very differnt USB boards the NI USB 6008, which I am using to acquire the data (Analog Input) and a NI USB 9263, it is an Analog Output only board that I am using to deliver a signal (in this case a square pulse). The reason why I

  • OBIA- Connection Problems ORA-00604 and ORA-02248

    Hi, i have an installation OBI Server, Presentation Services, and Scheduler on RH Linux 64Bit, Oracle 11 DB, OBI Admin on Win xp, in online mode when i try import from Database i got following errors:ORA-00604 and ORA-02248 but i can Create ibots and

  • Oracle database startup for SIMS

    We are new users to SIMS 3.1. What is the supported method of configuring the Oracle database to start at boot time ? I don't see anyhting in the doc about this.

  • CP 8.0.1 - video

    Hi everybody. I have these problems: Project contains: 1. Video included to slide  (FLV) 2. Linked video to Youtube widget. After publishing content as SWF and played locally - slide video plays normaly, youtbue widget not After uploading the same co

  • Podcast Image Problem!!!

    I am trying to start a new podcast using Blogger and Feedburner. http://retrorejects.blogspot.com/ http://feeds.feedburner.com/RetroRejects I uploaded the image in Feedburner and it appears in the iTunes Store Page: https://itunes.apple.com/gb/podcas