Is it possible to call a sub procedure event from outside the process?

Hi all

I was wandering if it is possible to activate a sub-process of event (started by an event message that is implemented by a 'set interface') by calling interface that seems exposed as a service?

Or the sub-process of event can be triggered only by an activity that is executed in the same process, where is the event sub-process?

Hi Clarec,

If you expose your subprocess of event with an event of boot Message and you have to use a correlation set in the main part of the process, you can call it from outside the process by using the correlation key.

Dan

Tags: Fusion Middleware

Similar Questions

  • How to call a stored procedure PL/SQL of the Disqualification?

    I figured I could do this from a Groovy script but I am unable to make it work.

    Let's take the simplest scenario:

    At the end of a job, I have a need to call an once stored procedure that has no arguments.

    Translated by the logic of the stored procedure with Disqualification is not an option.

    If you must call it once at the end of a task, you must use the external task.

    If you call a procedure for each record, it can be done using a script.

  • Several lines back from DBAdapter call PL/SQL procedure

    Oracle XE 10g Express Edition
    JDeveloper 11.1.1.2.0
    WebLogic Server 11g

    Guys,

    I have an Orders table, I need to ask, and pass back from the corresponding lines that meet certain criteria (e.g. status = 'OPEN').

    However, rather than to create a DBAdapter using one Type of operation to "perform an operation on a Table / Select", I need to use a Type of operation of "call a stored procedure or function.

    So I need the procedure to return all matching rows, rather than on a single line.

    I looked to declare parameters of return of the procedure of the following types:

    SAVE - is good because it allows me to return the items to the line with their correct data types, but does not satisfy my needs because it only supports the return of a single line.

    VARRAY - good because it can contain multiple line items, but not good because it supports only a single line of return and also because all the elements of the VARRAY must be of the same data type.

    TABLE - good because it can contain as many lines, but bad, because each line can contain only two elements: the index and the data element.

    I think I first set a RECORD (to contain a line) and then define a TABLE with the data element constituting the RECORD, but I found very picky JDeveloper indeed when it comes to data "non-standard" types in the DBAdapter.

    My apologies if I'm missing something obvious, but someone can suggest a way to do this?

    Thanks in advance.

    Published by: user2541290 on February 17, 2010 02:48

    Hi, I was able to create processes that seems to work. My platform is one, but different, but I don't think it's important for your question.

    Here is the PL/SQL code. Just make the adapter Db to call the stored procedure and it returns all the lines!

    Be aware of the possible limitations how manyrows could return in a select! This can have a serious impact on performance.

    Success.
    Jos Baan

    CREATE or REPLACE PACKAGE lab2_multiple_rows IS

    -Author: 801455
    -Creation: 2010-02-18 08:05:52
    -Objective:

    -Public type declarations
    TYPE rrows IS RECORD)
    mutdat DATE,
    HEB VARCHAR2 (20));
    TYPE the trows IS rrows INDEX TABLE DIRECTORY.
    -Statements of public constants

    -The public variable declarations

    -Declarations of function and public procedure
    FUNCTION retrows RETURN trows;

    END lab2_multiple_rows;

    CREATE OR REPLACE PACKAGE BODY lab2_multiple_rows

    -Private type declarations

    -Declarations of private constants

    -Private variable declarations

    -Function and procedure implementations
    FUNCTION retrows trows IS BACK
    lrows trows;
    Directory lidx: = 1;
    BEGIN
    TO rsql IN (SELECT t.* FROM t ORDER BY t.mutdat jba_transactions)
    LOOP
    lrows (lidx) .mutdat: = rsql.mutdat;
    lrows (lidx) .opmerking: = rsql.opmerking;
    lidx: = lidx + 1;
    END LOOP;
    Return (lrows);
    END;

    BEGIN
    -Initialization
    NULL;
    END lab2_multiple_rows;

    Published by: Baan, Jos on February 18, 2010 08:53

  • How to call a stored procedure stored procedure

    Hello Experts,

    I need help, even if stored procedures. I tried to know without a bit of luck. Is it possible to call the stored procedure to another stored procedure? The problem is my boss want me to work on a stored procedure, but I do not have the appropriate privileges. He won't give me permissions either. He suggested that to a stored procedure and call this stored procedure after creating a new procedure. Is this possible? If Yes, how can I do it?

    I thank in advance

    ascheffer wrote:
    Without the "privileges", whatever it is, your features in other nesting procedures won't help.

    Anton

    Unless...

    It goes to an anonymous PL/SQL block to allow him to test its procedures. ;)

    SQL> ed
    Wrote file afiedt.buf
    
      1  declare
      2    procedure test_proc(p_var IN VARCHAR2) is
      3    begin
      4      dbms_output.put_line(p_var);
      5    end;
      6  begin
      7    test_proc('This is a test proc');
      8* end;
    SQL> /
    This is a test proc
    
    PL/SQL procedure successfully completed.
    
    SQL>
    
  • Is it possible to call a file sql in a pl/sql block

    Hello

    I want to call a file sql in a pl/sql block.

    the pl/sql block has an exception handler. The pl/sql block runs the sql file and where it throws error then the exception handler will take care of it.

    The sql file will be a master file and he will himself call other sql files.

    is it possible to call any pl/sql block sql file?

    When you say "sql file", what exactly do you mean? You have a file that has just SQL statements? Or you have SQL * more scripts?
    Where are the files stored? They are on your client machine? Or the database server?

    "that in turn calls the other sql files ' seems to imply that the answer to the first question is that you have SQL * scripts more. If you have SQL * more scripts, you need SQL * more to execute. PL/SQL runs in the database Oracle, SQL * more is a client application. It is not practical to have the PL/SQL call SQL * more. Since you have already excluded from the best of bad options, it seems that the answer is no, you cannot have your PL/SQL, run these files.

    As Alex, it's probably a good thing. It seems that your application has been designed incorrectly. If you need PL/SQL, you must be to create stored procedures and functions, and calling those of PL/SQL. Have the PL/SQL depend on the code in flat files outside the database is not a good idea.

    Justin

  • Is it possible to call the api native playbook of QT creator?

    Hello

    I'm currently learning the playbook with Qt development.

    For this I use Qt creator to develop the specific application of the user interface.

    I want to know that is it possible to call the api natives of the application that is, I do in QT creator.

    As I want to include a video and audio player in my application.

    It is easier in the native api for use of this feature.

    In QT, I found it in the QT mobility and with phonon, but two of them are not supported on Playbook.

    So please guide me with my problem.

    Thanks in advance.

    bskania.

    Sorry, drop the. at the end: http://qt-project.org/wiki/QNX

    I never used the BB expected build but it's a bit old so it would be logical that you must use Q_OS_QNX vs Q_OS_BLACKBERRY. You can post the results of compilation using Q_OS_QNX?

  • call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. The other rows are based on the entities

    Hi Experts,

    JDeveloper 12.1.3.0.0

    I have a VO based on entity object. With a column of the VO is transient attribute (I created).

    I need to call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. As well as other attributes.

    So can anyone suggest how can I achieve this?

    Thank you

    AR

    I think that you need a stored function (which returns the value) in this case, is not?

    Take a look at:

    https://docs.Oracle.com/CD/B31017_01/Web.1013/b25947/bcadvgen005.htm

    and search for:

    Invoking stored function with only Arguments in

    call your function in the Get attribute and return value accessor...

  • C# Oracle.DataAccess calling a stored procedure with a date parameter throws formatexception

    C# Oracle.DataAccess CommandType.StoredProcedure is OracleDbType. Date

    I can't get my code to call an oracle procedure that has an order date.

    I receive a System.FormatException occurred in Oracle.DataAccess.dll

    I tried to assign the param. Value = DateTime and also tried assigning as a string formatted with no luck.

    What is the magic formula, I need to call this function?

    Here is a code snippet:

    OracleCommand cmd = new OracleCommand();

    cmd connection group appConn;.

    cmd.CommandText = "mypackage.myprocedure";

    cmd.CommandType = CommandType.StoredProcedure;

    Param = new OracleParameter ("iDateParamter", OracleDbType.Date, ParameterDirection.Input);

    Param. Value = "August 31, 2015."

    Here are other formats I' tried... ved param. Value = myDateValue.ToString ("dd - MMM-yyyy"). ToUpper(); (/ / "MM/dd/yyyy"); 'YYYY-MM-dd'); "MM-dd-yyyy");

    cmd. Parameters.Add (param);

                BindByName. cmd = true;

                cmd ExecuteNonQuery());

    Shame on me..., you can close this message

    It was not for the error on my date field, I had another parameter that has been attributed to a string instead of an integer.

    For the record, this has worked well for me:

    Param = new OracleParameter ("iActvyPerDate", OracleDbType.Date, ParameterDirection.Input);

    Param. Value = li. ActvyPerDate.ToString ("dd-MMM-yyyy"). ToUpper();

  • Internal error: catalog view incompatible when calling a stored procedure

    Hello

    I use JDeveloper 11.1.1.4

    When you call a stored procedure from AppModuleImpl, I get this error internal error: inconsistent display catalog

    I'll call the stored procedure of this way

    String lErrCode;

    String lErrMsg;

    Result of an integer;

    ARRAY inputArray = null;

    Table STRUCT that can be passed to a PLSQL PROCEDURE

    inputArray =

    JdbcSqlMapper.preparePlSqlArrayUsingVOAttrbs (conn, recordType,

    view, rm);

    OracleCallableStatement st =

    (OracleCallableStatement) conn.prepareCall ("{?}") = call ("+

    procedureName +.

    "(?,?,?))}");

    st.registerOutParameter (1, Types.INTEGER);

    st.setObject (2, inputArray, OracleTypes.ARRAY);

    st.registerOutParameter (2, OracleTypes.ARRAY,

    recordType.getTableType ());

    st.registerOutParameter (3, Types.VARCHAR);

    st.registerOutParameter (4, Types.VARCHAR);

    St.Execute ();

    I checked the subsidies for this package to all users. All users with grants to this package.

    I don't know where I start to debug this issue.

    Kindly help.

    Thank you and best regards,

    John.

    Have yo uchecked the right of the types of data used (at least the TABLE) to the user (referred to Pokusak blog: JPublisher - incompatible catalog display)?

    Timo

  • Is it possible to call actionscript from Javascript?

    Is it possible to call actionscript from Javascript without using the external Interface. The call comes from Javascript of Flash actonscript.

    Kind regards

    Yes. If you call a Javascript function that does not exist, you will get an error.

  • Is it possible to call a script of a speech file?

    Hi all

    TL; Dr. to access the tops of path with the expression does not seem possible, but can script, so is it possible to do it by calling a script inside the expression file?

    My goal is the number of vertices in path objects and use this value in an expression. The expression is the engine of offset property with a filling of the trajectory and the expression use a relative naming so that I can copy the path trim to 500 other groups of shape layers and have a different effect (speed of the offset) for each group according to the number of vertices of each path.

    I looked for a solution to this problem for some time now, and my conclusion is that you simply cannot access the tops of path with the expression, that the path is in a mask or a shape layer.

    Is this correct?

    With a mask on a solid layer and effects scripts guide after I should be able to:

    thisComp.layer("Black_Solid_1").mask ("mask 1") .maskPath .value

    or

    thisComp.layer("Black_Solid_1").mask ('mask 1'). maskPath.value .vertices

    or

    thisComp.layer("Black_Solid_1").mask ('mask 1'). maskPath.value.vertices .length

    I also tried:

    thisComp.layer("Black_Solid_1").mask ('mask 1'). maskPath.vertices .length

    and so on...

    But when you debug it with the source text of a text layer, I only get "undefined" for the value and errors for other expressions (' named 'summits' in class 'Property' property is missing or does not exist ").

    I am sure that these are the correct methods because many scripts use those, including:

    http://Omino.com/pixelblog/2008/12/25/AE-mask-vertices-from-Extendscript/

    http://www.crGreen.com/aescripts/actual_scripts/Connect_Point_to_Mask_Vertex.jsx

    http://aescripts.com/maskvertexexpression/

    So if it is not possible to directly access the berries of way by the expression, I thought the appellant, in every expression, an external script which would then return the number of vertices, there are in each table. It would look something like this (pseudo code):

    arrayLength =.content("Path_1").value.vertices.length content (.name thisProperty.propertyGroup (2))

    return arrayLength

    And then use the value I get the script to adjust speeds in my expressions:

    Time * arrayLength * thisComp.Layer ("Controller"). Effect ("Speed") ("Slider")

    Therefore, it is possible to call a script inside an expression file? How?

    If this isn't the case, you have any other suggestions?

    Thank you.

    Reference: After Effects Scripting Guide, page 172 CS6.

    You can use $. evalFile() to run an external file, but it will be executed by the expression engine, not script, so I don't think that helps you. I don't think that there is an automatic solution. I think you're stuck with manually executed a script once you modify the project for updating a cursor somewhere with the number of vertices.

    Dan

  • Transaction number when calling a stored procedure in osb

    Hi all

    I created a wrapper procedure to call "soa.delete_instances (this procedure will remove instances of schema SOA_INFRA)" oy locall created the user schema (ASG).

    If I run the direclt wrapper procedure in SqlDeveloper it works fine clean bodies.

    I called this procedure in OSB using the JCA adapter DB file, the procedure of the wrapper is the fine workmanship, but does not remove instances of schema SOA_INFRA.

    any help is nice.

    Thank you...

    I used data XA NO source instead of XA my problem solved.

    Thanks for the replies.

  • How to call a stored procedure in ADF

    How to call a stored procedure in the ADF (Jdev 11.1.1.6)?

    Code sample stored procedure:

    CREATE or REPLACE PROCEDURE SP_HELLOWORLD

    (

    NAME IN VARCHAR2

    OUT VARCHAR2 DESIRES

    ) AS

    BEGIN

    WISHES: = 'Hello'. name | ', Welcome to MS.';

    END SP_HELLOWORLD;

    Your Code of ADF is:

    try {}

    System.out.println ("* beginning of the code *");

    String sql = "start SP_HELLOWORLD(:NAME,:WISHES); end; ";

    CallableStatement st = getDBTransaction () .createCallableStatement (sql, getDBTransaction(). DEFAULT VALUE);

    st.setObject ("NAME", "ABC"); Replace with required param

    st.registerOutParameter ("WISHES", Types.VARCHAR); import java.sql.Types;

    St.Execute ();

    System.out.println ("the output of the function DB is:" + st.getObject ("WISHES"));

    System.out.println ("* end of code *");

    } catch (Exception e) {e.printStackTrace () ;}

  • Is it possible to call the function Document disinfect since a JavaScript?

    Hi, I hope that this should be easy, but a link back are not the results of the research in the SDK from Adobe live. Is it possible to call the functions Document disinfect or remove hidden information of in a javascript script? Here pointers would be GREATLY appreciated.

    This command opens the dialog window Document disinfect, but you will still need to run it manually, and you will also need to run it from a context of trust.

    app.execMenuItem("DIGSIG:SanitizeDocument")

  • procedure call with sys_refcursor as a parameter in the procedure

    Hello
    I tried the following procedure after sys_refcursor as parameter of a procedure,
    And confused about the procedure call
    CREATE OR REPLACE PROCEDURE test_ref (emp_cur IN sys_refcursor) IS
    emp_rec Z_emp%ROWTYPE;
    BEGIN
    LOOP
    FETCH emp_cur INTO emp_rec;
    EXIT WHEN emp_cur%NOTFOUND;
    dbms_output.put_line(emp_rec.ename ||' is a ' || emp_rec.job);
    END LOOP;
    END;
    How can I call the above procedure to get the data

    Thank you

    You must declare a variable sys_refcursor and open it with the necessary query and then pass that variable as a parameter to your procedure.

    Something like that.

    set serveroutput on
    
    declare
      my_cursor sys_refcursor;
    begin
      open my_cursor for select * from employee;
      test_ref (my_cursor);
    end;
    /
    

