To retieve tasks when user tasks are created using Jdeveloper BPELDesigner

I am trying to get the list of tasks which are created using Jdeveloper BPel designer.
I have used the following code :
Locator loc = new Locator("default","bpel");
          IWorklistService taskService = (IWorklistService)loc.lookupService(IWorklistService.SERVICE_NAME);
ITask[] tasks = taskService.listTasksByAssignee("rekha");
if(tasks!=null){
for (int j = 0; j < tasks.length; j++) {
ITask thisTask = tasks[j];
out.println("Task Title " + thisTask.getTitle() +"Assignee:"+thisTask.getAssignee()+"$$$$"+"\n");
but its not returning any tests.
But the same code works for the tasks which are created through sample bpel processes which are provided by oracle which uses TaskManager service.
But the Jdeveloper bpel designer user task creates service which is TaskActionHandler..
please help me how can I get the List of tasks for a particular user for this problem
Please help me ............

There is sample code that is supposed to do this here: http://www.codeguru.com/cpp/sample_chapter/article.php/c10789__12/
I have tried using the login-style task retrieval with the oracle.tip.pc packages - this works logging in as, for example, fkafka.
Working Code:
IWorklistContext ctx = wlSvc.authenticateUser("fkafka", "welcome");
Map filterMap = new HashMap();
filterMap.put(IWorklistService.FILTER_TYPE_TASK_FILTER,
IWorklistService.TASK_FILTER_MY);
filterMap.put(IWorklistService.FILTER_TYPE_STATUS_FILTER, IWorklistService.STATUS_FILTER_ASSIGNED);
String keywords = "";
java.util.List tasks = wlSvc.getWorklistTasks(ctx, keywords, filterMap, IWorklistService.SORT_FIELD_TASK_TITLE, IWorklistService.SORT_ORDER_ASCENDING);
Using the sample code and retrieving tasks with
ITask[] tasks = worklist.listTasksByAssignee("fkafka");
returns nothing, however.
(&lt;h1>&lt;%= tasks.length %> tasks waiting for approval&lt;/h1>
Prints: ' 0 tasks...' )
I notice that the JDeveloper generated JSPs use the oracle.tip.pc packages - seeing as I'm deploying to the same BPEL server I guess I don't need to worry about the other methods of access (i.e. remote) so hopefully I can manage my workflow app with the oracle.tip.pc packages only.

Similar Messages

  • Essbase error 101 all 255 user sessions are in use

    Hi There,
    I try to connect to EAS and I got the following error:
    essbase error 101 all 255 user sessions are in use
    I have administrator right, wondering how to fix this?
    Thanks

    You must be on an older version and licensing scheme of essbase where number of ports could be restricted by license. Try bouncing off essbase service and you should be able to connect.
    For future, add the settings to automatically kick off user session after x number of minutes to avoid ghost sessions.

  • Why does safari display empty page when localhost service are requested using https?

    Why does safari display empty page when localhost service are requested using https and port 37542 (https://localhost:37542/), but displays page properly when regular port is used (https://localhost/).
    Both links return the same json response and work properly in other browsers. Certificate for localhost service was installed to the storage.

    Problem solved.
    I added headers for localhost service response and page displayed normally.

  • Ipad drops streaming radio when other apps are in use

    why does ipad drop streaming radio app when other apps are in use?
    what can I do to prevent this, if anything?

    To rule out the app itself, try downloading another free radio app (CBC Canada, iFreeRadio, for example) and see if they behave the same way.
    Background radio streaming should work fine - one of the types of apps that can truly run in background.

  • Send Email when user account is created

    Hi,
    I have a GTC which is run as a scheduled task to create a user in OIM. I want to send am email to the user once the new account is created from the scheduled task, the email needs to contain the user account and password. For developing such a process should the email definition be of Type Provisioned( so that I map it to Scheduled task) or do I need to make it as a General type. Can some one please explain this process in detail

    Hi, I followed the following process for sending an email when the Scheduled task is completed :
    a. Create a Resource Object RO1 and a Provisioning Process definition for RO1.
    Add a task say, Email, to process definition.
    b. Open the email task and click the Notifications tab.
    c. Click Assign to bring up the list of Email Definitions.
    d. Select the Email Definition defined in step 2 above and assign it to the task.
    e. Check for - Requester, User and User Manager and map the status to 'C'.
    f. In the RESPONSE tab, Set the response as 'C' and set Status field as complete.
    g. In the TASK TO OBJECT STATUS MAPPING, make the object status to provisioned.
    h. In the Integration tab, add System adapter 'tcCompleteTask' and save.
    But even after this the email does not go to the user whose account has been created. Kindly advice

  • EP6.0: Can't change the Users that are created earlier by somebody else

    Hi,
       I ( have super admin access) am trying to modify/delete some of the users that were created by some body else earlier.
    During Modify, it's not allowing me to change the following (grayed out)
    1> Last name
    2> First name
    3> email add
    Moreover I don't even see the password field where I can reset the password.
    Also when I change the validity period etc, for some reason, the old data come back again after some time.
    The user in question needs some additional access and need resetting of the password and I am not able to do the 2nd.
    Also please note that there is no issue with the User lock, I have checked that already.
    Thanks
    Arunava

    Have u Changed in User Mapping  ?
    Go to 'User Admn' - >User MApping -> search for the User u want -> Do edit .
    If u hav did any LDAP ,u can't change the Fname / Lname here as it's been configured .
    Regards,
    J
    Do Award pts if this's useful.

  • Situations when child cursors are created.....

    Hi ,
    I 'd like to ask when child cursor(s) is created..., when a similar or exact text string for sql statement is found on the SQL AREA (Library cache of shared pool) but for a/many reason(s) - described in the v$sql_shared_memory- the same sql area cannot be used..., or for any other reason....???
    Does the value of CURSOR SHARING parameter affect this matter...??????
    Many thanks,
    Simon
    Message was edited by:
    sgalaxy
    Message was edited by:
    sgalaxy

    Hi Simon,
    The purpose of child cursors is to allow Oracle to save some memory. If you have a SQL that that is an exact literal match, but can't be shared for some other reason (i.e. bind variable mismatch, optimizer environment mismatch, etc), a new child is created. This allows one literal SQL statement to have two separate execution plans, without wasting space in the library cache by duplicating SQL that is identical. When that happens, V$SQL_SHARED_CURSOR should tell you the reason for the extra child. (I say "should" cause there have been numerous bugs filed on various versions where there are cases that child cursors are created and no reason is populated in V$SQL_SHARED_CURSOR.)
    Now, how does CURSOR_SHARING fit into the picture? Well, if you have a well-designed application that uses bind variables to allow for sharable SQL, then CURSOR_SHARING is not required and should be set to exact. In cases where bind variables are not used, and the shared pool is getting slammed w/ lots of unique literal SQL, then setting CURSOR_SHARING to force or similar will replace literals with system generated bind variables, and allow for sharing of the resultant SQL.
    Hope that helps,
    -Mark

  • Adobe Reader 9.x crashes when opening PDF's created using Office 2007

    I work on the helpdesk side for a big corporation and many of our users are reporting that when they try to open a PDF, it locks up their Internet Explorer or Reader 9.x
    We noticed that the problems were only caused by PDFs that were presentations created in PowerPoint, then saved as a PDF with the Office 2007 Save as PDF plugin. So what we did was engaged an engineer at Microsoft to look into the issue.  They did a lot of troubleshooting and narrowed it down.
    They think that if the presentation was created using PP 2003 then opened in PP 2007 then saved as a PDF then this causes AR 9.x to crash.  So what they did was remove the slide number, and added a new slide number using PP 2007, save it as a PDF then it opens in AR 9.x
    All other versions of AR can open the PDF under the same scenario.
    Has anyone else experienced this issue?
    Thanks

    It's almost identical to what you posted. I think the difference was that I was trying on a machine with complete install of Acrobat which has the font packs and hence there was no hang/crash. Your file doesn't hang on that machine either.
    If you look at the fonts panel in your document: File>Properties>Fonts, you'll notice that it uses MS-PGothic font which is a Japanese fonts, and hence the Japanese font pack might fix this.
    Also, since you mentioned ACE.dll, the other possibility might be that there are conflicting DLLs on the system, commonly referred to as DLL Hell. Another thing to try would be to search the system for ACE.dll and see which all software install it.

  • 2012 R2 DC crashes when user account is renamed using RSAT Tools on Windows 7

    Hello Everyone,
    we have a forest and a domain both running in 2003 native mode. We have a mixture of domain controllers running 2003 and 2008 R2 and just recently deployed two new domain controllers running 2012 R2. The 2012 R2s are configured as global catalogs but
    do not hold any additional FSMO roles.
    Unfortunately we have a very strange issue with the two new 2012 R2 DCs:
    We have installed the domain management tools on the 2012 R2 domain controllers. When managing our domain using the locally installed tools on the DCs everything is ok. DSA.MSC shows version 6.3.9600.16384. We also have a number of admin workstations
    running windows 7 enterprise 64 bit with service pack 1. We have RSAT tools for windows 7 sp1 (Windows6.1-KB958830-x64-RefreshPkg.msu) installed on these machines. DSA.MSC shows version 6.1.7601.17514. Whenever we try to rename a user account from the win7
    computers, the 2012 R2 DC that is targeted shows a message saying that it will reboot within 60 seconds - and then does just that. On the client we see a message saying
    "Windows cannot complete the rename operation on <name> because: The server is not operational. Name related properties on this object might be out of sync."
    The server logs two errors in the application log:
    1. Event ID 1000, Application Error:
    Faulting application name: lsass.exe, version: 6.3.9600.16384, time stamp: 0x5215e25f
    Faulting module name: ntdsai.dll, version: 6.3.9600.16421, time stamp: 0x524fcaed
    Exception code: 0xc0000005
    Fault offset: 0x000000000019e45d
    Faulting process id: 0x214
    Faulting application start time: 0x01cefa6743edbeec
    Faulting application path: C:\Windows\system32\lsass.exe
    Faulting module path: C:\Windows\system32\ntdsai.dll
    Report Id: d4cd7581-665c-11e3-80d7-005056984a2b
    Faulting package full name:
    Faulting package-relative application ID:
    2. Event ID 1015, Source Wininit:
    A critical system process, C:\Windows\system32\lsass.exe, failed with status code c0000005.  The machine must now be restarted.
    These issues do not occur if we target the admin workstations to use one of our older 2008 R2 DCs. Does anyone have an idea? Any help would be appreciated!
    Regards
    Harry

    I would recommend starting with the basic steps described here: http://social.technet.microsoft.com/wiki/contents/articles/18513.active-directory-replication-issues-basic-troubleshooting-steps-single-ad-domain-in-a-single-ad-forest.aspx
    Once done, please use dcdiag to do health diagnosis on your DCs. If you are running security software on these DCs, I would recommend disabling them temporary for checks.
    Also, see that for virus scanning exclusions: http://support.microsoft.com/kb/822158/en-us
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Get Active Directory User Last Logon
    Create an Active Directory test domain similar to the production one
    Management of test accounts in an Active Directory production domain - Part I
    Management of test accounts in an Active Directory production domain - Part II
    Management of test accounts in an Active Directory production domain - Part III
    Reset Active Directory user password

  • How to use dynamic parameter when a report is created using Stored Procedures

    Hi all,
    any one have the idea of how to use dynamic parameter in crystal report XI R2
    when report is created using Stored Procedure.
    Regards
    shashi kant chauhan

    Hi
    You can create an SQL command in Database Expert > Expand your datasource > Add command
    Then enter the SQL query that will create the list of values to supply to the user
    eg select field1,field2 from table
    Then edit the parameter of the report.  These will be the SP parameters adn can be seen in field explorer.
    Change the parameter type to Dynamic
    Under the word Value click on Click here to add item
    Scroll down to your Command and select one of the values that you want to appear in the list
    e.g field1
    Then click on the Parameters field - this is essential to create the param
    You can edit other options as required
    That should do it for you.
    I must say that i use CR 2008 connected to Oracle 10g SP, but i reckon this will work for SQL DB and CR XI as well
    Best of luck

  • Are people using jdeveloper to build application to replace Oracle Form ?

    We would like to hear from customers who implemented jdeveloper solution to replace form. In terms of functionality Form was a good product. But it is time to move to something open. Did anyone successfully move their Form application to java/jsp/servlet/xml app using jdeveloper? Thanks for your time.

    I just finished my third Forms -> JDev web app conversion. FWIW, my experiences were excellent all three times. However, there are three caveats here:
    1) I was brought in on these cases specifically to develop JDev web apps based on existing Forms apps. J2EE and JDev are my background; not Forms. So the Forms-to-JDev productivity loss didn't affect me; I was used to the lower productivity associated with 3GL programming. YMMV, obviously.
    2) I used Oracle JHeadstart on two of these projects. Compared to "vanilla" JDeveloper 10.1.2, JHeadstart gave me a lot of functionality, such as multi-row edit tables and lookup-driven LOV popups, that are expected by Forms users but that were especially muddy to implement in JDev 10.1.2. I think this is significantly mitigated by changes made in JDev 10.1.3 (certainly those two particular cases are now part of standard ADF functionality), but I've only just started using that.
    3) Even with JHeadstart (and, I anticipate, even with 10.1.3), there is some "expectations adjustment" that has to be done if your user base is used to Forms. The JDeveloper web UI framework (ADF Faces, in its latest incarnation) is getting more and more "AJAX-y" and interactive, but you're still not going to fool anybody into thinking they're running a full-featured desktop application. This really isn't a criticism of JDev or ADF in any way; it's only the bleedingest edge in web apps that comes close to that kind of functionality.

  • BPEL how to assign task to users which are kept in DB

    Hi,
    I want to integrate users stored in table with worklist. For, this I defined sql authenticator at weblogic myrealm, then I see the users at weblogic console. Then, at jdeveloper I search users at human task editor but I see only default provider users , I dont see db users.
    do you have any idea what am I missing?

    Hi,
    Please check forum subject. This forum is only for SAP Business One user. Apparently you are not. Close your thread and post to a proper forum.
    Thanks,
    Gordon

  • VS Workflow - Erroring out when multiple records are created by same user

    Hi,
    I am using SP 2013. I have a visual webpart and custom sequential workflow. The webpart saves the data to a custom list and the workflow is associated to the custom list on Item creation only. In the workflow, I am breaking the role inheritance and setting
    permission to specific set of users, and then the normal approval workflow happens. The whole workflow condition works fine, but if the user is raising multiple requests one after another, the workflow seems to break either in the Break inheritance or granting
    permission. If the user raises only one or two requests then everything works fine.
    Below are the errors which I am getting in the workflow:
    Error 1:
    Error: Save Conflict. Your changes conflict with those made concurrently
    by another user. If you want your changes to be applied, click Back in your Web
    browser, refresh the page, and resubmit your changes.
    I have already checked this :
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/60ab04fd-9650-427d-a48f-784bc22fae05/workflow-and-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user?forum=sharepointdevelopmentprevious_
    http://adrianhenke.wordpress.com/2010/08/20/sharepoint-error-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user/
    I have also implemented the "Reload" thing posted in the above URL. This error only happens when multiple new requests are getting raised by same user. This error does not happen if I terminate the workflow and re-start the workflow.
    How to fix this?
    Thanks

    Hi,
    Based on my understanding, you have a Visual Web Part for adding new item into a list. A workflow will be triggered when item creation in this list. Everything works
    fine except when an user adds multiple items in a short period.
    If this is the case, plus with the error message, a possible cause is that the SharePoint Server and the workflow engine are not functioning effectively enough to
    handle the multiple request in a short time, therefore a scenario is that when there is new item being added into the database, the workflow modifies the “RoleAssignments” property of this item at the same time, this may cause a “Save Conflict” error.
    As you said, “If the user raises only one or two requests then everything works fine”, a workaround is that you can disable the adding item function in Visual Web
    Part forcibly in a specific period after a new item is being added by current user, it can leave some time for handling the item creation and item modification.
    Or if there is a need to submit multiple items concurrently, we can organize the requests into one request, then handle this item with other custom logic in your workflow.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Error when users tries to create a cart.

    Hi there ladies and gents,
    We are getting an error when a user is trying to create a cart, the following error appears
    "No data found for contact person "XXXXXXXX" Inform system administrator"
    We have check PPOMA_BBP and also HR have checked there area and all seems ok???
    Any ideas???

    What i can tell you after running BBP_BP_OM_INTEGRATE for business partner, employee role, i get the following : -
    @5C\QError@     Error determining address for employee DD0A7F0F4A3D83F1AA8D0016353BF3FF     @5F\QNo long text exists@
    and
    @5C\QError@     Employee relationship between BP 0000004261 and BP(Org) 0000002669 missing     @35\QLong text exists@
    The help says the following but i am sorry to say it means nothing to me : -
    Employee relationship between BP 0000004261 and BP(Org) 0000002669 missing
    Message no. BBP_UM_UI040
    System Response
    The assignments of the BP units of the employee &V2& -> Natural person of the employee (if necessary -> Contract) -> Work Center -> Position -> BP of the Position lead to BP &V1&. There is, however, no connection between the business partner objects.

  • Redaction problem - when applied, boxes are created on all other pages

    We are redacting PDFs converted from PowerPoint. When we apply redactions, a block of color the same size and location of each redaction appears on every page. There is no background on the documents. I created redactions of different colors, and those different colors showed up on all pages when the redactions were applied.
    We can find no explanation or fix. A workaround is to make the redaction color white which blends into our document but we want to not have the blocks show up. There is a forum question from 2012 with this question but no answer.

    We are having the same problem as well. It does appear to be document specific and is reproducible. Could someone kindly look into this?

Maybe you are looking for

  • Invalid Cursor state Exception  -  Help required

    Hi, I'm having a web page(JSP), which is making use of 3 ResultSet objects. Using the first two, i'll populate two different Drop down list, with values from database(Access) while loading the page for first time. Now if the user select any value fro

  • Unable to extend table

    Hi All, I have Oracle 8i installed on Redhat 7.3 I am trying to import from a large dmp file (10 GB). Initially I was getting error related to "unable to extend datafile", which I got over by creating multiple datafiles with size 2GB each. Thanks to

  • Lync 2010 client promt for credentails to EWS server, ONE time on every login

    Hello I have a problem with Lync promting user to login to the EWS service. There is a lot of articles regarding this issue on the forums out there. But all the articles address issues with the autodiscover endless passwords promt and EWS not beeing

  • Using Mockito for writing ATG test case

    Hi, Does anyone have idea about writing unit test case for ATG using Mockito? I came across following discussions while goggling - https://forums.oracle.com/thread/2531576 http://stackoverflow.com/questions/9373782/using-powermock-to-obtain-the-atg-n

  • Formatting Chart Axis

    Is it possible to format the y axis on a chart to show currency amounts instead of just numbers? Thanks.