How to trigger the start  of activity in BPM Studio 10.3

Hi
I am new to BPM Studio 10.3.1.
I have configured two External Resources
1)J2EE Application Server: Giving details of the application server on which my JMS Queue resides
2)JMS Messaging Service: Giving details of the JMS Queue
I want to trigger the start of BPM process/ activity execution when a message arrives on the configured JMS Queue from an external system.
How will I be able to listen to that queue?
Similarly, I would also like to know the steps to post a message to JMS through the activity in BPM Studio.
Is there any document available that helps in configuring the External Resources other than the Studio Reference guide and User guide.
Can anyone please help on this?
Thanks

I don't know if this is exactly what you're after when you wan't to start an 'activity' with a JMS message,
If you're searching for a way to start the process, this might be your solution:
String procId = process.id;
*// Load the JMS Message in the argument holder*
m_begin.load(xmlText : message.textValue);
logMessage("JMS message retrieved from queue: \n" + message.textValue, severity : Severity.DEBUG);
*// Set the arguments which are sent with the new instance*
*Any[String] argsIn;*
argsIn["beginArg"] = m_begin;
*// Specify the process in which the new instance should be created*
ProcessInstance.create(processId : procId, arguments : argsIn, argumentsSetName : "BeginIn");
If you wan't to notify an instance which is in a Wait activity, you can use this:
*// Putting the message in the paramaters*
*Any[Any] params;*
logMessage("JMS message retrieved from queue: \n" + message.textValue, severity : Severity.DEBUG);
params["waitArg"] = m_wait;
*String instId = {instance ID};*
Notification.send(instanceId : instId, activityName : "WaitActivity", argumentSetName : "WaitIn", parameters : params);
-----

