How to change Human Task state from "Completed" back to "Assigned"

I am working with human task through BPEL Worklist API
There is Human Task with state “completed”. We need to change the state back to “Assigned”
In other words or get this task with “Assigned” state or get exactly the same task with the same number (that I can use as int parameter in ITaskQueryService.getTaskDetailsByNumber method invocation) .
Is it possible?
I tried to use ITaskService methods but without results.
Thanks.

Hi ,
This request sits in table RSBKREQUEST with processing type as 2 in data elements USTATE, TSTATE and this 2 is actually "Processed Successfully" status which is obviously wrong.
All we need is, ask your basis person to change the status to 3 in both these data elements.Then you can delete the previous bad request . Once the request is deleted, the request status gets updated as "4" in table RSBKREQUEST.
For manually status change you can use the function  module RSBM_GUI_CHANGE_USTATE
Hope this helps you...
Regards,
Debjani...

Similar Messages

  • How to change Bulk Insert statement from MS SQL to Oracle

    Hi All,
    Good day, I would like to bulk insert the content of a file into Oracle db. May I know how to change the below MS SQL syntax to Oracle syntax?
    Statement statement = objConnection.createStatement();
    statement.execute("BULK INSERT [TBL_MERCHANT] FROM '" MERCHANT_FILE_DIR "' WITH ( FIELDTERMINATOR = '~~', ROWTERMINATOR = '##' )");
    Thanks in advance.
    cs.

    Oracle SQL Loader utility allows you to insert data from flat file to database tables.
    Go to SQL Loader links on following url to learn more on this utility
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96652/toc.htm
    Chandar

  • Change State from Completed to Approved

    Hi All,
    I have a requirement to change the approval task state from Completed to Approved. I am using the standard approval process.
    Please let me know if anyone has done this before.
    Cheers
    Kunal Jain

    Hi,
    Have you tried in the tab " process task assignment" of process task configuration. For the particular task, you need to map " Completed" to approved by double clicking the field mapped to completed. It will give you a list of task names, you need to change it to " approved".
    I hope u have solved your problem already.
    All the best,
    Manila
    Edited by: user2070855 on Mar 14, 2011 6:12 AM

  • How to change a date value from "java.util.Date" to "java.sql.Date"?

    Hi all,
    How to change a date value from "java.util.Date" to "java.sql.Date"?
    I m still confusing what's the difference between them.....
    thanks
    Regards,
    Kin

    Thanks
    but my sql statement can only accept the format (yyyy-MM-dd)
    such as "select * from xx where somedate = '2004-12-31'
    but when i show it to screen, i want to show it as dd-MM-yyyy
    I m using the following to change the jave.util.Date to str and vice versa. But it cannot shows the dd-MM-yyyy. I tried to change the format from yyyy-MM-dd to dd-MM-yyyy, it shows the wrong date in my application.
         public String date2str(java.util.Date thisdate)     {
              if (thisdate != null)     {
                   java.sql.Date thissDate = new java.sql.Date(thisdate.getTime());
                   return date2str(thissDate);
              }     else     {
                   return "";
         public String date2str(java.sql.Date thisdate)     {
              if (thisdate != null)     {
                   SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
                   return sdf.format(thisdate);
              }     else     {
                   return "";
         public java.util.Date str2date(String thisdate)     {
              String dateFormat = "yyyy-MM-dd"; // = 1998-12-31
              java.util.Date returndate = null;
              if (thisdate != null)     {
                   SimpleDateFormat dateFormatter = new SimpleDateFormat(dateFormat);
                   try {
                        returndate = dateFormatter.parse(thisdate);
                   } catch (ParseException pe) {
                        System.out.println (pe.getMessage());
              return returndate;
         }

  • Change base view state from a custom component

    I'm pretty new to flex and I'm having a small issue in change the view state from a component.
    My Application have 2 custom components called userlogin and main menu. In the main application page I have userlogin component in one state and the main menu component in another. I'm trying to change the state if the login in successful from user login to main menu. I have the following function written inside the login component.
    private function IsUserLoggedIn(evt:ResultEvent):void
                    if (evt.result.islogin.toString() == "true")
                        currentState = "MainMenu";
                    else
                        Alert.show("Login failed, please try again.", "Login Failed");
    This code worked when I had all the controls in the main page. But then I created components and included them in to components and now when the login is success, its giving the following error.
    ArgumentError: Undefined state 'MainMenu'.
        at mx.core::UIComponent/getState()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UI Component.as:9908]
        at mx.core::UIComponent/findCommonBaseState()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9928]
        at mx.core::UIComponent/commitCurrentState()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:9750]
        at mx.core::UIComponent/setCurrentState()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\ core\UIComponent.as:9701]
        at mx.core::UIComponent/set currentState()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6087 ]
        at components::UserLoginForm/__btnSubmit_click()[C:\Projects\WarrantyAutomation\src\componen ts\UserLoginForm.mxml:60]
    I'm sure this has something to do with accessing the states from a custom component, but I do not know how to change the state to the main menu. Please help me with this. Any help is greatly appriciated.

    Hi dasun1981,
    private function IsUserLoggedIn(evt:ResultEvent):void
                    if (evt.result.islogin.toString() == "true")
                        currentState = "MainMenu";
                    else
                        Alert.show("Login failed, please try again.", "Login Failed");
    If I am right the above function is in your userlogin component and the two components "userlogincomponent" and "maincomponent" are in main application file and the states were also defined in main application file.
    But in the function above the currentState refers to the state of the userlogin component and not the main application ...but the states are defined in main application file...that's the reason why the exception was thrown...
    Instead you replace the line in the above function with the below line:
    Application.application.currentState = "MainMenu";
    Please mark it as answer if it helped you.
    Thanks,
    Bhasker Chari

  • How to change the task type of bdoc in sap crm

    Dear CRM Experts,
    I am new to CRM. Want to know how to change the task type  of Bdoc from update to insert. I am gettind B doc error due to the reason that under object_task the entry is U , whereas i have to change it to I (insert).
    Pls provide deatil answer. Points will be given.
    Regards
    Rajat
    Edited by: Gurinder Pal Singh on Jul 21, 2011 10:17 AM

    Hello Rajat,
    Please provide us more information about the error you have and it's description so that we can help here arounfd here.
    thanks
    Willie

  • How to Change a Default Value from Drop Down Box displayed in Web Dynpro?

    Hi,
    How to Change a Default Value from 'High' to 'Low'  in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component.  I saw a Default Value set for a RANGE field  in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
    I appreciate your help!
    Thanks,
    Monica

    hi,
    use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
    // u can use the code wizard( control +f7) this code will be auto generated when u select the
    //radio button to read the context node
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
      DATA ls_cn_node TYPE wd_this->element_cn_node.
    * navigate from <CONTEXT> to <CN_NODE> via lead selection
      lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
    * get element via lead selection
      lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    * set single attribute
      lo_el_cn_node->set_attribute(
          name =  `ATTribute name.`
          value = 'LOW' ).
    it will solve ur query ..
    also refer to this component
    wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
    regards,
    amit

  • How to change the Unitprice value from 2 decimals to 3 decimals in script

    Hi Gurus,
    how to change the Unitprice value from two decimals to three decimals for each item level for PO in script.
    Please provide some possible solutions.
    Thanks,
    V.V.

    Hi,
    Check the options available like
    &VAR(.2)&  this will print 2 decimals
    &VAR(.3)&  this will print 3 decimals
    need to change the value for how many decimals you need
    Thanks & Regards
    Sarves Sombhatla

  • How to change destination drive? From C to D?

    How to change destination drive? From C to D?
    Not enough disk space on drive C
    Solved!
    Go to Solution.

    Which device and destination for what ? Is it for the Nokia Store downloads ? If 'Yes'.. Go to Nokia Store in your phone and Log-in ..Then go to Options --> Account --> Settings --> Installation Preferences .. and select the appropriate destination..

  • How to change the file type from IMOVIE PROJECT to other types of file

    how to change the file type from IMOVIE PROJECT to other types of file??
    thank you very much for your help=]

    I am not sure what you mean, but once you make a project. Then go to the share menu and you can export the project to iDVD, itunes, mobileme, quicktime.
    Share export quicktime movie will allow you to export to a variety of codecs. What specific export are you looking to share the movie in? What is the final source that the movie will be displayed?

  • How to change view in iPhone from vertical to horizon and vice versa?

    How to change view in iPhone from vertical to horizon and vice versa?

    Not all applications will go from Portrait to Landscape. Changing just requires you to turn the device. However, if you have the orientation lock activated, then it will not change to landscape. To check, look in the status bar and see if you can see a small lock shaped icon near the battery icon. If you do, then orientation lock is activated. To turn it off, swipe upwards from the bottom of the iPhone screen to bring up Control Center. The orientation lock is the last icon on the top row to the right. Tap on it to turn it off. White is on, black is off.

  • How to change value of ${eol} from \n to \r\n, writing by File Adapter

    Hi All,
    How to change value of ${eol} from \n to \r\n, while writing file through File Adapter.
    As my file is being created in Linux environment, so for new line separater, \n is used. I mounted this file directory to windows System.
    As Windows requires \r\n for new line seperator. So I need to change value of ${eol} in the Schema created for file writing.
    Can any one provide help regarding this.
    Thanks in advance

    Hi,
    When an XML payload is written to a file \n would be used as the default line separator regardless of if its windows or linux, as per the XML specification http://www.w3.org/TR/REC-xml/#sec-line-ends.
    As such, one need not worry about the line separators because, the XML file would eventually be processed by a parser which usually would be able to understand both line endings (as they are whitespace characters as far as the parser is concerned).
    If you want to convert the line terminators (for readability etc), 10.1.3.4 has a new feature - in the XML schema definition for the file adapter payload, add these two top level directives to the schema element:
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    nxsd:normalizeLineTerminators="false"
    Regards,
    Shanmu.

  • Do anybody know how to change a PNG file from 1760 width by 1369 height to 800 x 600?

    Do anybody know how to change a PNG file from 1760 width by 1369 height to 800 x 600?

    Crop to 4x3 aspect ratio, then resize to 800x600

  • How to Change the Development Class from $TMP to YABAP in Layout

    Hi all,
    How to Change the Development Class from $TMP to YABAP in Layout( SE71).
    Thanks & Regards,
    N.L.Narayana

    Hi,
    it is possible with SE03. you just click on Change <b>Object Directory Entries</b> under the tree menu <b>Object directory</b>, and then enter in the last column of table control
    Check the check box and enter FORM and formname,
      R3TR FORM SAPscript form 
    then execute it.
    then you will be able to change it to PACKAGE from $TMP
    regards
    vijay

  • HT2534 How to change an App Store from US to South Africa

    How to change an App Store from US to South Africa

    Unknown 1234 wrote:
    I have a voucher it will only work in the French app store and I am in the Australian app store how do I change it to the french store
    iTunes Gift Cards are only Valid in Country of Issue
    Sorry... But... You cannot use other countries itunes stores.
    You must be within the Country with a Valid Billing Address and Credit Card for that Country to use the iTunes Store of that Country..
    iTunes Store Terms of Service
    http://www.apple.com/legal/itunes/us/terms.html#SERVICE

