Invoke task from another process defnition - Is this possible

Is this possible to invoke task from another process defnition?
PD1 has task1
PD2 has task2
call PD1.task1 from PD2.task2
If possible, then what API method should I use.
Thank you!

You would start by using the findObjects API to find all the objects for a specifc user. Then you would want to find the appropriate one from the result set. Then once you find this, you will need to either query the database or use apis to find the task key for the specific task name you want for that process definition. Once you have the process instance key and the task instance key for that user, you can then use the api to insert task into the users process instance.
Not sure all the APIs to use, but in the end you'll use addProcessTaskInstance found in the tcProvisioningOperationsIntf. You can search the forums for that API and examples of it's usage.
-Kevin

Similar Messages

  • Can invoke MIDlet from another MIDlet?

    Dear friends,
    I have two MIDlet i want to invoke one MIDlet from another MIDlet based on user input. Is J2ME support this feature or not? please explain in detail.
    Ex:
    MIDlet1.java
    MIDlet2.java
    i want to access MIDlet2 from MIDlet1 as,
    MIDlet1 obj = new MIDlet2();
    obj.startApp();
    i tried this but i didn't get any compilation error but it won't execute at run time.
    please explain me if any one faced and resolve similar error.
    Regards,
    guna.

    Hi,
    I wants to invoke MIDlet from another MIDlet for the following reason,
    I developed a simple chat application. The MIDlets are, Sender & Receier.
    Sender home window, will collect sender name,receiver name and number.
    Then open another window for Messaging.
    On receiver end, after receive the message the user can reply to the message,
    on Reply i have to invoke Sender application which have user information (sender name,receiver name & number) to get sender name. Once i open Sender window it will take care necessary action to send the message.
    Please explain me now, how to call Sender MIDlet from Receiver MIDlet.
    Regards
    guna.

  • How can i import contacts from another AIM account to this new one

    If you reference my last ichat question, you will see that I have had serious problems and had to create a new account.
    How can I import contacts from another AIM account to this new one??

    Hi,
    Use AIM for Mac and use the Export and Import features.
    Other than that it is a question on making sure every Single Buddy has more than just their Screen name in the IChat Address Card so it is added to the Address Book and dragging them back from there
    9:08 PM Thursday; February 7, 2008

  • I tried to invoke WS from BPEL process

    I tried to invoke WS from BPEL process. And error occurred when I deployed the process.
    Error:
    [ERROR ORABPEL-10902]: COMPILING FAILED.
    [NOTE]: IN "bpel.xml", XML syntax analysis failed. The reason is "Part Element not defined".
    In "http://192.168.0.188:8989/newTest-newTest-context-root/MyorderListWS?wsdl" , Message Part Element "{http://www.w3.org/2001/XMLSchema}any" is not defined in any SCHEMA。
    Please make sure to spell the definite name of the ELEMENT correctly and import WSDL completely.
    wsdl file(IMyorderListWS.wsdl)
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!--Generated by the Oracle JDeveloper 10g Web Services WSDL Generator-->
    <!--Date Created: Thu Sep 29 17:00:15 CST 2005-->
    <definitions
    name="MyorderListWS"
    targetNamespace="http://zbht/com/orderList.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://zbht/com/orderList.wsdl"
    xmlns:ns1="http://zbht.com/IMyorderListWS.xsd">
    <types>
    <schema
    targetNamespace="http://zbht.com/IMyorderListWS.xsd"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"/>
    </types>
    <message name="getResInfo0Request">
    <part name="custID" type="xsd:string"/>
    <part name="prodctID" type="xsd:string"/>
    </message>
    <message name="getResInfo0Response">
    <part name="return" element="xsd:any"/>
    </message>
    <portType name="orderListPortType">
    <operation name="getResInfo">
    <input name="getResInfo0Request" message="tns:getResInfo0Request"/>
    <output name="getResInfo0Response" message="tns:getResInfo0Response"/>
    </operation>
    </portType>
    <binding name="orderListBinding" type="tns:orderListPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getResInfo">
    <soap:operation soapAction="" style="rpc"/>
    <input name="getResInfo0Request">
    <soap:body use="encoded" namespace="MyorderListWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
    <output name="getResInfo0Response">
    <soap:body use="literal" namespace="MyorderListWS"/>
    </output>
    </operation>
    </binding>
    <service name="MyorderListWS">
    <port name="orderListPort" binding="tns:orderListBinding">
    <soap:address location="http://192.168.0.188:8989/newTest-newTest-context-root/MyorderListWS"/>
    </port>
    </service>
    </definitions>
    /*****************************************************************************************/

    In your wsdl ...
    instead of
    <part name="custID" type="xsd:string"/>
    try
    <part name="custID" element="xsd:string"/>
    the part is usually an element such as
    <element name="BPELProcess1ProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    hth clemens

  • How to call OID delete user process task from AD process definition

    Hi All,
    I wanted to call OID delete user process task from AD process def. I have created a process task in AD Process def which will be integrated with OID Delete User adapter. How can i map OID related attributes to the adapter api?
    Expected inputs for OID delete api :
    root DN
    orgDN
    admin pwd
    server
    attr lookupcode
    XLOrgFlag
    sProcessInsKey
    UserID
    PDataOrg
    port
    AdminID
    SSLFlag
    here i cannot map some like : sProcessInsKey
    any pointers would be appreciated.
    Regards,
    Ashok

    OID delete user process task from AD process defWhy don't use call Revoke Resource API ?
    http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_904/doc_cd/javadocs/operations/Thor/API/Operations/tcUserOperationsIntf.html#revokeObject%28long,%20long%29
    Use getObject API
    Iterate through resultset.
    If RONAME == OID User then call revokeObject

  • HT1386 When I plug my iPhone into my iMac via USB I can choose to "back up to this computer".  On another sync to my iMac, can I choose to " back up to the iCloud"?  This way I could restore all my info and settings from either source.  Is this possible?

    When I plug my iPhone into my iMac via USB I can choose to "back up to this computer".  On another sync to my iMac, can I choose to " back up to the iCloud"?  This way I could restore all my info and settings from either source.  Is this possible?

    On the phone, under Settings > iCloud you can select to turn iCloud ON or OFF.
    One iTunes, it senses that toggle and if you had selected iCloud it will say backup to iCloud. Here you can change the toggle to backup to computer and click "Apply" prior to syncing.
    I do both for good measure. I backup to computer and then after i disengage the device from the computer, I set the iCloud toggle back to ON and then perform the iCloud backup over wifi.
    I found that using iTunes and saying to backup to iCloud isn't always successful in the "last backed up" time and thus I do it separately.

  • HT4356 I am looking to carry a mono laser printer onboard my van to print invoices from my iPad. Is this possible with AirPrint, I have no WiFi modem or computer onboard. Kind Regards Rob

    I am looking to carry a mono laser printer onboard my van to print invoices from my iPad. Is this possible with AirPrint, I have no WiFi modem or computer onboard. Kind Regards Rob

    Only if you have an airprint printer that supports ad hoc network connections (ad hoc connections are one wifi device connecting over the air directly with another).
    If you search for "airprint ad hoc" you'll get plenty of hits - several printers to choose from it looks like.

  • I have two monitor speakers that I would like to airplay to from my iMac. Is this possible? Is there an adapter or receiver? The monitor speakers are KRK VXT8.

    I have two monitor speakers that I would like to airplay to from my iMac. Is this possible? Is there an adapter or receiver? The monitor speakers are KRK VXT8.

    They have a trial version you can test before you purchase. It limits you to 10 minutes of streaming before it starts inserting noise into the stream.
    But you may not need it. I've read a bit further, and it appears that you may be able to stream any system audio to an Airport Express without needing AirFoil since you have Mountain Lion. I though it would work only with an Apple TV, but I've seen mention that it works with the AE as well (I don't have one to try). When you get your Airport Express set up, go to the Sound (speaker) icon in the menu bar, hold down the Option key, and click the icon. You may see the AE listed there as a selectable output device; if so, select it and all your system audio should be sent to the AE, including Spotify.
    Regards.

  • Hi, i wanted to resize my windows partion. I was thinking of using the default backup system for windows. Then switching to mac partion, deleting the bootcamp and then restoring a new enlarged partion from the backup. Is this possible?

    hi,
    i wanted to resize my windows partition. I was thinking of using the default backup system for windows. Then switching to mac partion, deleting the bootcamp and then restoring a new enlarged partition from the backup. Is this possible?

    I see youhave gotten recommendatons for using WinClone or CampTune.  I have used both and they both work well.
    You have asked about using the WIndows 7 utility to backup your drive and restor it onto a larger partition.  I will tell you fro experience that this will probably not do what you want, and may do something that you don't want.  You can use the Windows 7 native backup tool to make a backup of your Windows 7 partition.  It will most liekly end-up making a dive image of the whole drive.  When yourestore that backup, it will try to re-create teh partitions of exactly the same size as they were when the backup was taken, so it won't increase your partition size for you.  Worse, since Windows doesn't natively know how to read./write HFS+ volumes, the backup will make a partition for your MacOS (replacing any you may have now), except that the copy restored by WIndows will be totally worthless, and you will not be able to boot MacOS from it, or even read it under MacOS.
    Now I will tell you that I've also had some fairly good success working with the free tool CloneZilla.  Since it hasn't been mentioned yet, and everything else mentioned does cost you money, I thought I would throw it out.  CloneZilla is not as easy to use as the tools mentioned, but it has worked for me int hte past, so it is something to consider.  I tend to use CampTune myself, but that was because I purchased a bundle deal for them and it was included in that deal.

  • Calling Forms 6i from Reports 6i. Is this possible. Run Product in Reports

    Re: Calling Forms 6i from Reports 6i. Is this possible?
    Hello,
    I have need programming in Oracle 9.x and using Forms and Reports for about 1.5 years. My ERP application calls a report from a form. I DO NOT have source code for the FORM. But, I DO have source code for the Report. So, from the Report 6i, I would like to call an Oracle Form 6i. Note: Not WEB based. My question is, IS THIS POSSIBLE. I can not find a command like Run Product in Report for calling a Form Application. Can someone please help me. I am under the gun to have this ready in a couple of days. Can I call an Active X Application from Reports..if Oracle Forms DOES NOT WORK. This needs to be a Form Application because of the nature of this request.
    Thank you
    Dennis

    Thank you
    ...the ERP vendor based on a form icon button will call a report. They will pass a TAG_NUMBER from a database record (that they just inserted) to the report. This tag_number will link to other tables and will display the report. The problem is ??..there is additional information that the user needs to scan into the database BEFORE the report runs. This is part of the business work flow.
    I have options.
    1) Get the ERP Vendor to call a FORM based on the name I provide to them.(Not really an option since they are unwilling to make custom mod changes.)
    2) Have the user key into the REPORTS PARM FORM. And I will update the tables...
    3) Call an Active OCX popup FORM from Reports and then update tables. Is this possible from Reports???..I am not sure if I like to introduce ms vb into an oracle application. It just does not seem to be a correct solution/procedure.
    4) Pay the ERP Vendor as a custom mod to make the changes for us. (unlikely because they do not like making custom mod changes)
    5) ....any more ideas/comments please let me know..
    Thank you Again
    Dennis Aubrey

  • Hi, I would like to synchronize my iphone's calendar in another computer. Is this possible?

    Hi, I would like to synchronize my iphone's calendar in another computer. Is this possible?

    Welcome to the Apple community.
    You can use any valid email address for your Apple ID. When you do so you are given an alternate .me address, which you then use as your iCloud mail address. You do not need to use the .me address if you don't want to, but only the.me address will sync via iCloud. You can set up your regular email address in the same way as you always have done and continue to use it if you wish to do so.

  • I am making an album with Snapfish and would like to download ome of my photos from iphoto to snapfish, is this possible?

    I am making an album with Snapfish and would like to download some of my photos from iphoto to Snapfish, is this possible?

    You mean "upload"?
    There are many, many ways to access your files in iPhoto:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.

  • Problem in invoking TaskMAnager from another BPEL process

    Hi,
    I have created a BPEL process having its own xsd schema file and i have also imported Task.xsd.In this process i want to invoke TaskManager Service in java Embed activity(bpel:exec language="java") in following manner:
    /////////////////////////////////////////////////CODE////////////////////////////////////////////////
    Task task = TaskFactory.createFacade(new QName("http://services.oracle.com/bpel/task", "task"));
    task.setTitle("Task Title");
    task.setCreator("ProcessManager...");
    task.setAssignee("assignee");
    task.setPriority(3);
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload",task.getRootElement());
    Locator locator = new Locator("default","bpel");
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    deliveryService.post("TaskManager", "initiateTask", nm );
    ////////////////////////////////////CODE////////////////////////////////////////////////////////
    It creates the instance of taskmanager but following error occur in its initiate task.
    //////////////////////////////////ERROR/////////////////////////////////////////////////////////////
    <IntiateFault xmlns="http://services.oracle.com/bpel/task">
    <part name="summary">
    <summary>Cannot update task. The process domain was unable to insert the data for task "LocalGUID:c568752ccc493590:148662:1089e600035:-7fd4" in the datasource. The exception reported is: [POL-5134] invalid host variable type Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid. sql statement: INSERT INTO task( domain_ref, conversation_id, title, creation_date, creator, modify_date, modifier, assignee, status, expired, exp_date, priority, template, custom_key, conclusion ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )</summary>
    </part>
    </IntiateFault>
    //////////////////////////////////ERROR/////////////////////////////////////////////////////////////
    Thanks
    Nancy

    By default the BPEL 10.1.2, it will do a local call to the process. It will not execute a SOAP request, no network access is done.
    It can be configured at domain level:
    Parameter: optSoapShortcut (SOAP local optimization)
    Turns on "short-cut" for local SOAP request; local SOAP calls are normally done via an internal call instead of sending a message through the SOAP stack.
    The default behavior for the engine is to optimize all. To disable optimization specify a value other than "true" or "yes".

  • Completing Task from other process

    Hi,
       I need to complete a Task assigned to User queue from other process. For example,
        I have a Workflow A which creates task and assigns it to user "xyz", this task can be completed in two ways,
           1) User xyz logs on to workspace and completes the task, normal straight forward way.
           2) A scanned document (.pdf) is copied to Watched Folder which kicks of another Workflow B, now this workflow B needs to complete the
            task which is currently assigned to user "xyz".  Any idea how?
       I need your help/advice on option 2.
    Thanks,
    Vik

    There are many Administrator roles available ; e.g Process Administrator/Forms Administrator etc.
    But did you try with Super Administrator account?
    If still not working, as a quick solution you can claim the task to your account and complete the Task.
    Please note that this will be recorded and your account name will appear on tracking.
    Nith

  • Error Invoking BPEL from another BPEL

    Hi,
    I was trying to invoke a BPEL process deployed on the server from another via the partner link activity. In the WSDL URL I gave the server URL for the WSDL, but upon attempting to parse it, the composite gave an error http 502. However, when I try to invoke services that aren't in the SOA contanier, they work out fine. Could anybody say what I'm doing wrong?

    Hi,
    Spoke with the network team, and it is indeed a proxi server problem, I just had to apply for some previlagess, and turn off the proxy checking on Jdev, and I'm home free. Thanks anyway, all.
    Bye for now.

Maybe you are looking for

  • Can I open Lightroom without upgrading my catalog?

    Unfortunately I'm not sure how to do a screen capture, so I'll try to type what I'm seeing. When I click on the LIghtroom icon, I get a message box that says "Please upgrade the catalog file "Lightroom Catalog 3" for use with Lightroom 3.  It continu

  • Handling repository of scanned files in SAP

    Hi all! 1> I want to maintain a repository of scanned documents. I will have a frontend screen through which I can handle the repository, i.e. uploading or downloading the document. Please suggest how to handle. 2> I also require a log with the chang

  • IPhoto not connected to internet

    I am getting the message that iPhoto not connected to internet. Why, internet working fine.

  • My source does not compile in 1.5 because of generics in libraries

    Hi, I have a problem with my source codes written for 1.3 and 1.4 java. I have been implementing Iterator, Collection, List and extending ArrayList in many ocassions. All works as expected in 1.4 but if I try to compile it with 1.5 it does not compil

  • Ni 9237 calibration -200077

    I'm trying to calibrate NI 9237 + NI 9945 quarter bridge strain gage in ni max. I get Error -200077 occurred at strain gage calibration. Possible reasons: Requested value is not a supported value for his property, Property AI.Min Requested value -1.0