Similar Messages

  • How to get the papi wsdl of Oracle BPM Studio

    How to get the papi wsdl of Oracle BPM Studio. What is the url of the papi wsdl of Oracle BPM Studio

    Thanks to Lovin:
    There is an icon in the studio when the engine starts.. called as "Launch Deployed Webservice webapp"
    Also.. Need to go to Engine Preferences -> Engine -> Advanced Tab -> Startup and select Start PAPI Web Services.
    Default URL:http://localhost:8585/papiws/PapiWebServiceEndpoint?wsdl

  • APD process is active, How to trigger the data from BI to CRM table

    Hi All,
    I want to send data from BI system(using APD method) to CRM table (ADS method).
    I am able to see the table for e.g ABCD in CRM system , i can open using SE11 , but data is 0.
    In BI , i have data in DSO and i have mapped it in APD process to data Target to CRM system and APD is active.
    Now i want to know how to trigger the data from BI to CRM table? (e.g ABCD).
    Please let me know the steps.
    Regards.
    Nithi.

    Hi
    Just create a Process Chain to execute this APD method, if the process Chain is already available, then just insert this Process in to the process Chain and execute the Process Chain by normal process, by hoe we do in general.
    Hope it solves...

  • How to get the list of active devices in current wifi network?

    Hi All,
    I am going to a start a new Network based app. So please any one give me an idea on the below question.
    How to get the list of active devices in current wifi network?

    Nope I want the log-in user to retrieve its Group where he is belong. I have this following code
    strUsername = Request.getParameter("username").toLowerCase().trim()+"@dev.test.com.ph";
    strPassword = Request.getParameter("password").toLowerCase().trim();
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
    env.put(Context.PROVIDER_URL, MY_HOST);
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL,strUsername);
    env.put(Context.SECURITY_CREDENTIALS, strPassword);
    // enable tracing
    env.put("com.sun.naming.ldap.trace.ber", System.err);
    // Create the initial context
    DirContext initCtx = new InitialDirContext(env);
    // Get the target context
    DirContext targetCtx = (DirContext)initCtx.lookup("");
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
    // Perform the search on the target context
    NamingEnumeration enum = targetCtx.search("","(userPrincipalName="+strUsername+")",constraints);
    javax.naming.directory.Attributes attrs;
    NameClassPair item;
    String[] attrIds = new String[]{"MemberOf"};
    // For each answer found, get its "Groups" attribute
    // If relative, resolve it relative to the target context
    // If not relative, resolve it relative to the initial context
    while (enum.hasMore()) {
    item = (NameClassPair)enum.next();
    Out.println(item);
    attrs = targetCtx.getAttributes(item.getName(), attrIds);
    Out.println(attrs + "<br>");
         initCtx.close();
    It returns all this string :
    {memberof=memberOf: CN=CMCanadaRD,OU=Groups / Teams,DC=dev,DC=test,DC=com,DC=ph, CN=iMngrCanadaRW,OU=Groups / Teams,DC=dev,DC=test,DC=com,DC=ph, CN=Domain Users,CN=Users,DC=dev,DC=test,DC=com,DC=ph, CN=Backup Operators,CN=Builtin,DC=dev,DC=test,DC=com,DC=ph, CN=Administrators,CN=Builtin,DC=dev,DC=test,DC=com,DC=ph}
    How can i retrieve the Group named CMCanadaRW and CMCanadaRD on the Attribute?
    Thanks

  • How to trigger the Process Chains in BI from ECC

    HI Friends,
    Can let me know  How to trigger the Process Chains in BI from ECC. Please let me know.........

    Hi,
    1) Define a Custom ABAP Program (eg : Z_EVENT_RAISE)..........call the FM : BP_EVENT_RAISE or RSSM_EVENT_RAISE..........and trigger an event towards BW .........specify BW as RFC destination...........
    2) Create a R/3 Job in SM36>> use the Program Z_EVENT_RAISE ......
    3) In BW schedule the PC..........and in the Start variant use this Event..........
    http://sapbiwtutorials.blogspot.com/2009/03/how-to-trigger-process-chains-in-bw.html
    It can be help full
    Regards,
    Edited by: subba2010 on Aug 19, 2010 6:51 AM

  • How to stop the bridge.exe active as to install the new application eg.Flash CC?

    how to stop the bridge.exe active as to install the new application eg.Flash CC? please help?
    I can't install the any new application every time.

    Please refer:
    http://helpx.adobe.com/creative-suite/kb/error-installation-cannot-continue-bridge.html
    Regards,
    Ashutosh

  • How to find the start condition of a ABAP program?

    Hello Gurus!,
    Could any one please explain how to find the start condition of a ABAP program?
    like its a event based or time based?and also how to find that event and time..
    Thanks in Advance...
    Dinakar

    Hi Dinkar,
    Go to Job Schedule, put Job Step parameter as your program and see scheduled Job.
    In Schedule Job double click to see start condition. and steps to see details and variant.
    Hope it helps.
    Thanks
    CK

  • HELP!! How to get the position of active windows in the desktop

    How to get the position of active windows in the desktop

    You mean, active windows other than the program you're running, or windows the program puts there? And a real desktop (like where MyComputer is), or a desktop pane?

  • How to make the condition type active

    hi,
    how to make the condition type active when its in inactive stage and its showing yellow triangle and y in the control features of it.
    and
    how to solve if is showing a statement as "INITAILISED".
    regards,
    balajit

    Dear Balaji,
    Yes it will come as Inactive mode.....If you make the 2 condition Class is same in single Pricing procedure ,In Standard system will display like this only..
    For Example:PR00-Condition class is Price
    EX00-Condition class is Price
    Then first Condition type will become Inactive.. change the Class of the Second Condition Type.
    Best Regards
    raj.

  • How to trigger the automated row fetch process and open modal window by javascript api?

    Hi,
    I would like to click the one row of column of IR report, to open the modal window of current page.  <----------------it is ok. I can use "javascript:openModal('windowID')"  to do it.
    There is one form in this modal window, Meanwhile, I would like to pass column data to this form.    <--------------------- it is ok also. I can use " $s('P7_ID','column_value');" to do it.
    But I don't know how to trigger the "automated row fetch" process of this form to retrieve other field's value in this form.   
    I tried to use following 2 ways. But failed.
    First method:
    add one ajax process of "automated row fetch" in "page processing" block, named "get_fetch_data"
    when click IR column , call "openModal", and call  "apex.server.process ( "get_fetch_data", {}, { success: function( pData ) { }  } );"  , I tried to call above ajax process to refresh form. It is failed.
    Second method:
    add one process of  "automated row fetch" in "page rendering" block, named "get_fetch_data"
    when click IR column, call javascript api "apex.submit" to submit current page , then call "openModal".
    such as :  javascript:apex.submit({request:'MODIFY',set:{'P7_ID': #ID#}}); openModal('trade');
    But it is failed also. the modal page is showed firstly. then page refresh. but modal window will not open again.
    I am not sure if my thinking is right. Could you please provide any suggestion?
    Thanks in advance,
    Ping

    Hi Ping,
    You can try to set the session state of your modal page's primary key before opening the modal page. Use one dynamic action (on click of IR row) with two true actions. First one to set session state of modal page pk, second on to open modal page.
    Or you can add the modal page url as link in your report by extending your query:
    select ...
    ,         apex_util.prepare_url( 'f?p='||:APP_ID||':7:'||:APP_SESSION||'::'||:DEBUG||':7:P7_ID'||COLUMN_VALUE ) as link
    from ...
    This will give you the url of the modal page, with set primary key.
    Regards,
    Vincent Deelen
    http://vincentdeelen.blogspot.com

  • How to use the Java embedding activity in BPel

    hi all,
    How to use the java embedding activity in BPEL
    pls can u provide sample example

    1 Use [Oracle BPEL Process Manager Client Java API Reference|http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/overview-summary.html] and especially [com.collaxa.cube.engine.ext|http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/com/collaxa/cube/engine/ext/BaseBPELXExecLet.html]
    Instead of System.Out.println use addAuditTrailEntry(java.lang.String message)
    2. If you want to import a package write in code (Source View) of bpel process
    +<bpelx:exec import="package_name"/>+ for example +<bpelx:exec import="java.util.regex.Matcher"/>+
    example 1:
    String bodyAsString;
    StringBuffer myStringBuffer = new StringBuffer();
    try {
    bodyAsString = (String)getVariableData("BodyString");
    addAuditTrailEntry("bodyAsString1: "+ bodyAsString);
    Pattern pattern = Pattern.compile("goodDay");
    Matcher matcher= pattern.matcher(bodyAsString);
    while (matcher.find()) {   
    matcher.appendReplacement(myStringBuffer, "shitDay");
    matcher.appendTail(myStringBuffer);
    bodyAsString = myStringBuffer.toString();
    addAuditTrailEntry("bodyAsString2: "+ bodyAsString);
    } catch (Exception ex) {
    addAuditTrailEntry("Failed+bodyAsString",ex.getMessage());
    I put in code (Source View) the following
    <bpelx:exec import="java.util.regex.Matcher"/>
    <bpelx:exec import="java.util.regex.Pattern"/>
    example2:
    Object temp;
    try {
    temp = ((XMLElement)getVariableData("inputVariable","payload","/ns2:FiscalisMessage/ns2:Body")).getChildNodes().item(1);
    setVariableData("AdjReceipt",temp);
    addAuditTrailEntry("ok",temp.toString());
    catch (Exception ex) {
    addAuditTrailEntry("Failed :",ex);
    I put in code (Source View) the following
    <bpelx:exec import="oracle.xml.parser.v2.XMLElement"/>

  • How to trigger the "click" event using javascript in LC8?

    I have 2 button in the form. I don't want the user to click the button1 directly (invisible now). but I want the user click the button2 and then do some checking. after checking is finisined,  the script will continue to trigger the button1 "click" event. How to trigger the button1 "click" event through javascript in LC 8? Thanks.

    button2.execevent("click");

  • How to initiate the call JDBC_Sender adapter from BPM?

    Hello,
    I have a periodicall proccess in BPM. After receiving some message in BPM  I check some fileds of the message.If condition is true I need to initiate SQL request to external DB, to receive the message and send it after transformating to SAP.
    How to initiate the call JDBC_Sender adapter from BPM? As I understand I need to use JDBC Sender adapter and once.
    How to construct the correct BPM?
    Thank You

    the message comes into BPM. You check for some conditions and if true use a send step (Sync) that would query into DB table and as a reponse retrieve the related data. After the send sync step have the transformation step and another send step to SAP.
    U would not configure sender jdbc but u wud need to config for recv jdbc. this wuld service the request and in response return the set of data from the table
    Message was edited by:
            Prabhu  S

  • How simple is the Bluray authoring in Final Cut Studio?

    Hello!
    I've been reading posts on Bluray authoring with Final Cut Pro. Just got the upgrade to Final Cut Studio and saw some video at the apple site about bluray.
    Frankly, I don't want to spend money with a Windows authoring software for Bluray.
    So, how basic is the bluray authoring in Final Cut Studio?
    I need the following:
    1-Use a custom image for the background in the menu (but no moving clips,etc).
    2-Chapters.
    3-Enclose an option for an extra short video (like "making off").
    If that is done with FC Studio, it would be enough.
    Thanks for your help.
    Javier

    Hi Tom!
    Thanks for your help!
    What I'm really interested is in the HD quality of the video. Flashy flying menus and camera angles I never used neither with commercial DVD or Blurays.
    For authoring: I'll use a custom image (jpeg or whatever - probably a still from the video I shot) for the backgroud , 2 lines of title (1- full video and 2- extra short video) and chapters to jump to scenes.
    In other hand, I shot a video mostly using time lapse with a Canon DSRL (TIFFs edited in Motion), set the FCPro project to 1920 x 1080 25p Apple proress 422 (HQ), and in a Full HD TV I use for monitor (with AJA HDMI converter) looks AWESOME! Images look as amazing as some Hollywood bluray I rented.
    So as you can imagine,I don't want recompressions that may degrade the full HD video.
    If that is possible with the FC Studio bluray basic authoring,I'm running monday to buy an external Bluray, like LA cie or else.
    Regards;
    Javier
    P.D.: I posted in my site an HD clip made with the previous FCPro in Mpeg2. Now I'm using the H264. I didn't had an HD TV for monitor before. Did SD projects.Now the HD changes everything.
    http://www.jdiez.com/fotos.asp?opmenu=1&codfoto=46

  • How to use ABAP Webservice to Trigger the start of BPMN

    Hello,
    My scenario is that i define a webservice in the SAP ECC system and import it in the process composer as the service interface. As to the start event, i set the above service interface and operation as the trigger service.
    After then, i call this webservice in the user exit of a T-Code. However, the BPMN is not started by this webservice call.
    Anyone can explain on this and tell me how to use the ABAP webservice as the starting event service interface?
    Thanks in advance
    Erick

    Hi Erick,
    When you develop a process model and use some arbitrary service interface in the message start event then this will be exposed on the Java / BPM system you deploed the process definition on.
    That allows you to start the process via this web service once you know its endpoint.
    So in case you want to start your process from the ABAP side you would need to call this endpoint on the Java side out of your ABAP system.
    Simply calling the web service / code on your ABAP system and hoping that this will also invoke the Java stack won't work I AFAIK.
    Best regards,
    Martin

Maybe you are looking for

  • Purchase Info record - ALV standard report

    Hi, Is there a standard transaction or report or some other utility program to get the purchase info record in excel format? I see ME1M and other standard transactions, but they doesn't come in one line report. I wanted to download the records in exc

  • SG300 - 28p does not work

    good morning, nice to saludoarles, I write because I have a problem with a model SG300-28p switch, I explain: had run the company normally switch until one day we were completely without a net, the teams showed "Network cable unplugged" apparently th

  • How to find and replace the table name/column name

    We have just upgraded the application to R12. Have many reports developed in Oracle Reports Builder. There are many changes in R12 table and column names when compare with 11i. Please suggest a solution to change the table name or column name in mult

  • Lightroom mobile sign in problem

    I have a photography subscription and can access lightroom on my desktop but not on the mobile app.  When I sign in on the mobile app (iPad) I receive a message that my subscription has expired.   I have tried reinstalling the app, signing in and out

  • Rpm for OEL 5.5

    Hi, I have to install oracle database 11gR2 on OEL 5.5. In order to install required rpm, does exist an rpm package that installs all required packages?