Maybe you are looking for

  • Getting a Sequence back from an S-P with typed DataSet problem

    Hi, I know there are loads of topics about sequences on this forum, but I can't seem to find this exact issue amongst them. As a learning exercise, I've created a typed dataset based on the HR sample database tables Departments and Employees (through

  • How to cummulate sales orders for creating one planned order.

    Hello friends, My scenario is make to stock. I use sales orders for creating plan only. I want to cummulate all sales orders of one finish material and create one planned order  for that material when i run mrp. How can i do this? Thanks

  • Internal Error when creating Capture Process

    Hi, I get the following when trying to create my capture process: BEGIN DBMS_STREAMS_ADM.SET_UP_QUEUE( 2 3 queue_table => 'capture_queue_table', queue_name => 'capture_queue'); DBMS_STREAMS_ADM.SET_UP_QUEUE( queue_table => 'apply_queue_table', queue_

  • Is there a way to transfer files from a hard drive that wont boot up?

    my hard drive wont boot up. even when i try to reinstall it says that it cant be reinstalled on the drive, is there a way to get the files off before i wipe it clean? (assuming i can even do that)

  • JSP Precompile Error

    Hello, We are converting our application builds from Web Logic 8.1 to 10. As part of the build, we precompile the jsps to improve the rendering time and this has worked fine in WL 8.1 so far. However, when I changed the WL version to 10, I get the fo