Skipping weekends while setting the expiration duration in Human task

Hi,
I need the task to expire after 5 days.
If I give a 'Fixed Duration' of 5 days, that would mean weekends are included as well.
How can I avoid this?
Any help will be greatly appreciated.
Thanks,
Vivek

Hi Bill,
Thanks for the reply.
I have done the the first part of what you suggested, namely:
- Created a calendar called QCalendar (Monday to Friday, 8 hours)
- Created a Organizational Unit called QUnit and associated the QCalendar with it.
- Added a group called QGroup to the Org Unit
- Created a task with one stage, and assignee as QGroup. Task Expiration is set at 10 days. 'UseBusinessCalendar' attribute is set to true.
This does not work. Weekends are still considered.
I felt I was missing something, and I believe that is what you mention when you say - 'Here's where I'm not entirely certain about this... I believe you will have to map the name of the org unit into the task payload using an association.'
Can you please elaborate on that part?
Thanks again,
Vivek

Similar Messages

  • Problem in setting dynamic expiration duration from Human Task

    Hi,
    I have a BPEL process, in which the Human task expiration has to be set dynamically..
    In the , I have set the expiration duration with this :-
    <copy>
    <from expression="xp20:format-dateTime(xp20:current-dateTime(),'PT1M')"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:systemAttributes/task:expirationDuration"/>
    </copy>
    Do not get confused with 'PT1M' .. I want the duration to be 1 minute... Had I used 'PT1M' as a String and assign to the expirationDuration var, it would have caused an error... It needs to be fromatted as a Date..That's y i took this approach ... I am sure this is working fine as I have checked the payload of the task..
    It has a proper duration..
    <initiateTaskInput><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><initiateTask xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <systemAttributes>
    <expirationDuration>PT1M</expirationDuration>
    Now in the Human task definition(.task file), I have set the expiration duration with "By Expression" option in this way..
    <globalConfiguration>
    <owner>oc4jadmin</owner>
    <expirationDuration duration="/task:task/task:systemAttributes/task:expirationDuration"
    type="XPATH"/>
    </globalConfiguration>
    The problem is the task(at runtime) cannot evaluate the expirationDuration from the XPATH..
    I checked with the WF_TASK table in the orabpel schema ...
    When I use a static duration EXPIRATIONDURATION cloumn gets assigned properly (ie PT1M).. But when i take the XPATH approach, it translates to PT0S.
    Can someone look into this please ?
    Struggling with this for quite sometime...
    saptarishi

    If the Human Task shows status complete, then it's possible that there was an error in the output data association in the process. In EM do you see a fault on the output for the Human Task activity, or if PS4FP the process will go to suspended state if the data association fails.

  • How to set the Expiration Date for a task which is been assigned explictly.

    Hi,
    When I assign a task to myself and not work on it for couple of weeks the task is getting released automatically into the original unassigned pool. The TaskActionHandler WSDL is causing that to happen. I don't want a task to be automatically released into the pool when I don't work on it for couple of weeks, how can I make that happen? TaskActionHandler is something which comes with the BPEL so I can't change the way how it behaves. Do I need to set the expiration date or duration explicitly when a task is created?then how do I do that?
    If anybody could let me know how to make TaskActionHandler not to release a dehydrated task, I would be glad.
    Thanks,
    Mythili.

    Hi,
    Make AUTO RELEASE a restricted action for the task by adding the following line:
    <restrictedAction>AUTO RELEASE</restrictedAction>
    to the <restrictedActions> tag in the task configuration file.
    Works effectively.
    Alternatively, you can specifiy the auto release durations on a per task priority basis. There is more on that in the BPEL Dev Guide.
    Hth, Sjoerd

  • How to set the expires field to stop caching of pages

    I want to set the expires fields of the HTML data on pages delivered by weblogic, so caching servers(ie ISA) and clients dont cache the my pages. How do I do this?
    Thanks for any help

    I guess that's the NI Domain (NI Security Login) user name. Check out Tools->Security->Login in LV main menu.

  • How to set the expiration date in content server

    Hi all,
    I wish to set the expiration date as 3 years later the current date. I have current Date in DocCreateDate but I am not able to set it as DocCreateDate + 3 years.
    Can anyone tell me how to set it?
    Any help appreciated..
    Thanks

    You will need to use an idocscript function, most likely in a global rule.
    One option could be dateCurrent, which can take a number of days to move it forward or back. See http://docs.oracle.com/cd/E23943_01/doc.1111/e10726/c08_config_ref.htm#i1053616

  • How do you set the expiration date of a secure zone?

    I am trying to set up a form where a user can sign up for access to a secure zone for 1 year. How do I set the expiration date of the secure zone for them to expire one year after they sign up for it?
    I have tried using a hidden field named "ZoneExpiry" (I have tried "ExpiryDate" as well) in the form and set its value attribute manually in the HTML (with the format 13-May-13), and the expiration date always ends up being 31-Dec-9999.
    Any help would be greatly appreciated.
    Thanks!

    I have done this.
    Have a hidden input field on form  <input name="ZoneExpiry" id="ExpiryDate" />
    Then have a function as follows:
    var dat=new Date();
                                                      dat.setDate(dat.getDate() + 365);
                                                      var monthname=new Array("Jan","Feb","Mar","Apr","May","Jun", "Jul","Aug","Sep","Oct","Nov","Dec")
                                                      var pretty = dat.getDate() + "-" + monthname[dat.getMonth()] + "-" + dat.getFullYear();   
                                                      jQuery("#ExpiryDate").val(pretty);
    Hope this helps.

  • How to set the transition duration of a slide in keynote with applescript

    hi
    how to set the transition duration of a slide in keynote with applescript
    i made an applescript script which converts a numbers file to a keynote presentation
    figured out how to set the transitions but cant find how to set the time
    +set appTransition of slideTransition of current slide to "apple:dissolve"+
    anyone?

    you can send keystrokes to invoke menu commands via shortcuts but as for transition time not sure. You've check the dictionary right? Scripting support is very limited in KN.

  • How do i set the event duration default

    how do i set the event duration default on my iphone calendar.  it is preset to 1 hour and i want to change the dafault duration time

    Every Printer driver allow you to save a set of settings.
    For instance,
    I defined
    A4 black & white
    A4 colors
    listings black & white (which prints two pages on an A4 sheet)
    listing colors (which prints two pages on an A4 sheet)
    Do the same with your settings.
    Use the item Enregistrer or the item Enregistrer sous to save your settings.
    Yvan KOENIG (VALLAURIS, France) jeudi 15 septembre 2011 18:40:26
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How to set dynamic expiration date in User Task

    Hi
    I need to set the expiration date of a User Task to a specific date, not a duration. Is it possible to do this?

    I have also got a smiliar problem. Does anyone have any further information to how this can be achieved?
    I have been able to use the Human Task Wizard screen (<usertask>.task) to hard code the expiration time. Using the Fixed Duration option of days, hours or minutes. I have tried to use the 'By Expression' to do this but have been unable to get it to work. I have tried to select the /task:task/task:systemAttributes/task:expirationDuration or the /task:task/task:systemAttributes/task:expirationDate element within the task workflow xsd but are unsure how to get it to read the date. I have tried to assign a time component to expirationDate and a time period P0DT0H20M to the expirationDuration element.

  • Problem while setting the selected value of h:selectOneMenu to bean

    Hi all,
    I am new to JSF. I am working on application where i have combo boxe on the page. I am setting some values to the combobox from database using <f:selectItems> tag and one value using <f:selectItem> tag. The value combobox value selected by user is set to the bean property which is String. I am able to display all the values in the combobox but when clicked on button (present at the end of form) i am getting following error-
    ERROR HtmlRendererUtils:354 - Error finding Converter for
    component with id interviewStageOneForm:acceptanceChannelList
    I am setting the combobox selected value to the to the bean property which is String and the value selected in also String. Then which converter it is asking for. I am not able to find out what is the problem.
    Your suggestions will be really appreciated.
    Here is my code snippet:-
    JSF:-
    <h:selectOneMenu id="acceptanceChannelList"
         value="#{interviewStageOneBean.index}">
         <f:selectItem itemValue="Select" itemLabel="#{Message.combo_select}" />
         <f:selectItems value="#{MasterDataBean.acceptanceChannelList}" />  <!-- The list coming from database-->
    </h:selectOneMenu>Bean:-
    public class InterviewStageOneBean {
         private String index;
         public String getIndex() {
              return index;
         public void setIndex(String index) {
              this.index = index;
    }

    Hi!
    First I would try next:
    Try to leave out
    <f:selectItem itemValue="Select" itemLabel="#{Message.combo_select}" />
    line. And check if it works after that. If it didn't repeat step but you leave in message selectItem and dump out database selectItem line.
    Second:
    I would check acceptanceChannelList creation and what type of objects you put while doing setValue and setLabel on UISelectItem
    Probably selectItem value has been assigned an object of type the engine doesn't know how to convert from String to it.

  • How to set the expiration time for a namedcache programmatically?

    I have a named cache with near cache configuration and no expiration specified in the cache-config. The backing map which is a distributed scheme has a size limited eviction policy but no expiration. I have an algorithm to determine the expiry delay of this named cache at run time. How can I set this delay programmatically on the named cache?
    Thanks
    Sairam

    Hi Sairam,
    You would need to get the backing map for the cache and then set the expiry on the backing map; assuming that the backing map supports expiry.
    For example:
    NamedCache cache = CacheFactory.getCache("test");
    CacheService service = cache.getCacheService();
    DefaultConfigurableCacheFactory.Manager bmm = (DefaultConfigurableCacheFactory.Manager) service.getBackingMapManager();
    Map bm = bmm.getBackingMap("test");
    if (bm instanceof ConfigurableCacheMap)
    System.out.println("Setting expiry delay");
    ((ConfigurableCacheMap) bm).setExpiryDelay(100000);
    -John

  • How to set the default duration for still pictures ?

    Hi there,
    At the moment, when I drag a still picture from Viewer window to the Canvas window, a default 10-sec duration of the still picture will appear on the timeline.
    How do I set this default to 8 seconds ?
    I tried looking at User Preference and System Preference but cannot locate them. Maybe I miss them ?
    Can someone help me on this, please ?
    Thanks

    Ian R. Brown wrote:
    Also there is a bug in FCE and FCP which affects PAL.
    If you set the still for 8 seconds it will come out at 6 seconds and 20 frames.
    So if you want a really exact figure you will have to set it longer by maths or trial and error.
    Yes Ian, just noticed that there is a bug !
    Mine was set to 12 secs & I always got 10 seconds.
    Now I set to 12 secs & I got 8 seconds.
    It looks like it is always 2 seconds less from what you set ?
    Thanks

  • 'setProgress is not a function' error while setting the progress of a progress bar manually

    I want to set value of a progress bar in an accordian but I am encountering 'setProgress is not a function' error. Any idea what's wrong with following code.
    Observation:
    If I move the progress bar out of the Accordian then the error goes away and the progress bar appears fine.
    I want to set the progress bar eventually to {repMonitor.currentItem.threatLevel} but for now I am just testing with hypothetical threat value i.e 60
        <mx:Accordion id="monAccordian" includeIn="Monitoring" x="10" y="10" width="554" height="242" change="monAccordianChange()" >       
           <mx:Repeater id="repMonitor" dataProvider="{monitoringArray}">
              <mx:Canvas width="100%" height="100%" label="{repMonitor.currentItem.firstName+' '+ repMonitor.currentItem.lastName}" >
                <mx:Image x="10" y="10" source="{repMonitor.currentItem.imageName}" width="175" height="118"/>
                  <s:Label x="200" y="14" text="Threat Level:"/>
                  <mx:ProgressBar x="200" y="30" mode="manual" label="" id="bar" width="200" creationComplete="bar.setProgress(60,100);" />
              </mx:Canvas>
           </mx:Repeater>
        </mx:Accordion>

    Okay.. Thanks.
    On another forum I ve been told that I need to use getRepeaterItem. How can I use it to set my progress bar such the value of progress may be taken from repMonitor.currentItem.threatLevel?

  • Problem while setting the property of column in ALV

    Hi ,
    I have created a alv dynamically and setting the properties of the column like column header text but its not getting updated .
    see the below code for ref.
    lr_column_settings ?= lr_config_table.
      data:
        lt_columns type salv_wd_t_column_ref.
      lt_columns = lr_column_settings->get_columns( ).
      data: lr_column      type ref to cl_salv_wd_column,
        lr_header      type ref to cl_salv_wd_column_header,
        ls_column type salv_wd_s_column_ref.
      loop at lt_columns into ls_column.
        case ls_column-id.
          when 'MOIST'.
            lr_column = ls_column-r_column.
        lr_header = lr_column->get_header( ).
        lr_header->set_text( 'Moisture %' ).
    I am able to set the alv properties like  visible row count etc ..
    can anybody help out in this issue
    Regards
    Yash

    I was just able to change my headers with the following:
    data:
        lt_columns     type salv_wd_t_column_ref,
        ls_column      type salv_wd_s_column_ref,
        lr_header      type ref to cl_salv_wd_column_header.
      lt_columns = lo_value->if_salv_wd_column_settings~get_columns( ).
      loop at lt_columns into ls_column.
        lr_column = ls_column-r_column.
        lr_header = lr_column->get_header( ).
        lr_header->set_ddic_binding_field( if_salv_wd_c_column_settings=>ddic_bind_title ).
        lr_header = lr_column->create_header( ).
        case ls_column-id.
          when 'CNT_LINEITEMS'.
            lr_column->r_header->set_text( 'Line Items' ).
          when 'VAL_OPEN'.
            lr_column->r_header->set_text( 'Open Amount' ).
          when others.
        endcase.
    endloop

  • How to access and set the object attributes in a task flow?

    I have created a web service data control which has an operation having input as payload object. This payload object has two attributes min and max. I am calling a task flow in a dynamic region in which I want to display result of this operation for which i have to set the values for min and max. I want to set these values when I click the taskflow link. How to achieve this? I am new to adf.

    Hi Arun,
    Thanks for your reply.
    I have tried passing parameter to a task flow, but i cannot set the action to a task flow call because it already has action for a method in a dynamic region which renders the task flow at runtime. How do i set action to task flow call link? Also once i get the parameters into the page flow scope variables, i want to pass those to one of my data control operation which displays the result in that taskflow.(i dont want to create parameter form for this operation).

Maybe you are looking for

  • Updating iPhoto

    i am not able to update iPhoto. it says "This update is not available. You must have previously purchased the item being updated. Tap Buy to purchase it now." when actually the iPhoto already comes together with the macbook pro when i bought it. help

  • EXTERNAL HD WONT SHUT DOWN AFTER SHUTTING DOWN LOGIC ,HELP

    When Im done recording in logic and after I close down the session and shut logic down. I then try to shut down my external HD and I get a message saying " LOGIC IS STILL IN USE AND EXTERNAL HD CAN NOT BE SHUT DOWN, TRY QUITTING APPLICATIONS AND THEN

  • FXO not disconnecting

    I have a 2800 Series router with 12.4-15.T1 with 4 FXO ports in it. These ports are connected to another system that forwards calls onto another phone - long story, but it saves huge long distance $$ over satellite phones. The issue is the system get

  • Error locating in object  handler(in pdf)

    Dear friends, I am running a report through 9ias, when desformat=html then no problem comes, but when desformat=PDF then in win98 based webbrowser just a small image come. and on click it gives error -- Error in location object handler passible locat

  • 1GB MMC in 6230, only recognises so many tracks.

    I have a 6230, with a 1GB MMC. it can store 500+ tracks. but when i open Music Player it only recognises 200 of the tracks, which means i have to keep changing the 200 all the time. is there a way for the phone to see all of the tracks on the card?