Delay in the task instance

Hi Experts,
I am trying to put some kind of delay in my workflow using manualaction timeout option but that is forcing IDM to display a page with the checkbox and Save and Cancel buttons.
It is also displaying all the variables available to the workflow at that time.
I dont want to display this page to the end users who would be accessing this application on user page.
can i use java sleep or something which can do the same task (creating delay)? I dont want users to see that form displaying all the variables.
would appreciate your comments!!!

Hi,
I could not understand the question clearly.
One thing you can try is to call the approval subprocess to a dummy approver. Set the timeout valriable to intended minutes.
The approval workflow will return after timing out.
Regards
Arjun
Edited by: arjun.sengupta on Sep 2, 2010 7:24 AM

Similar Messages

  • Obtain the task instance key

    Hi,
    I have a class which provide an object to a user. The object is pending at a manual confirmation of the operation to pass the state of the resource from provisioning to provisioned.
    Exists any method to obtain the task instance key to set the manual answer throw the OIM API? I have only the object key from de resource.
    Thanks

    Thor.API.tcResultSet getTaskDetail(long processInstanceKey,
    java.util.Map filterMap)
    throws Thor.API.Exceptions.tcAPIException,
    tcAPIExceptionReturns detailed information about all the tasks definitions in the specified provisioning process.
    Parameters:
    processInstanceKey - The key of the process instance in the system.
    Returns:
    A tcResultSet containing one to many rows, each row holding information about a task in the process. The following columns are returned
    Process Definition.Tasks.Key
    Event Handler Manager.Key
    Process Definition.Tasks.Default Assignee
    Process Definition.Tasks.Milestone Dependency
    Process Definition.Tasks.Conditional
    Process Definition.Tasks.Task Name
    Process Definition.Tasks.Milestone Sequence
    Process Definition.Tasks.Milestone Sequence Interval
    Process Definition.Tasks.Required For Completion
    Process Definition.Tasks.Hours
    Process Definition.Tasks.Minutes
    Process Definition.Tasks.Days
    Process Definition.Tasks.Constant Duration
    Process Definition.Tasks.Allow Multiple Instances
    Process Definition.Tasks.Milestone Datalabel
    Process Definition.Tasks.Task Description
    Process Definition.Tasks.Second Duration
    Process Definition.Tasks.Allow Cancellation While Pending
    Process Definition.Tasks.Disable Manual Insert
    Process Definition.Tasks.Milestone Delete Flag
    Process Definition.Tasks.Complete on Recovery
    Process Definition.Tasks.Milestone Mapping Status
    Process Definition.Tasks.Task Effect
    Process Definition.Tasks.Retry Period
    Process Definition.Tasks.Retry Count
    Process Definition.Tasks.Trigger Type
    Process Definition.Tasks.Child Table Name
    Process Definition.Tasks.Assign To User Manager
    Process Definition.Tasks.System Level
    Process Definition.Tasks.Creation Date
    Process Definition.Tasks.Created By
    Process Definition.Tasks.Update Date
    Process Definition.Tasks.Updated By
    Process Definition.Tasks.Note
    Process Definition.Tasks.Row Version
    Throws:
    tcAPIException
    Thanks
    Suren

  • How to measure the task instance size

    I am trying to understand how to measure the custom task instnace size that was occupied in the cache repository. Is there a way to obtain the size (in KB s ) in lighthouse 4.1 +sp5. Please help.                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi, Luiz!
    In order to estimate the instance size, you will have to sum up all the instance variables size.
    From the practical prospective it may be difficult to use the algorithm in cases when your instance variables are not simple types.
    For already existing instances, you can look the instance size in the database:
    An instance is just a java object, that is serialized as a byte[] and stored in the engine database, PPROCINSTANCE table, column INSTDATA.
    You can write a simple program (either java or SQL plus) that would read the instance from the BLOB and measure the size.
    And yes, with large instances you can have performance problems.

  • Why is there an odd delay when invoking the task switcher w/"Reduce motion" off?

    Sometime after updating to iOS 7.1 (and 7.1.1), I noticed that when I double-clicked the home button in order to invoke the task switcher (and when I pressed on an app preview or icon in order to switch to it), that there was a 2-3 second delay before the task switcher actually appears (or I switch to the chosen app). What is doubly strange is that if I turn "reduce motion" to OFF in Settings > Accessibility, the delay goes away.
    To make matters worse, a friend of mine with an "iPad 3" (i.e. the first iPad with a retina display) tells me that he does not see the delay. I've restored the iPad and set it up as a new iPad, yet the delay does not disappear.
    Has anyone else observed this problem?

    I see this problem as well. 
    There is a 2-second delay from when I hit the HOME button twice on my iPAD 2 before any of the open Apps appear. 
    There is also a lag when selecting some settings (ex. Wallpapers & Brightness ... about 2-3 seconds after I make the selection).
    My Settings -> General -> Accessibility -> Reduce Motion is set to ON as well.

  • JSF getting task instance id

    Hi all
    I am new to JSF..We are using jsf with the JBPM JPDL Engine.
    My question is i able to access the process instance id using JSF expression #{processIntance.getId} ..how do I get the task Instance id ..
    I tried #{taskInstance.getId} does not seem to work..
    Also if you point me to any useful documentation in this respect..i would be greatful..thanks in advance..

    Thanks for your reply.. I sorted this out..
    If I need the taskInstance id i need to use it in the task node execution context .It works ok..if used inside the "task-assign" system template..

  • Task Instance Id.

    I need to pass the Task Instance Id (SUN IDM) in the Notification mail. Can anyone tell me how to do that.
    Thanks in Adv,
    --ravi
    Message was edited by:
    RavindraPaliwal

    Thanks for your reply.. I sorted this out..
    If I need the taskInstance id i need to use it in the task node execution context .It works ok..if used inside the "task-assign" system template..

  • Why Task Instance Name is messed up?

    I kicked off a customized task from console, the task was completed successfully, however, the task instance name displayed on page "Server Tasks ---> All Task" is messed up as following
    TASK7F2DB676E49A6D04:-395D12E7:11989A5891E:-7F0F
    What is the possible problem?
    Have a good one

    first define some variable:
    <Variable name='taskName'>
          <invoke name='getName'>
                   <invoke name='getDefinitionRef'>
                          <invoke name='getTask'>
                                <ref>WF_CONTEXT</ref>
                            </invoke>
                     </invoke>
            </invoke>
      </Variable>now you call rename task workflow application:
    <Activity id='3' name='Rename Task' hidden='true'>
           <Variable name='newTaskName'/>
                    <Action id='0' name='set task name'>
                        <expression>
                            <set name='newTaskName'>
                                <concat>
                                    <ref>taskName</ref>
                                    <s> </s>
                                    <ref>WF_CASE_OWNER</ref>
                                    <s> (</s>
                                    <invoke name='format'>
                                        <new class='java.text.SimpleDateFormat'>
                                            <s>yyyyMMdd HH:mm:ss</s>
                                        </new>
                                        <new class='java.util.Date'/>
                                    </invoke>
                                    <s>)</s>
                                </concat>
                            </set>
                  </expression>
        </Action>
        <Action id='1' process='Rename Task'>
                <Argument name='name'>
                            <ref>newTaskName</ref>
                </Argument>
                <Argument name='makeUnique' value='true'/>
        </Action>thats it.

  • Adobe reader XI not responding, multiple instances in the task manager is XI junk?

    Hey everyone!
    I need some help, I have about 175 computers that im working on and a hand full (more as the days go on) of them are having a problem with adobe reader XI.
    Here is what is happening.
    If im online pulling up a pdf from a finance company we use the pdf will begin to open (within the browser) and then you will get the blue loading bar
    and then it gets almost to the end (somewhere between 80% and 99%) and then it will just freeze up or just display a white page where the pdf should be. It is doing this across a bunch of sites not just one or two.
    The other thing i have noticed is that there are multiple instances (10 - 20) of the adobe reader xi in the task mananger if you close all them out some times it will start working some times it wont.
    Here is what i have done.
    1. removed adobe XI
    2 reset the browsers
    3 changed the settings with in reader XI
    4 used the removal tool
    5 tried a different browser
    Im runing out of options!
    HELP
    I have reader 11.0.10

    What is the operating system on these computers?  What browser are they using?

  • OIM - Task Assignment Adapter - How to get the object instance key?

    Hello experts,
    I'm trying to use a task assignment adapter to assign an approval task dynamically. Basically, the user can request a resource like "CustomApp Profiles" and we create an object form to let them choose the profile that he needs. Each profile has an owner, which is populate in a Lookup (Owner is the code and Profile is the decode).
    So, in the approval task, I need to get the profile selected by user in the object form and search into the lookup who is the owner of that profile. But I don't know how can I get the object instance key using the parameters that can be mapped to a task assignment adapter.
    Looking into the OIM documents, I believe that the easier way is using the request key, because the REQ_KEY is a foreign key in OBI table.
    Did anyone knows how can I get the object instance key using the request key? Can I use some API or should I execute a SQL statement directly in OIM database?
    Best Regards,
    Nitto

    To retry a task that is in a rejected state, you use the SCH_KEY which is the task key.  In OIM, all rejected tasks are listed in the OTI table.  It contains all the important information about a rejected or pending task.
    You can use the APIs found in the tcProvisioningOperationsIntf class to retrieve open tasks.
    -Kevin

  • How to get the process instance key so as to retry a rejected task through api while ad provisoing?

    Hi All,
    How to get the process instance key so as to retry a rejected task through API while AD provisioing state?
    API URL - http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/toc.htm
    Thanks

    To retry a task that is in a rejected state, you use the SCH_KEY which is the task key.  In OIM, all rejected tasks are listed in the OTI table.  It contains all the important information about a rejected or pending task.
    You can use the APIs found in the tcProvisioningOperationsIntf class to retrieve open tasks.
    -Kevin

  • How to set the tasks as cancelled

    Guys ,
    I had a scenario , where i have written a setObjectStatus adapter which sets the status of RO as Revoked.
    So i have provisioned a resource to a user and did some updates on resource profile as well , the status of the RO is provisioned and the tasks
    like create user , abc updated etc ... as completed .
    Now i fire the setObjectStatus adapter and it sets the RO status as revoked successfully . The check boxes like enable, disable , revoke etc are disabled as a result of setting the RO status as revoked . But the task inside doesnot become canceled.
    Any ideas how to achive the cancellation of tasks as well ?
    Thanks
    'Suren

    Hi Surendra.
    What did you get when you run the tcUserOperationsIntf.getObjects(userKey)? When you run this method, you'll get all object instance for a specific user, so you have to read the Object Instance.Key attribute.
    Also, you can invoke the methods below of useroperationsintf:
    void revokeObject(long plUserKey, long plObjectInstanceForUserKey)
    Revokes the provisioning of an object for a user directly without going through a request.
    void revokeObjects(long plUserKey, long[] paObjectInstancesForUserKey)
    Revokes the provisioning of an object for a user directly without going through a request
    Renato.

  • How to configure multiple listeners to listen for the same instance.

    Hello everyone,
    I am running oracle database 11g and I want information regarding how to configure multiple listeners to listen for the same database instance. Actually I know how to configure more than one listener but the main thing that I am confused about is when we create listener.ora file, do we have to statically register the database instance with both the listeners or the instance will register itself with both the listeners.
    According to my knowledge the instance will register with the listener specified by LOCAL_LISTENER parameter and we cannot have more than one value for this parameter.
    Please only give detailed answers with example as I am tired of simple answers with details that I already know.

    Hello,
    Yes, it can make sense to have several listener for one Oracle instance. For instance you may have one listener for the applications another listener for DBA administration tasks as well as one listener dedicated to dataguard broker. It is not possible to have several listeners listening on the same IP and Port.
    By default the database try to automatically register to a listener on port 1521. To instruct the instance to register to a specifc list of listeners you can add in the init.ora the local_listener parameter with an alias definition:
    i.e
    local_listener=MY_SET_OFF_LISTENERS
    in your tnsname.ora add an entry called:
    MY_SET_OFF_LISTENERS_LOCAL= (ADDRESS_LIST=
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1530))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1531))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1532))
    In this sample your instance will register to three listeners listening on respectively port 1530, 1531 and 1532
    If you want your clients can be balanced over the 3 listeners

  • How to do reassingment of the task from the workflow.

    Hi,
    I have two work flow one is approval workflow & another is reassignment workflow in which manager approval is need for reassignment, once manager will approve, task should be reassing to requested user in approval workflow. How can i reassign the task from process 2 to process1. Please suggest.
    Thanks
    Edited by: 949691 on Sep 27, 2012 6:27 PM

    I haven't tried it for this, but try using a correlation.
    Create the correlation in the process you want to notify -> add an event subprocess in that process who's start event is an interrupting Message event that takes a string as input that is the user id you want to reassign it to -> add an Update Task in the event in the event subprocess -> change the Update Task's operation to "Reassign" and assign it to the user id that the notifying processes sends in -> have the notifying process send the notification into this process with the user id you want to reassign the instance to.
    In his blog post from about a year ago, Arun Pareek did an infinitely better job of explaining correlations than I have - http://beatechnologies.wordpress.com/2011/10/17/working-with-custom-correlation-in-oracle-bpm-suite-11g-ps4-feature-pack/.
    Hope this helps,
    Dan

  • Best practice for upgrading task definition without deleting task instances

    best practice for upgrading task definition in production system without deleting or terminating task instances
    If I try and update a task definition with task instances running I get the following error:
    Task definition 'My Task - Add User' may not be modified while there are active task instances
    Is there a best practice to handle this. I tried to force an update through the console but that didn't work. I tried editing the task from the debug page and got the same error.

    1) Rename the original task definition.
    2) Upload the new task definition with the original name.
    3) Later, after all the running tasks have timed out, delete the old definition.
    E.g., if your task definition is "myWorkflow":
    1) Rename "myWorkflow" to "myWorkflow-old-2009-07-28"
    2) Upload the new task definition as "myWorkflow".
    Existing tasks will stay linked to the original (renamed) workflow definition.
    New tasks will use the new definition.
    As the previous poster notes, depending on the changes you are making, letting the old task definitions stay active could have bad side-effects and might be better avoided.

  • How to change the Task title on runtime?

    Hi experts again,
    My customer is struggling with something very simple: how to customize the Task title. You can certainly create an argument in the task, use Data Associations to map the argument, and then use XPath expression to get the value from the task payload and set it to the task title. That works fine. But it only executes once, when the process instance 'enters' in the task.
    So once the Task is created, you can see the custom title in the Workspace.
    Now, can we change the Title on runtime? I thought you could get the task payload, update the title and finally update the task but this does not seem to work. Here's the code that does it.
    In this example, the priority is updated successfully but not the title.
    FacesContext context = FacesContext.getCurrentInstance();
    String tskId = (String)context.getApplication().evaluateExpressionGet(context,
    "#{pageFlowScope.bpmWorklistTaskId}", String.class);
    IWorkflowServiceClient workflowSvcClient = WorkflowService.getWorkflowServiceClient();
    ITaskService taskSvc = workflowSvcClient .getTaskService();
    ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService();
    IWorkflowContext wfContext = WorklistUtil.getWorkflowContextForASelectedTask();
    Task myTask;
    try {
    myTask = wfQueryService.getTaskDetailsById(wfContext, tskId);
    Element payloadElem = myTask.getPayloadAsElement();
    System.out.println("****************" + myTask.getTitle());
    System.out.println("****************" + myTask.getPriority());
    myTask.setTitle("Task Title 3");
    myTask.setPriority(2);
    myTask.setPayloadAsElement(payloadElem);
    taskSvc.updateTask(wfContext, myTask);
    } catch (Exception e) {
    e.printStackTrace();
    The results which printed out in console after execute above code twice.
    ****************Task Title 1
    ****************3
    ****************Task Title 1
    ****************2

    You can use the appropriately named Window Title property. In your project you can define conditional disable symbols (right-click on the project node and select Properties) and then use a conditional disable structure in your code. However, these symbols apply to the entire project, not to a specific executable. Thus, a better route would be to use the executable name (also accessible via a property), if possible, or some other distinction between the executables. What makes the executables different?

Maybe you are looking for

  • Do i have to delete all files on my external hard drive, to make a Backup of my Macbook?

    Hi! I Have a MacBook Pro, and i want to make a Backup of it (with help from Time Machine.) - To a external hard drive, but, i have one little issue, and that is that i already have other files on that external hard drive, (from other computers..) but

  • MapViewer new version 11.1.1.7 ? (is available)

    Hi, I've installed the last release Ver11.1.1.5_B120220 of MapViewer to try on WLS and Glasfish and it works fine! Today I've found in the Spatial online demo http://elocation.oracle.com/mapviewer/ +"Starting with MapViewer version 11.1.1.7 we also *

  • Help! Calendar for 8130

    I am trying to view an appointment on my calendar that is recurring to edit it, but when I click on it a pop up comes up that says "Appointment deleted externally.  changes will be lost and the viewer closed".  Then you hit OK. Does anyone know what

  • Batch scan photos into bridge

    Hi, Hope I can find a solution to this puzzle. I was given an envelope containing several pages containing black and white proof photos of my friend's mother's wedding. The photos are approximately 1 x 1.5 inches in size. I want to scan them into Bri

  • Burning dvd with premiere elements 11

    I burn video files on to dvds.  I always key NTSC widescreen.  Sometimes, the image fills the tv screen.  Most of the time however, there is a 2" wide black border around the image, between the image and the edge of the tv screen.  How do I get the i