How To use the Task Service to update  a task's outCome

Hello EveryBody,
I started with SOA suite 11g two months ago. I am trying all the possibilities to convaince my bosses of this technology.
My problem is how to use the task service to update an outcome. I have already succeeded to create a client of the task query service.
Thank you

You can use Task Service API's to update any properties of a task:
In your case, to update the outcome of the task, you can use the following API:
Task updateTaskOutcome(IWorkflowContext context,
java.lang.String taskId,
java.lang.String outcome)
throws StaleObjectException,
WorkflowException
For more details, look into the following links:
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/bp_workflow.htm#BACHEFDH
http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e10660/oracle/bpel/services/workflow/task/ITaskService.html#updateTaskOutcome_oracle_bpel_services_workflow_verification_IWorkflowContext__java_lang_String__java_lang_String_
Thanks,
Navaneeth

Similar Messages

  • How to use the same services-config for the local and remote servers.

    My flex project works fine using the below but when I upload my flash file to the server I doesn't work, all the relative paths and files are the same execpt the remote one is a linux server.
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service id="amfphp-flashremoting-service"
                class="flex.messaging.services.RemotingService"
                messageTypes="flex.messaging.messages.RemotingMessage">
                <destination id="amfphp">
                    <channels>
                        <channel ref="my-amfphp"/>
                    </channels>
                    <properties>
                        <source>*</source>
                    </properties>
                </destination>
            </service>
        </services>
        <channels>
        <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>
        </channels>
    </services-config>
    I think the problem  is the line
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
    but I'm not sure how to use the same services-config for the local and remote servers.

    paul.williams wrote:
    You are confusing "served from a web-server" with "compiled on a web-server". Served from a web-server means you are downloading a file from the web-server, it does not necessarily mean that the files has been generated / compiled on the server.
    The server.name and server.port tokens are replaced at runtime (ie. on the client when the swf has been downloaded and is running) not compile time (ie. while mxmlc / ant / wet-tier compiler is running). You do not need to compile on the server to take advantage of this.
    Hi Paul,
    In Flex, there is feature that lets developer to put all service-config.xml file configuration information into swf file. with
    -services=path/to/services-config.xml
    IF
    services-config.xml
    have tokens in it and user have not specified additional
    -context-root
    and this swf file is not served from web-app-server (like tomcat for example) than it will not work,
    Flash player have no possible way to replace token values of service-config.xml file durring runtime if that service-config.xml file have been baked into swf file during compilation,
    for example during development you can launch your swf file from your browser with file// protocol and still be able to access blazeDS services if
    -services=path/to/services-config.xml
    have been specified durring compilation.
    I dont know any better way to exmplain this, but in summary there is two places that you can tell swf  about service confogiration,
    1) pass -services=path/to/services-config.xml  parameter to compiler this way you tell swf file up front about all that good stuff,
    or 2) you put that file on the webserver( in this case, yes you should have replacement tokens in that file) and they will be repaced at runtime .

  • When i update apps on my iphone they need the ID that i used when i downloaded these app and i forgot this ID and a make a new ID how i used the new one to update these apps thanks

    Hello all,
    when i update apps on my iphone they need the ID that i used when i downloaded these apps and i forgot this ID and a make a new ID
    How i used the new one to update these apps?
    thanks

    Your device can hold apps from multiple IDs, but to update them you have to swicth identities which is time consuming. If possible use only the one ID. If you need to reset the password for your old ID visit My Apple ID.
    tt2

  • How to use the Latest End to handle overdue task?

    Experts,
      How to use the Latest End to handle overdue task?
      Thanks you very much!
    Ken.li

    Hi KL,
    could you give more details to get more from the Forum Experts.
    Just to give you an example. If you using a User Decision step and you want a Deadline to be set, click on the Latest End tab for the User Decision Step, there is a Refer/Date/Time column, list out 'Work item creation'.
    Below you would find Time column, enter appropriate period.
    If you want a message to be escalated to someone after the period that you entered above has passed, you can enter the recipient in the column 'Recipient of message'.
    Hope it helps.
    Aditya
    P.S - how good your query is, better answers you can expect from others.

  • How to use the Stored Procedure to update my UDF

    I want to use the Stored Procedure to update my UDF U_InstokCS when the warehouse "OnHand" was changed. The UDF is display the stock by cases. I copied the query as follewing. I couldn't see any thing in the UDF after I made some transactions. Can anybody tell me why? How to continue it?
    if @transaction_type in ('A','U','D') and @Object_type='64'
    begin
    Update OITW
    Set U_InstokCS = OnHand/(Select T0.NumInBuy from [DBO].[OITM] T0
    Where T0.ItemCode = @list_of_cols_val_tab_del)
    Where ItemCode = @list_of_cols_val_tab_del
    end
    Thanks.
    Ying Zhang

    Ying,
    The use of any stored procedures against the SAP Business One database is not allowed per SAP Support.  There is not an instance where you can use SP's.  The ONLY SP that you are allowed to use is the SBO_SP_TransactionNotification SP that comes with SAP Business One itself. You can read about the use of this SP from this article...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e991e2b9-0901-0010-0395-ef5268b00aaf
    Eddy

  • How can i add my outlook email to my ipad without useing the Exchange Service?

    Please help me in this, How can i add my outlook email to my ipad without useing the Exchange Service?

    I'm afraid you've posted in the wrong place. This is a technical forum around a particular product called 'SharePoint'. This does talk to Exchange and Outlook in places but we don't specialised in either of those. You should have a look for one of the
    generic Outlook support forums or contact your IT department if it's a work related account.

  • How to use the Output clause for the updated statment

    How to use the output clause for the below update stament,
    DECLARE @MyTableVar table(
        sname int NOT NULL)
    update A set stat ='USED' 
    from (select top 1 * from #A 
    where stat='AVAILABLE' order by sno)A
    Output inserted.sname
    INTO @MyTableVar;
    SELECT sname
    FROM @MyTableVar;
    Here am getting one error incorrect syntax near Output
    i want to return the updated value from output clause

    see
    http://blogs.msdn.com/b/sqltips/archive/2005/06/13/output-clause.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to use the updated value in the same update statement

    Hello,
    I just wonder how to use the updated new value of other column in the same udpate statement. I am using Oracle 11.2, and want to update the two columns with one update statement as following:
    create table tb_test (id number(5), tot number(5), mon_tot number(5));
    update tb_test set (tot = 15, mon_tot = tot *15) where id = 1;
    ...I would like to update both tot and mon_tot column, the value of mon_tot shall be determinted by the new value of tot.
    Thanks,
    Edited by: 939569 on 1-Feb-2013 7:00 AM

    Edit: example added
    SQL> create table tb_test
      2  ( id number(5)
      3  , tot number(5)
      4  , mon_tot number generated always as (tot*15) virtual
      5  );
    Table created.
    SQL> insert into tb_test (id, tot) values (1, 5);
    1 row created.
    SQL> select * from tb_test;
            ID        TOT    MON_TOT
             1          5         75
    1 row selected.
    SQL> update tb_test
      2  set    tot = 15
      3  where  id = 1;
    1 row updated.
    SQL> select * from tb_test;
            ID        TOT    MON_TOT
             1         15        225
    1 row selected.

  • I lost my Iphone 3GS. My brother has given me his Iphone 4 now. We both use the same notebook to update and sync our phones. I would like to know how can i reconnect back to my account using the Iphone which was previous used by my brother.

    I lost my Iphone 3GS. My brother has given me his Iphone 4 now. We both use the same notebook to update and sync our phones. I would like to know how can i reconnect back to my account using the Iphone which was previous used by my brother.

    If you are saying that you both have iCloud accounts and use the same icloud ID, then yes, the contacts will be deleted.  The idea is that all devices using the same icloud ID are kept in sync.  You need to use different IDs.  You can keep the same iTunes ID so you can share the songs and apps.  But use different icloud IDs.

  • How to use a Web Service after creating the reference

    I created a Web Service reference and APEX 3.1 and it recognizes it.
    The WS has a list of customers. The XML file (WS result) has XSD then the customers data.
    The only thing I can do inside APEX is to create a form based on WS with a field that has a dump of the WS result.
    I do not know how to use the XML data in the WS to show the customers data in APEX.
    I appreciate it, if you can point me to any article or documentation taht show to consume WS in APEX
    Thanks
    Mo

    Jason
    My post above does not make sense because the browser converted the "lt" and "gt" that I saw in the form when I copied and paste to < and > as it should do.
    below I will attach the XSD
    &lt;?xml version = &quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
    &lt;VFPDataSet&gt;
         &lt;xsd:schema id=&quot;VFPDataSet&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot;&gt;
         &lt;xsd:element name=&quot;VFPDataSet&quot; msdata:IsDataSet=&quot;true&quot;&gt;
              &lt;xsd:complexType&gt;
                   &lt;xsd:choice maxOccurs=&quot;unbounded&quot;&gt;
                   &lt;xsd:element name=&quot;curCustomers&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;
                                  &lt;xsd:complexType&gt;
                                       &lt;xsd:sequence&gt;
                                            &lt;xsd:element name=&quot;customerid&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;5&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;companyname&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;40&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;contactname&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;30&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;contacttitle&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;30&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;address&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;60&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;city&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;region&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;postalcode&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;10&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;country&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;phone&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;24&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;fax&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;24&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                       &lt;/xsd:sequence&gt;
                                  &lt;/xsd:complexType&gt;
                             &lt;/xsd:element&gt;
                        &lt;/xsd:choice&gt;
                        &lt;xsd:anyAttribute namespace=&quot;http://www.w3.org/XML/1998/namespace&quot; processContents=&quot;lax&quot;/&gt;
                   &lt;/xsd:complexType&gt;
              &lt;/xsd:element&gt;
         &lt;/xsd:schema&gt;

  • How to use the default database service name on creating procedure for data

    how to use the default database service name on creating procedure for datagaurd client failover ??? all oracle doc says create a new service as below and enable at DB startup. but our client is using/wanted database default service to connect from application on the datagaurd environment (rac to non rac setup).please help.
    Db name is = prod.
    exec DBMS_SERVICE.CREATE_SERVICE (service_name => 'prod',network_name =>'prod',failover_method => 'BASIC',failover_type => 'SELECT',failover_retries => 180,failover_delay => 1);
    says already the service available.
    CREATE OR REPLACE TRIGGER manage_dgservice after startup on database DECLARE role
    VARCHAR(30);BEGIN SELECT DATABASE_ROLE INTO role FROM V$DATABASE;
    IF role = 'NO' THEN DBMS_SERVICE.START_SERVICE('prod');
    END IF;
    END;
    says trigger created, but during a swithover still the service is listeneing on listener.
    tns entry.
    prod =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (LOAD_BALANCE = YES)
    (ADDRESS = (PROTOCOL = TCP)(HOST = prod1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = prod2)(PORT = 1521)) ---> primary db entry
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = proddr)(PORT = 1521)) --> DR DB entry
    (CONNECT_DATA =
    (SERVICE_NAME = prod)
    thanks in advance.
    Edited by: 854393 on Dec 29, 2012 11:52 AM

    Hello;
    So in the example below replace "ernie" with the alias you want the client to use.
    I can show you how I do it :
    First an entry need to be added to the client tnsnames.ora that uses a SERVICE_NAME instead of a SID.
    ernie =
    (DESCRIPTION =
        (ADDRESS_LIST =
           (ADDRESS = (PROTOCOL = TCP)(HOST = Primary.host)(PORT = 1521))
           (ADDRESS = (PROTOCOL = TCP)(HOST = Standby.host)(PORT = 1521))
           (CONNECT_DATA =
           (SERVICE_NAME = ernie)
    )Next the service 'ernie' needs to be created manually on the primary database.
    BEGIN
       DBMS_SERVICE.CREATE_SERVICE('ernie','ernie');
    END;
    /After creating the service needs to be manually started.
    BEGIN
       DBMS_SERVICE.START_SERVICE('ernie');
    END;
    /Several of the default parameters can now be set for 'ernie'.
    BEGIN
       DBMS_SERVICE.MODIFY_SERVICE
       ('ernie',
       FAILOVER_METHOD => 'BASIC',
       FAILOVER_TYPE => 'SELECT',
       FAILOVER_RETRIES => 200,
       FAILOVER_DELAY => 1);
    END;
    /Finally a database STARTUP trigger should be created to ensures that this service is only offered if the database is primary.
    CREATE TRIGGER CHECK_ERNIE_START AFTER STARTUP ON DATABASE
    DECLARE
    V_ROLE VARCHAR(30);
    BEGIN
    SELECT DATABASE_ROLE INTO V_ROLE FROM V$DATABASE;
    IF V_ROLE = 'PRIMARY' THEN
    DBMS_SERVICE.START_SERVICE('ernie');
    ELSE
    DBMS_SERVICE.STOP_SERVICE('ernie');
    END IF;
    END;
    /lsnrctl status - should show the new service.
    When I do this the Database will still register with the listener. I don't give that to the clients. That one will still be available but nobody knows about it. Meanwhile "ernie" moves with the database role.
    So in my example the default just hangs out in the background.
    Best Regards
    mseberg
    Edited by: mseberg on Dec 29, 2012 3:51 PM

  • How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    To see what reports are running, take a look at the execution log views that are available in the database.  Which views that are available are dependent on your version of SSRS.
    http://technet.microsoft.com/en-us/library/ms159110.aspx
    To see which application is using SSRS is a little more difficult.  You can turn HTTP logging on, which will give you an idea of where connections are coming from, so you can see IP addresses.  You can also look at the execution log view to see
    user accounts.  So, depending on your environment and use of service accounts, this could be easy, or difficult.
    http://technet.microsoft.com/en-us/library/bb630443.aspx
    If all else fails you can look for clues in the SSRS logs.  Good luck...

  • How to use the code to update to mountain lion?

    hi
    How can you use the code tu free update to Mountain Lion?  thks

    Basically you are asking as how to port silverlight to Xaml (RT). Go one by one converting each API from silverlight to XAML, like IsolatedStorage isn't there in RT, so look for its alternative etc.
    See here the namespace/class mappings : Windows Phone Silverlight to Windows Runtime namespace and class mappings
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • How to uncover and use the hidden Service menu on the Galaxy S3

    I ran across this article over at Android Central that appeared interesting, there appears to be a diagnostic menu built into the S3 software to test the hardware for defects, this may be a useful item for any users that feel that they have a defective device...   Check out the article at How to uncover and use the hidden Service menu on the Galaxy S3

    That's good to know that such options exist in phones.

  • My MACBOOK Pro turned out to be Snow Leopard, and later upgraded to LION. And update the EFI, I would like to replace the Snow Leopard, EFI can not boot, how do? How to use the Snow Leopard install disk to reduce EFI?

    My MACBOOK Pro turned out to be Snow Leopard, and later upgraded toLION. And update the EFI, I would like to replace the Snow Leopard, EFIcan not boot, how do? How to use the Snow Leopard install disk to reduce EFI?

    Do you mean some of your software does not work in Lion? Do you want to return to using Snow Leopard? If so, then do this:
    Downgrade Lion to Snow Leopard
    1.  Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Quit DU and return to the installer. Install Snow Leopard.
    This will erase the whole drive so be sure to backup your files if you don't have a backup already. If you have performed a TM backup using Lion be aware that you cannot restore from that backup in Snow Leopard (see below.) I suggest you make a separate backup using Carbon Copy Cloner 3.4.1.
    If you have Snow Leopard Time Machine backups, do a full system restore per #14 in Time Machine - Frequently Asked Questions.  If you have subsequent backups from Lion, you can restore newer items selectively, via the "Star Wars" display, per #15 there, but be careful; some Snow Leopard apps may not work with the Lion files.

Maybe you are looking for

  • Random rebooting. Mac Pro. Bootcamp.  Why?

    Hi I have an early 2008 Mac Pro running bootcamp and last night it started randomly rebooting. Sometimes it occurs a couple minutes after it has booted. Sometimes it takes longer. As I am pretty Mac-illiterate I would greatly value any help in this m

  • My G-drive slim is full and is deleting  oldest files.  How can I choose which files to delete?

    My g-drive slim is full and deleting old files.  How can I select files to delete? What about deleting from "new" on the desk-top, which I assume is the hard drive.

  • BAPI to delete sales order

    Can I delete my sales order using a BAPI. I know it is possible using the screen transaction. But I need to do it using a BAPI ? Thanks in advance.

  • ASNs with Third Party Orders

    Hi All, I ve tried my luck by posting this question some time back but had no response. Want to try once more. The scenario is with Third Part Order Processing. We have some third party orders. The vendor manufactires the goods and ships it directly

  • WP 8.1 Emulator not working on Windows 8.1 x64

    Windows Phone 8.1 Emulator not working on Windows 8.1 x64  Ram 2GB,Hyper-V is enabled Error:Windows Phone Emulator is unable to set some properties on the virtual machine : 1.Couldn't change memory of virtual machine'xyxyxyxyxyxyyxyx' failed to modif