XI3.0/SP19: Deadline Branch - Set time period dynamically

Hi All,
We need to receive the deadline period from an external system
Is it possible to set the time period from an external value?
Thanks,
Ofer

We had a similar request in a project of ours, and managed to make it work with the following workaround.
Use a Fork Step with 2 branchs and in "necessary finished branches" option, set it to 1.
In 1 branch, use the steps you normally would use in the block w/ deadline main branch.
In the other branch, use a transformation step with a particular mapping.
This mapping should be from the message you receive in "start process" receive step to any other target (you could create a dummy target message type or use the same message type of source message). In the message mapping, supposing you use target message = source message, just map all fields into the respective targets. In particular, in the field with the value you want to set to the deadline, use a UDF between the source and the target. Supposing the waiting interval is in seconds, use the UDF as:
int delay = Integer.parseInt(a);
try {
  Thread.sleep(delay*1000);
} catch (InterruptedException e) {
  throw new RuntimeException("Error in waiting function.");
This way you can have any time interval you want (including intervals shorter than 1 minute).
Regards,
Henrique.

Similar Messages

  • Set time periods in Time Capsule

    Can the network be setup to turn off during certain hours of the day?  I would like to turn off the network from 11pm to 6am.

    You can set time limits via the airport utility on wireless.. you cannot stop ethernet connections.
    You will need to set two times... 11-11:59 and 12:01-6:00am
    There is clear write ups by Bob Timmons on every few posts about setting time limits.
    Just do a search.

  • How to Set Time Period for KM Scheduler

    Hi ,
           I have created one Par based application in which i have assigned one role to perticular id dynamically and i scheduled this task by using KM Scheduler. but this scheduler assigns this task for 1 mins or greater than 1 hrs. i wanted to run this task for every 10 mins or 20mins or 30 mins. actually i tried to edit the time table property  for KM Scheduler for 10 mins but it not works it take 1 hrs and 10 mins.
           so is there any way to edit this time table property and set scheduler time to 10 mins or 20 mins.
    Kind Regards,
    Rahul

    Hi Rahul,
    If you want to run the scheduler for every 10 minutes, you can create your own timetable and assign it in the scheduler tasks.
    Steps:
    Goto Sytem Admin -> System Config -> Knowledge Management -> Content Management -> Global Services -> Scheduler Time Table -> Time Table -> Click on New
    You can find Scheduler Time Table in advanced options.
    Specify the vales as mentioned below and save it:
    ID: <any ID as you want> 
    Minute : 10
    Time Zone  : GMT+05:30 (Asia/Calcutta) India Standard Time
    For other parameters, no need to specify any value.
    Then go to Global Services -> Scheduler Tasks -> Your Scheduler Component -> Select the new timetable you have created for timetable parameter and click OK
    I have specified timezone as IST time. You can change the time zone as you require.I have done this and its working for me.
    Hope this helps.
    PS:Reward points for useful answers
    Regards,
    Yoga
    Edited by: Yogalakshmi on Feb 27, 2008 6:14 AM

  • How do you set the time period on IMAP email accounts (razr maxx)

    Hi Guys -
    Does anyone know how you can set the time period that the stock email will keep the already downloaded messages for IMAP email accounts?
    Mine never seems to show more than a couple of days worth at a time. I'd ideally like to be able to see at least 2 weeks worth of messages without needing to download them again!
    On other phones I've had there was a setting in the menu, but either I can't find it...or it's not there. I've found the setting for how OFTEN it checks the accounts, but not the setting I am seeking.
    Your help is appreciated!
    Best Wishes for the Holiday Season.
    -Rich

    Hey Rich.  Once in 'settings,' there should be a "days to sync' under the 'data usage' section.   You don't have that?

  • Start recording video at a set time of day and off at a set time of day, and or can start rec video when motion detected, till no motion detected for a set period

    is there an app for iphone which can be set to start recording video at a set time of day and off at a set time of day, and or can start rec video when motion detected, till no motion detected for a set period. basically someone is vandalising my vehicle and i really really want to catch the mongrel
    thanks for any suggestions

    Nope.

  • BPEL......  On Alram Branch not throwing error after the set time

    Hi,
    In SOA 10.1.3.4 BPEL process , i have a asynchronous process which Invokes a Partnerlink and waits in the Recieve Activity. The OnAlarm branch set here waits for 2 hrs, after which the scope throws that Global fault.
    I have observed that for some instances, the OnAlarm Branch does not throw error even after about 24 hrs ( though the OnAlarm is set to 2 hrs )
    Is this a prodcut defect or something to do with thread level issues ?
    Thanks & Regards,
    Md Yaqoob.
    Edited by: Sam9999 on Oct 6, 2010 5:33 PM

    Hi,
    We did not talk to Oracle last week, but hope to do so this week via web conference. According to Oracle support, the version and patch level we are on should not have the problem we are encountering. Both the Oracle constant and support have been unable to replicate the error when they attempt to recreate our setup on their own servers.
    We can produce this issue 100% of the time, on a server with no load at all. it is a brand new environment for development use to which we have deployed the latest versions of our flows. I have deployed a simple flow containing just a Wait 15 minutes, and any instances in flight when I restart BPEL do not wake-up on time. Very occassionally, instances that previously failed to wake after a restart do wake after subsequent restarts, but that is not 100% of the time.
    Hope to conference with Oracle on Wednesday.
    Anit

  • Latest time period setting in Fin Reports

    Hi,
    I have fin reports that are generating the following error..
    Error 1012709 - For virtual time series, the latest time period setting (Period) is not a level 0 member
    I know what the error means, but where do I set it to be Mar etc? I know where to do it in the excel addin but for Fin Reports??
    Cheers
    CD

    Solved in the planning forum, but if anybody is interested the answer is
    In Workspace, go to File > Preferences > Financial Reporting.
    There is a point of view section.
    Preview on/off, on brings up the POV selector before running a report.
    Also in section you can setup your default members to be used in the POVs.
    Cheers
    John

  • Deadline branch not getting executed

    Hi
    In my BPM i have an infinite loop and also the deadline branch with inerval as 1 minute (for testing purpose) but when i send the message my deadline branch does not get executed after 1 minute and it keeps on waiting.
    in the bpm monitoring it shows wait step created.
    i have verified my design with the standard pattern available, and it is almost similar.
    i am not able to find out the reason behind this strange behavior.
    Regards
    Dheeraj

    Hi Saravana
    i did exactly the same, i have my deadline branch, in it i have my control step which trows exception, which is catched by my exception branch and does nothing, so ideally it should continue the processing after that.
    but the problem is the exception is never thrown.
    my deadline has been configured as
    Reference Date/Time: Creating the step
    Duration: 1
    Unit: Minutes
    control step in deadline branch
    Action: Throw Exception
    Exception: Time_out
    Exception branch
    Exception Handler: Time_Out
    and outside this block i have transformation and other steps... which shoul get excuted after 1 minute deadline.
    Regards
    Dheeraj

  • WRT110: I want to create an access rule for one client for one application during one time period

    I have a problem with one of the clients on my LAN which is running uTorrent to detriment of everyone else. It saturates the pipe. I have been unable to prod this user into bothering to tweak their settings to throttle bandwidth back and so have resorted to an access rule on the router which kicks that MAC address off during a particular time period during the day. But as irritated as I am about this slacker sense of outrageous entitlement, kicking them off entirely seems a tad heavy handed even for me.
    So, In the router I can create a rule per MAC address and specify time. But is it possible to limit this to denying uTorrent ONLY? And if so what port or port ranges would I use.
    Alternatively I already use a QoS setting for one of my VoIP TA's. Would I gain anything by degrading the application indirectly by creating a QoS = LOW for that port range? Again, I don't really care about any other application, just uTorrent and just that client. How much degradation is there really in setting QoS to LOW?

    Well it wont make much difference, when you enable QOS service on your router. Yes it is possible to Deny uTorrent application from your Router. When you are Under "Application and Gaming" Tab, Under "Blocked Application" you will find "Application Name" , "Port Range" and "Protocol" so you need to input under Application Name "uTorrent" and under port range you need to input the port number which uTorrent application use and then under protocol select "Both" and click on ADD. Then again in Application you will find uTorrent , select and click on (>>) right arrow so it will block that application on your Router. By doing this it will block uTorrent from your Router.

  • Get a value of a item  in a diferent time period - Script Logic

    Hi,
    So i'm facing the following problem,
    I've inputed some data on the time 2010.INP, wich is my member for data that will be used to calculate other members from diferente time period.
    For example, in my current view i have selected time = 2010.JAN, and i try to run the following code
    *WHEN ACCOUNT
    *IS "VOLUME"
    *REC(EXPRESSION=GET(account="YEARTAX",DATASRC="INPUT", TIME="2010.INP"),ContaVendas="MONTHTAX")
    *ENDWHEN
    So what i'm trying to do is, when the user inputs the value for volume, it gets the value that was previously set to the yeartax in the member 2010.INP, and copy it to MONTHTAX in 2010.JAN
    But the value that is returned is 0.
    Any ideas?
    Hopefuly i made mysel clear!

    Hi,
    yeartax and monthtax are members of which dimension? I can see account and contavendas in 2 different locations.
    Assuming that the above 2 members are from the contavendas dimension, please modify the script to
    *WHEN ACCOUNT
    *IS "VOLUME"
       *REC(EXPRESSION=GET(CONTAVENDAS="YEARTAX",DATASRC="INPUT", TIME="2010.INP"), CONTAVENDAS="MONTHTAX", TIME=%TIME_SET%)
    *ENDWHEN
    Hope this helps.

  • Deadline Branch not working

    Hi All,
    I configured  a simple BPM scenario with a Block step with 3 braches namely
    1. Normal Branch(one receive step with in infinite loop step).
    2. dead line branch with 1 min timeout. within this a control step to throw exception
    3. Exception branch with no Action(no steps inside this branch)
    And Obviously there is a send step outside the block (For File system).
    I am not using any mapping case or even a container operation for collecting message.
    My intention is only to understand deadline branch.
    I am sending data from HTTPClient. The message comes to BPM. Ideally after 1 min.deadline should get executed (the infine loop should break) and I should see a response in the File System.
    But this is not happening. So I followed some previous threads in Forum and I found a solution(not automatic) to make this scenario working.
    The link : [Deadline monitoring not working;
    In this thread I followed >> Ran the program RSWWDHEX in foreground
    when I execute the above program in SE38 I am seeing a status message "'1' entries have been edited".
    And Deadline monitor gets executed and I am getting response to my file system.
    But this is not the solution I am looking for.
    How can I make my workflow(deadline branch) automatic.
    Please help me out.
    thanks,
    avis

    Hi Patrick,
    The BPM is not at all in error state. As I mentioned earlier when I am execting the report (>> Ran the program RSWWDHEX in foreground) I am able to get the ouput. I also followed SAP notes mentioned but they are not useful in my case.
    Any other Ideas?
    Hi Christophe,
    As I said I am following standard pattern expect container operation (for appending messages as it is in infinite loop.).
    So every time the message will be over written and when the loop breaks I will get last over written message which container variable hold.(Abstract interface for receive step).
    So there is no container operation.
    Thanks,
    Avis

  • Use of MS Project Management 2010 to Manage Multiple projects over a given time period

    Is there some information (article/s) I can research about using MS Project Management 2010 for managing multiple projects over a given time period? I'm being asked by a potential client to take a job as a Program Manager to manage five projects all
    at once. Each of the projects has it's own MS Project Management software, project leader, and project team. An overall project plan has to be put together to manage this large project. There are some dependencies with these projects inorder to complete
    on a specific date.
    Thanks

    SSCDML --
    In order to manage this program of five projects using Microsoft Project 2010, I would recommend you do the following:
    Create a shared resource pool file containing the resources in all five projects.
    Connect each of the five projects as sharing files with the shared resource pool file to share the resources.
    Create a master project for the program containing each of the five projects as subprojects.
    In the master project, set cross-project links as needed to show dependencies between projects.
    Hope this helps.
    Dale A. Howard [MVP]

  • Deadline branch don`t work

    Hi everybody,
    I am facing the following problem:
    I have developed several scenarios in XI which use BPM. Within the BPMs there are a deadline branch. It was working properly for a time and suddenly it no long work. None error is displayed, simply the process remains waiting ... The deadline (after 1 minute) should trigger a control step but it never occurs.
    Any idea?
    Thanks,
    Regards
    Carlos

    Hi, Tom
    I went to SM37 and every job  SWWDHEX has status CANCELED, the log is the following:
    Job log overview for job:    SWWDHEX / 10173001
    Date
    Time
    Message text
    Message class
    Message no.
    Message type
    17.01.2007
    10:17:58
    Job started
    00
    516
    17.01.2007
    10:17:58
    Step 001 started (program RSWWDHEX, variant &0000000000002, user ID WF-BATCH)
    00
    550
    17.01.2007
    10:17:58
    Work item 000000007861 cannot be read
    WL
    803
    |17.01.2007|10:17:58|Job cancelled after system exception ERROR_MESSAGE                           |     00      |    564    |   
    I think the work item 0000000007861 is corrupt or something like that.
    How can delete this work?
    Regards
    Carlos

  • Setting time in x-axis for waveform

    i would like to make the waveform to shows data within 10 minutes time frame.
    I've  tried the property and change with different scales but that didn't work as wanted.
    Is there a setting values for offset and multiplier that i should be aware of?

    Not enitrely sure what you mean...
    On the graph itself if you don't set the x scale to autoscale you can change the time period you are looking at...just type the min/max values that you want.
    Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
    using LV 2010 SP 1, Windows 7

  • Email, time period to be synchronized?

    Hi,
    I Set up an Email Account but could not find the setup for time period to be synchronized e.g. Samsung S3 has the ability to define Emails to be synchronized Last 30 days ( or forever;...).
    Is this Option hidden somewhere?
    Thanks in advance!
    Topic edited by Rickard

    For POP3 and IMAP4 it works as shihstouch says but for ActiveSync you can set the time period to be synchronized.
    Not sure but i think the 3:rd party client K9 Mail from Google Play has this option.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

Maybe you are looking for