Maybe you are looking for

  • Why Firefox is made of fonts while stairs and blocks, w/no anti-aliasing?

    FF 29.01 under Windows 7. You can see the image below the link to compare how browsers should make the fonts and how my browser actually renders the police. It is not a question of magnification. I have already installed the Anti-Aliasing Tuner exten

  • missing a next button in < input type = "number" >

    Hello, I use a Nexus 7 (2013). The button 'next' - to navigate to the next entry - not is not on the virtual keyboard when < input > type is set to number. Even if it is shown for the types of 'text' and 'such '. Am I missing something?

  • ThinkPad T540p for Windows 8.1 battery Manager

    Hi, I recently bought a Thinkpad 540 p and wanted to know a way to stop the battery takes over after a certain level. Its a very common feature to stop a say after 80% and run on AC power supply directly recharge battery. Other computers laptops leno

  • download PC speed limit

    I have a HP DV7 laptop.  I use Brighthouse internet service.  I have just upograded ti their 60 MB service.  My PC does not seem able to get the nore to 45 MB to download.  Which is the limit for this computer?  Brighthiouse sent a technician with a

  • DAQmx using with windows 8 metro app

    Hello I wanted to create a simple application of metro style in windows 8, which reads the temperature nor usb tc01 Thermocouple.However im getting these errors: When adding: using NationalInstruments.DAQmx;  as a reference in my project, I get this