How to return the Id of the Instance in a webservice call?

Hi all.

I have a process that is exposed as a WS. I can create instances that calling WS from an external application.
Now I need return the instance id every time an instance is created in the WS call.
This 'return' must be almost immediately in the next activity after the start event. I have been able to return more, but can not access the information on the process here.

How can I do?
I can't be able to bind the instance Id to an outgoing argument WS.

Thanks for the help.

Directly after the start event, place an event to throw the message - I guess that's what you already have. To get the instanceId, use XPath in Associations of data of the event Message to throw away. instanceId is under the "advanced features" such as "ora:getInstanceId(). If you want to return the instanceId of the composite process, use ":getCompositeInstanceId() ora".

HTH.

Tags: Fusion Middleware

Similar Questions

  • Columns of folder: by default, how can return the first column 'Name' without having to move it manually every time?

    Something's happened awhile and when I create a folder which appears the first column is the column 'Date modified '. By default, how can return the first column 'Name' without having to move it manually every time?

    Hello

    I suggest you to visit these links and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders#section_4

    http://Windows.Microsoft.com/en-us/Windows-Vista/folders-frequently-asked-questions

    It will be useful.

  • set_item_property changing the text, but how to return the original value

    Hi all
    I use Oracle Forms Builder 10 gr 2 / I have the following problem: in a button I trigger when it is pressed. And then I change a few elements prompt text. But my problem is how to return the original prompt text. A kind of refresh or clear?


    Here is a piece of code that modifies the prompt text:
    set_item_property('XXBG_CE_STATEMENT_LINES_NEW.AGENT_NO', PROMPT_TEXT, get_item_property('XXBG_CE_STATEMENT_LINES_NEW.AGENT_NO', prompt_text) || '*');
    Thanks in advance,
    Bahchevanov.

    This is not tested, but it's something like this:

    declare
       v_item  varchar2(200);
    begin
       v_item := get_block_property('block',first_item);
       loop
          exit when v_item = 'block.'||null;
          set_item_property(...);
          v_item := 'block.'||get_item_property(v_item,nextitem );
       end loop;
    end;
    
  • How to return the approver e-mail notification iProcurement in R12?

    Hi all

    How to return the approver e-mail notification iProcurement in R12?

    Symptom: A Summit a requisition to B, need for approval of B

    (1) B lost the e-mail that is sent by A
    (2) need B a new notification sent by A.

    environment: Oracle R12.1.2 | AIX 6.1




    Concerning
    Terry Chen

    I thank you for your answer, you want to reassign B once again?

    Yes.

    Can I use the feature "Rewind"? Can this function sends notification to the user again?

    Don't know if it would work for notifications of iProcurement, then please try first the option to reassign.

    Thank you
    Hussein

  • PAPI - how to retrieve the instance

    I have a puncture and assign him to all.

    If I use PAPI, how to recover the instance selected in a specified activity?

    The following code is used to get a list of activities.

    ActivityList activitylist = ActivityList.create ();
    activitylist = session.instanceGrabbableFrom (IST);

    The code below is used to get a list of instance
    InstanceInfoList instanceinfolist = InstanceInfoList.create ();
    instanceinfolist = session.activityGetGrabbableInstances ("shenheN" "" / GDHZdemoprocess #Default - 1.0 "");

    Use Constant field values, and how to use them?

    fuego.processmodel.Activity GRAB
    fuego.papi.ProcessInstanceState GRABBED

    Hello

    I use the following to the courts using PAPI

    InstanceInfo instanceInfo = papisession.processGetInstance (instanceId);
    Even InstanceActivityPairSet = InstanceActivityPairSet.create ();
    pairSet.add (instanceInfo);
    papisession.instancesGrab (even, "GrabActivityName");

    Here instanceId is the body which must be entered. It may currently be in any activity... My activity of Grab a grasp of all.
    GrabActivityName is the name of the activity of grab

    HTH

  • How to get the Instance number as one of the fields in a form of the ADF?

    Hello

    We want the Instance # a request to be part of the shape as an output readonly text.

    (I mean the Forum # who appears in the details of the notice of monitoring process, not the activity number):

    Screen Shot 2015-07-16 at 8.42.46 AM.png

    )

    How can we get the instance # as part of the form?

    Thank you

    Hi Tali,

    The variable pre-defined information "instanceId".  If you use ADF, the human task data control, expand "Process Info" and drag it onto the form.

    I'm curious to know why you want to do it though.  If it's just so that you can report what you see in the list of "Tasks" of your workspace with instances in the list you see when you click on the tab "Monitoring of the process", I think that there is a better way.  The titles in the follow-up process tab do not have by default "No. of instance.  They may instead be given labels if you use 11.1.1.7 or 12 c.  There is a trick to this and it is shown in this blog post: display of labels for Instance in the follow-up process tab. AVIO Consulting.

    Dan

  • How to restrict the instance in the hallway to initiate the user only?

    Hello

    In my process, using BPM 11.1.1.6, there are two corridors. The first corridor (SUBMITTER) allows you to instantiate an instance, and after that some tasks in the service, the user moves to the next human task, in the same way. On request, the instance moves to the second hallway (APPROVER). However, if the applicant has not yet presented the second human task (say it just saves) then all other authors of the COMMUNICATION in the same way SUBMIITER, can see his data! Apparently, it's because the instance is given the role of the ISSUER and not attributed to the person of instantiation.

    How can we limit the instance be assigned or limited ONLY to the user instancing (during his life in the way of the TRANSMITTER), while other authors of communication may not see his body?

    Any help is appreciated.
    Thank you!

    PS: are we instantiate the task via API, so we have the flexibility to make an API call if we know what API call will solve this problem. THX.

    One thing you'd want to double check before continuing is to see how the 'creator' predefined variable has the value entered into the human task is defined (not sure what it is about when the API is used).

    Assuming that the 'creator' (or other string variables) is set to userid of the initiator, here are the steps to assign that person to the task in a later human task.

    1. open the human task.
    2. click on the tab "assignment."
    3. click on the icon with the person in it-> click the 'change '.
    4. in the drop-down list, select 'Names and Expressions'-> make sure the 'Value-based' option button is selected-> click on the + icon on the right-> sub select 'Type of Identification', 'User'-> slot 'Type of data' select 'by the term'-> slot 'Value' click on the button «...» ».
    5 expand the 'task'-> scroll down and select "task: creator" (or any string variable that you set for the user ID of the person who created it in the API)-> click "Insert into the Expression"-> click on 'OK'-> 'OK '.

    Hope this helps,
    Dan

  • How to return the lines after a selected line

    Hi there, I need return the straight after that the condition I have is filled...

    given the following table:

    date col ID
    123 Y 29/02/2013
    123 X 27/02/2013
    * 123 Y 26/02/2013 *.
    123 Z 26/02/2013
    * 123 X 25/02/2013 *.
    123 Z 25/02/2013

    I need a query that retrieves all rows that come immediately after col = 'Z' it is
    123 X 25/02/2013
    123 Y 26/02/2013

    Any help would be appreciated,

    Hello

    Martel wrote:
    Hi there, I need return the straight after that the condition I have is filled...

    given the following table:

    date col ID
    123 Y 29/02/2013
    123 X 27/02/2013
    * 123 Y 26/02/2013 *.
    123 Z 26/02/2013

    The 2 highest ranks (and the 2 lines below, by the way) seem to have the same date. I guess there is something that you are not showing that puts unqmbiguously in the order listed.

    * 123 X 25/02/2013 *.
    123 Z 25/02/2013

    I need a query that retrieves all rows that come immediately after col = 'Z' it is
    123 X 25/02/2013
    123 Y 26/02/2013

    It's just that the analytic LAG function.

    Any help would be appreciated,

    Here's one way:

    WITH   got_prev_col     AS
    (
         SELECT     id, col, dt     -- DATE is not a good column name (id isn't so good, either)
         ,     LAG (col) OVER ( PARTITION BY  id  -- or omit PARTITION BY clause
                                    ORDER BY      dt
                          )  AS prev_col
         FROM    following
    )
    SELECT     id, col, dt
    FROM     got_prev_col
    WHERE     prev_col     = 'Z'
    ;
    

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data. For example, what makes one of the lines 26/02/2013 come in front of the other. Explain what id role plays in this problem. better yet, include a couple of different id values in the sample data.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).
    See the FAQ forum {message identifier: = 9360002}

  • How to get the instance name of the Clip?

    Hello!

    Is there a way to get the name of the instance of an element of travel when he's on the stage?  In my dress up game, I need to know which elements are on the doll to keep them visible.  My drag and drop feature uses a table and currentTarget:

    var dragArray:Array = [Doll.Drawers.Dress1, Doll.Drawers.Dress2, Doll.Drawers.Dress3, Doll.Drawers.Dress4];
              
              for(var i:int = 0; i < dragArray.length; i++) 
                {
                        dragArray[i].buttonMode = true;
                        dragArray[i].addEventListener(MouseEvent.MOUSE_DOWN, item_onMouseDown);
                        dragArray[i].addEventListener(MouseEvent.MOUSE_UP, item_onMouseUp);
                }
    
    
    function item_onMouseDown(event:MouseEvent):void 
              {
                   var clip:MovieClip = MovieClip(event.currentTarget);
                   clip.startDrag();
              }
      
    function item_onMouseUp(event:MouseEvent):void 
              {
                   var clip:MovieClip = MovieClip(event.currentTarget);
                   clip.stopDrag();
                   if(clip.hitTestObject(Doll.Skins))
                        {
                                 //Here's where the problem starts!   ----------------------------------------------  //
                                  trace("It's on the doll!");
                        }
              }
    
    

    It can run this code.  However, instead of plotting "It's on the doll!", I would like to transform the currentTarget in its instance name, which should be "Doll.Drawers.Dress1" etc. and to register this name in a table.

    How can I do this?

    I looked into e.target.name, but I keep getting errors...

    Use the name property of the item (if it is the movieclip that you want the name):

    var dragArray:Array = [Doll.Drawers.Dress1, Doll.Drawers.Dress2, Doll.Drawers.Dress3, Doll.Drawers.Dress4];
    
              for(var i:int = 0; i < dragArray.length; i++)
                {
                        dragArray[i].buttonMode = true;
                        dragArray[i].addEventListener(MouseEvent.MOUSE_DOWN, item_onMouseDown);
                        dragArray[i].addEventListener(MouseEvent.MOUSE_UP, item_onMouseUp);
                }
    
    function item_onMouseDown(event:MouseEvent):void
              {
                   var clip:MovieClip = MovieClip(event.currentTarget);
                   clip.startDrag();
              }
    
    function item_onMouseUp(event:MouseEvent):void
              {
                   var clip:MovieClip = MovieClip(event.currentTarget);
                   clip.stopDrag();
                   if(clip.hitTestObject(Doll.Skins))
                        {
                                 //Here's where the problem starts!   ----------------------------------------------  //
                                  trace(clip.name);  // but that won't be Doll.Drawers.Dress1.  it might be Dress1.
                        }
              }
    
    
    
  • How to return the sprite object?

    I want to load both image and add each image to each sprite object, like photo one sprite1 and photo b to spriteb, I know that I can load a pictue with the following code:

    loadImage ('a');
    loadImage ('b');
    private void loadImage(imagePath:String):void {}
    var loader: Loader = new Loader();
    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, onImageLoaded);
    Loader.Load (new URLRequest (imagePath));
    }
    private void onImageLoaded(event:Event):Sprite {}
    var loaderInfo:LoaderInfo = event.target as LoaderInfo;
    _loadedBitmap = LoaderInfo.Content as Bitmap;
    Return runPostImageLoad (_sprite);
    }
    private void runPostImageLoad(_sprite:Sprite):Sprite {}
    ... photo of //load
    }

    But I want to make my code like the following, because I want to use sprite1, sprite2 for something else:
    var sprite1:Sprite = loadImage ('a');
    var sprite2:Sprite = loadImage ('b');

    I don't know how to change the loadImage function to return the sprite object. Could someone tell me how to do?

    Thank you

    use:

    private var _sprite:Sprite;

    .

    .

    private void loadImage(imagePath:String):Sprite {}

    var loader: Loader = new Loader();

    Loader.Name = "Loader";

    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, onImageLoaded);

    Loader.Load (new URLRequest (imagePath));

    _sprite = new Sprite();

    _sprite. AddChild ("Loader");

    return _sprite

    }

    private void onImageLoaded(event:Event):void {}

    var loaderInfo:LoaderInfo = event.target as LoaderInfo;

    _loadedBitmap = LoaderInfo.Content as Bitmap;

    runPostImageLoad();

    }

    private function runPostImageLoad (): void {}

    just draw the shape of the irregular part

    If (_loadedBitmap...) {

    _sprite.removeChild (_sprite.getChildByName ("loader"));

    _sprite. Graphics.drawRect (...);

    }

    }

    p.s. Please check the correct and useful.

  • How to return the value 0 for no data using the County?

    Hi all
    I used this query to count the number of records for each month of the year:

    SELECT DISTINCT COUNT (I.information_sid) COUNT, TO_DATE (TO_CHAR (INSERT_DATE, 'MM'), 'MM') MONTH

    INFORMATION I

    TO_DATE GROUP (TO_CHAR (INSERT_DATE, 'MM'), 'MM')

    ORDER BY TO_DATE (TO_CHAR (INSERT_DATE, 'MM'), 'MM')

    But this code returns no value for months without data
    I want to return the value '0' for any month of data. How, please?

    Note: I use reports 6i.

    Maybe this?

    SELECT SUM(CNT_REC) CNT_REC, MONTH
    FROM
    (
    SELECT COUNT(I.information_sid) CNT_REC, TO_DATE(TO_CHAR(INSERT_DATE,'MM'),'MM') MONTH
    FROM INFORMATIONS I
    GROUP BY TO_DATE(TO_CHAR(INSERT_DATE,'MM'),'MM')
    UNION ALL
    SELECT 0, LPAD(ROWNUM,2,0)
    FROM ALL_OBJECTS
    WHERE ROWNUM <= 12
    )
    GROUP BY MONTH
    ORDER BY MONTH
    

    No need to SEPARATE during the use of GROUP BY.

    -Clément

  • How to specify the instance in SQL * more command line?

    Hello

    I'm learning to Oracle. I currently have 2 instances of database running. I wanted to connect to one of the bodies and used the following command from the command line:
    sqlplus system as sysdba/abc123@ocp11gsid
    
    where 1234 is the password for the system user in the ocp11gsys instance.
    When I run the command above, SQL * more ask me the password. I do not understand why he asks me the password because I provided on the command line.

    What is the correct command line, so he asks me the password? (without defining the variable ORACLE_SID of environment - basically, I want to know how to specify the user, his password and sid, all in the sqlplus command line, without being prompted to enter the password that I mentioned.)

    Thank you for your help,

    John.

    John,

    This is how it works.

    E:\Documents and Settings\aristadba>sqlplus system/oracle as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 2 22:49:25 2010
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    

    And now it ask the password,

    E:\Documents and Settings\aristadba>sqlplus system as sysdba/oracle
    
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 2 22:50:42 2010
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Enter password:
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    

    Spot the difference?

    The user name and password must unite. What you are to provide the password with the role where it will not be considered.

    Update
    I missed that part,

    What is the correct command line, so he asks me the password? (without defining the variable ORACLE_SID of environment - basically, I want to know how to specify the user, his password and sid, all in the sqlplus command line, without being prompted to enter the password that I mentioned.)

    The only thing that you can specify is the user name and password. The SID must be defined by you, either explicitly using the export or oraenv command if you are on the local system and do not use the TNS to connect to the instance. If you use the TNS, then an appropriate entry should be there which would connect to the required database.

    HTH
    Aman...

    Published by: Aman... on August 2, 2010 22:54

  • How to close the instance of Firefox launched via file/new window without killing all instances of Firefox?

    Before the last update Firefox, running on Ubuntu if it makes a difference, I was able to select close on the file menu (and if memory is also by clicking the x on the last tab) to exit an instance of Firefox open via file new window.

    With the 9.x update this no longer seems to be possible. If I choose the file altogether starting an instance that was launched via the new window, all instances of Firefox away!

    It's embarrassing because I have to leave all the instances that have been launched.

    I tried closing last tab add on, and it allows me to close the last tab content but still leaves the instance running with a blank tab.

    Is there a setting somewhere that I missed to restore the operating mode to exit the additional instances of Firefox without killing all the previous configuration?

    Thank you
    Burt

    Each window must have its own close button (big X in the right corner.)
    But it depends on the 'Theme' that you use in Ubuntu. This large X chould be a round point when you hover over the color changes. It could be on the left instead of the right site.
    This screenshot shows the close the left side, but always an X button.

    CTRL + SHIFT + W closed the window Active.
    CTRL + W closes the current tab.

  • How to return the subset of an array of basic condition bits

    Hello

    I have a question on how to get the subset of the table based on scraps of condition...

    For example, if I had a 4 x 4 array of 2D of DAQ system data.

    Table 1:

    1 2 3 4

    1 2 3 4

    1 2 3 4

    1 2 3 4

    and a 1 d table showing the conditions of each channel...

    Table 2:

    1

    0

    1

    0

    The function I want to do is to collect data only from the channel status bits are 1. In the above example, I want to only retrieve data from channels 0 and 2. Any idea? Thank you!

    Hi oly.

    Check this VI...

    Thank you and best regards,

    srikrishnaNF

  • How to return the computer to factory conditions

    I'm really having a very hard time with this.  I tried to restore my computer to factory to get rid of windows 8 etc.  I've erased everything, or so I thought.  Windows 8 is still on it.  I have discs I need etc to back to factory.  But I can't figure out how to get the discs to run.  I went to my control panel for the recovery and said everything I looked for me to choose methods of recovery in advance.  Although in my control panel that the option is not there.  So I'm still stuck on what to do.  I want to go back to the factory and start but nothing I try does not work.  I worked on it for 2 weeks and I am ready to throw this whole computer.

    Hello

    This should help you.

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    See you soon.

Maybe you are looking for

  • Why Pavilion 734n seems not to accept RAM ECC?

    Good day people, I am trying to upgrade this computer replacing it is original 512 MB PC2100 DDR 266 CL2.5 MemoryStick by Smart Modular Technologies with 2 x 1 GB of the same type and from the same manufacturer (in fact with a complementary HP label

  • On Qosmio F20 TV tuner is restricted?

    Hello world I have a laptop Qosmio F20, I had some problems using the TV tuner integrated with other software decoding of TV one provided with the computer WinDVR5. Can I watch tv on this software, but when I try the other programs such as the on Cyb

  • Hard drive does not meet the system controls

    bad sectors on hard drive

  • Color laserjet 4600 - problem with one color (yellow) for the most part does not print

    Colors look purpleish when printing photos.  It turns out that this is a problem with yellow print. We tried to replace the yellow toner cartridge, and it was not fixed. PQ troubleshooting, the yellow page is empty except for a thin (16th of an inch)

  • Dimension 4600 (AGP) upgrade

    I need advice on good climbs. I intend to get a new video card and I'm having a hard time to choose one that fits. I currently have a 64 mb Gainward (agp). I want to ba able to play online games and the card of 64 MB disobeys right. I would also add