Process Invocation within multiple process server machines

Is there a way to invoke a process which is located at another server machine from an existing process engine?
The idea is similar to subprocess, however the "subprocess" here needs to be located at another machine for the purpose of ownership and security.
Sun's reply on this is through Web Services. Anyone experienced this with any other approach?

You reference a subprocess using an alias. The
alias definition includes the process engine on
which that process executes and that process engine
can be running on any machine that is a node in the
environment of that IS EAI installation.
Robert

Similar Messages

  • How to properly turn a process red within a Process Chain

    Hi,
    I am working in a program that will run within a process chain.
    There are some circumstances under which I need the program to fail, and the corresponding process to go RED, so the Process Chain will stop.
    I think the proper way to do this is by raising an exception, so I wrote some code for that. When debugging, I notice that the exception is raised, but the process goes GREEN, and the process chains does not stop.
    What is the proper way to stop the program, so the process goes RED?.
    This is the code I use to raise the exception.
      DATA oref TYPE REF TO cx_root.
      DATA text TYPE string.
      TRY.
        TRY.
          RAISE EXCEPTION TYPE CX_DEMO_CONSTRUCTOR
                EXPORTING MY_TEXT = SY-REPID.
          CATCH CX_DEMO_CONSTRUCTOR INTO OREF.
          TEXT = OREF->GET_TEXT( ).
          WRITE / TEXT.
          RAISE EXCEPTION OREF.
        ENDTRY.
        CATCH CX_DEMO_CONSTRUCTOR INTO OREF.
        TEXT = OREF->GET_TEXT( ).
        WRITE / TEXT.
      ENDTRY.

    Rollin,
    thanks for the tip.
    one question: how do I get the mandatory parameters for this?
    - Log ID of a Process Chain Run
    - Process Type
    - Process Variant (Name)
    - Process Instance (Value)
    thanks,
    Mauricio

  • Multiple processes on unix server even stop replicat, is that block port?

    I have configured on source server Oracle goldengate manager/extract on port 7809 and same configured on target server with port 7809.
    Now over the weekend, I encountered two problems.
    1). tcp ip timeout from extract error log and extract abend.
    test : telnet linuxserver 7809
    $ telnet linuxserver 7809
    Trying...
    Connected to linuxserver.
    Escape character is '^]'.
    Connection closed.
    It connected, then after a second, connection closed.
    2). On target server, there are multiple processes for replicat existed even I stopped replicat and stopped manager. There are nothing running.
    ps -ef|grep ggs
    oracle 13595 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 14031 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 14447 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 14674 1335 0 13:34 pts/0 00:00:00 grep ggs
    oracle 14962 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 15529 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 28295 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 28751 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 29158 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    I have to manually kill those processes by kill -9 on server.
    How to control this manner?
    thanks.

    I have another quetion, in real life migration, our database have a lot clobs datatype, and logsegments, etc. What is the best practice or advices you can give to me?
    I am probably not the best guy to answer this question.
    Can I create multiple extracts on source and multiple replicat on source?
    Yes.
    Let's say we have 10 application users in the prod database, do I create at least extracts for each schema? then within each schema, I create multiple extracts to based on datatype or others?
    Yes. You can create one Extract/Replicat group per schema. That would help in parallelizing the things.

  • Multiple processes for a host instance on one server

    Hi,
    One of the prod environment server memory utilization is getting very high every few days. I searched a bit and found that there are many processes for "BTSNTSvc64.exe" in the task manager. Whenever we restart the host instance a new process is
    getting created and the previous process is not getting killed.
    This caused multiple processes in task manager and every process is occupying some memory. The process is actually not active but it is creating some bad sectors which is causing the Memory utlization to become high.
    I am not able to kill the zombie processes either from Task manager. Server reboot is the option but wanted to know a permanent fix.
    Can you please tell me the reason as to why this is happening and also the solution? 

    How many BizTalk Hosts do you have defined on the system? If you have multiple Hosts defined then you're likely to see one host instance associated with each of the hosts. Each host instance is a service and in the "Task Manager" - Processes you will
    see multiple BTSNTSvc64.exe OR BTSNTSvc.exe * 32. This is OK is you have multiple host instances defined on your system (Services MMC will show you BizTalk Service BizTalk Group : BizTalk Host) and BizTalk Administration Console ->BizTalk Group ->Platform
    Settings -> Host Instances will also show you the different host instances. Each instance is a multi threaded process running different aspects of the BizTalk Framework/Components. So each process will occupy memory if it is "started". All this is normal
    behavior. If you're facing performance issues, you might want to ask the solution designer on their rationale for the number of hosts instances.
    So when you stop the service, it does not stop? goes into a non-responsive state? and creates another instance?
    Regards.

  • Multiple processes accessing a replicated database

    Hi
    I am after some help with multiple processes and replicated databases.
    I have a primary and secondary database replicated across a pair of servers and this seems to be working well. I'm trying to run another process on one of the machines that opens the environment and databases to view and/or modify the data.
    The problem is that when I run this process it causes some sort of corruption such that the server process on the same box gets a DB_EVENT_PANIC the next time it accesses the database. I would like to understand what I am doing wrong.
    The servers and standalone process all use the same code to open and close the environment and databases (see below). Just calling
         open_env();
         open_databases();
         close_databases();
         close_env();
    in the utility process causes DB_EVENT_PANIC in the server process.
    Can anybody spot what I am doing wrong? I am using DB Version 4.7
    Thanks
    Ashley
    open_env() {
    db_env_create(&dbenv, 0);
    dbenv->app_private = &my_app_data;
    dbenv->set_event_notify(dbenv, event_callback);
    dbenv->rep_set_limit(dbenv, 0, REPLIMIT);
    dbenv->set_flags(dbenv, DB_AUTO_COMMIT | DB_TXN_NOSYNC, 1);
    dbenv->set_lk_detect(dbenv, DB_LOCK_DEFAULT)
    int flags = DB_CREATE | DB_INIT_LOCK |
              DB_INIT_LOG | DB_INIT_MPOOL |
              DB_INIT_TXN | DB_RECOVER | DB_THREAD;
    flags |= DB_INIT_REP;
    dbenv->repmgr_set_local_site(dbenv, listen_host, port, 0);
    dbenv->rep_set_priority(dbenv, 100);
    dbenv->repmgr_set_ack_policy(dbenv, DB_REPMGR_ACKS_ONE);
    for (x = 0; x < num_peers; x++) {
    dbenv->repmgr_add_remote_site(dbenv, peers[x].name, peers[x].port, &peers[x].eid, 0);
    dbenv->rep_set_nsites(dbenv, num_peers + 1);
    dbenv->open(dbenv, ".", flags, S_IRUSR | S_IWUSR);
    dbenv->repmgr_start(dbenv, 3, DB_REP_ELECTION);
    sleep(SLEEPTIME);
    close_env() {
    dbenv_p->txn_checkpoint(dbenv_p, 0, 0, 0);
    dbenv_p->close(dbenv_p, 0);
    open_databases() {
    db_create(&dbp, dbenv_p, 0)
    flags = 0;
    if (app_data->is_master)
    flags |= DB_CREATE;
    dbp->open(dbp, NULL, "primary", NULL, DB_HASH, flags, 0);
    ... Wait for db if slave and ENOENT ...
    primary = dbp;
    dbp->open(dbp, NULL, "secondary", NULL, DB_BTREE, flags, 0);
    ... Wait for db if slave and ENOENT
    secondary = dbp;
    while (app_data->client_sync) {
    sleep(SLEEPTIME);
    close_databases() {
         secondary->close(secondary, 0);
         primary->close(primary, 0);
         dbenv_p->txn_checkpoint(dbenv_p, 0, 0, 0);
    }

    Running recovery (DB_RECOVER flag to env->open()) must be done only in the first process to open the environment.
    This is a general rule of Berkeley DB, not specific to replication. You can read more about it in the Reference Guide, on the page entitled "Architecting Transactional Data Store applications".

  • Problem finding process WSDL after deployemnt to server

    Using:
    BPM Standalone Server 10.3 (o/s Red Hat Linux 5.0)
    Oracle BPM Studio 10.3 (Windows XP)
    I have exported a BPM project and deployed it to the Server using the BPM Processes Admin console. When running the project locally, I was able to target the WSDL for a process contained within the project using a URL like this:
    http://machinename:port/albpmServices/YBS/ws/ExtraPayApprovalServiceListener?wsdl
    Now I have deployed to the server, I am unsure how to target the WSDL in a browser. The project was deployed to the following directory structure:
    /tomcat/temp/webconsole-2067131070/YBS/build/output-9246126611704127070
    but I can't find any reference to ExtraPayApprovalServiceListener.
    Any suggestions?

    I found the answer incase anyone is wondering (actually, I was given it from another source).
    I needed to subsitute the engine name for from the local machine with the engine name from the server. The port number should remain 9000 as per the local machine. I made the mistake of thinking the port should change to reflect the port the process admin on the server was running under.
    Working Eg.
    http://machinename:9000/albpmServices/serverenginename/ws/ExtraPayApprovalServiceListener?wsdl

  • Target Vs Acual Cost Comparison for multiple process orders

    Dear SAPians,
    I want to take a report for target vs actual cost for all process orders and product cost collectors created in a particular period. I have checked the standard report KKBC_ORD that serve my purpose but for a single order. I want the same report for multiple process orders and product cost collectors.
    Is there any standard report or should I create a report painter report. I have tried to create a report painter report based on library 7KO, but target cost was not showing for selected order.
    Kindly suggest.
    Shirazi

    Target Costs are available in library 601 for internal orders (and can be used for process/production orders).
    Regards,
    Adrian

  • Server 2012 R2 SMB - The process cannot access the file '\\server\share\test.txt' because it is being used by another process.

    Hi,
    We are having issues with Server 2012 R2 SMB shares.
    We try to write some changes to a file, but we first create a temporary backup in case the write fails. After the backup is created we write the changes to the file and then we get an error:
    The process cannot access the file '\\server\share\test.txt' because it is being used by another process.
    It looks like the backup process keeps the original file in use.
    The problem doesn't always occur the first time, but almost everytime after 2 or 3 changes. I have provided some code below to reproduce the problem, you can run this in a loop to reproduce.
    The problem is that once the error arises, the file remains 'in use' for a while, so you cannot retry but have to wait at least several minutes. 
    I've already used Process Explorer to analyze, but there are no open file handles. 
    To reproduce the problem: create two Server 2012 R2 machines and run the below code from one server accessing an SMB share on the other server.
    Below is the code I use for testing, if you reproduce the scenario, I'm sure you get the same error.
    We are not looking for an alternative way to solve this, but wonder if this is a bug that needs to be reported?
    Anybody seen this behavior before or know what's causing it?
    The code:
    string file =
    @"\\server\share\test.txt";
    if (File.Exists(file))
    File.Copy(file, file +
    ".bak", true);
    File.WriteAllText(file,
    "Testje",
    Encoding.UTF8);
    The error:
     System.IO.IOException: The process cannot access the file '\\server\share\test.txt' because it is being used by another process.

    Hi,
    There is someone else having the same issue with yours. You could try code in the article below:
    “The process cannot access the file because it is being used by another process”
    http://blogs.msdn.com/b/shawncao/archive/2010/06/04/the-process-cannot-access-the-file-because-it-is-being-used-by-another-process.aspx
    If you wonder the root cause of the issue, the .NET Framework Class Libraries forum can help.
    Best Regards,
    Mandy 
    If you have any feedback on our support, please click
    here .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • In Process and Out of Process Report Server

    Hi All
    I am developing application using oracle 9i Forms and that will we will implement on Clustering Structure and expected more that two thousand users. There is In-Process and Out of process Server. For out of Process i have to Use RUN_REPORT_OBJECT command and need to install one report server. i want to make sure which one i the best way and better for performance. and if any body will tell me the advantage and disadvantages then will be much appreciated.
    Thanks

    Post Author: yangster
    CA Forum: Formula
    i'm assuming you are dealing with a standard machine with sunday as the start date of the weekso using the combination of dayofweek and the timestamps you will be able to know whether your are dealing with an in or an out hours activityif dayofweek(actvy_date) in &#91;2, 3, 4, 5, 6&#93; andtime(actvy_date) between time(08, 00, 00) and time(18, 00, 00) then "IN" else "OUT"so anything that occurs between monday to friday and between 8am and 6pm will be an IN everything else is an out

  • Newbie: why are there multiple process started?

    Hi I have a simple question to ask...
    Q1. Why are there multiple process for webserver instance and http-admserv for a default installed web server? Please refer below:
    $ ps -ef | grep web
    root 931 930 0 Jan 21 ? 0:00 webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n https-adms
    root 930 1 0 Jan 21 ? 0:00 ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n htt
    root 948 1 0 Jan 21 ? 0:00 ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-mta01.mydomain.com
    root 932 931 0 Jan 21 ? 0:03 webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n https-adms
    root 949 948 0 Jan 21 ? 0:00 webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-mta01.mydomain.com/config
    root 950 949 0 Jan 21 ? 42:09 webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-mta01.mydomain.com/config
    jes 6203 5994 0 10:52:36 pts/2 0:00 grep web
    I understand we need 1 watch dog for web server and 1 for admin server but why 2 process for "https-mta01.mydomain.com" and "https-admserv"?
    Q2. This is in relation to Q1. If I need to turn on CA Agent for monitoring, which process should I monitor for web server instance and also for http-admserv?
    Newbie.

    Ans1) That is by design and default behavior. There is one watch-dog process and 2 webservd processes that get started by default. The first webservd is called primordial and the second child webservd is the one that actually serves all the HTTP requests.
    Example:
    # ptree 6898
    6898 ./webservd-wdog -r /space/iws61sp2 ...
    6899 webservd -r /space/iws61sp2 -d ..
    6900 webservd -r /space/iws61sp2 -d ...
    In this example, the pid 6898 is called the watchdog process,
    6899 webservd process is called the primordial process
    and the pid 6900 is called the child webservd process that actually serves all the HTTP requests.
    Ans2) You would monitor the child webservd process.
    Thanks
    Manish

  • Executing multiple process instances in a batch

    In one of our processes we need to execute multiple process instances together in one go. In order to accomplish this, we have taken a new process which takes a list of instanceStampIds to be processed and then using PAPI processing them one after another in a loop. There is a grab actibity defined, named "GrabAndProcess" to Grab the process instance and then to execute it. We're getting the exception: "Cannot invoke on remote components" while getting process instance using getInstance() in the code below. Here is the code:
    logMessage("\[MultiReconcile\]\[reconcileTask\] Inside Reconcile Task... " + instanceStampId);
    // Pre-Process instanceStampId
    instanceStampIdList = instanceStampId.split(delim : "!");
    // Define the arguments of the activity.
    argumentSet\["reconcilerCommentsArg"\] = reconcilerComments;
    argumentSet\["newStatusArg"\] = newStatus;
    argumentSet\["reconcilerIdArg"\] = reconcilerId;
    logMessage("\[MultiReconcile\]\[reconcileTask\] instanceStampIdList.length: " + instanceStampIdList.length());
    logMessage("\[MultiReconcile\]\[reconcileTask\] Connecting to ReconcilationProcess... ");
    ClientBusinessProcess.connectTo(processId : "/ReconcilationProcess");
    logMessage("\[MultiReconcile\]\[reconcileTask\] Connected to ReconcilationProcess... ");
    foreach (instanceStampIdVal in instanceStampIdList) {
    logMessage("\[MultiReconcile\]\[reconcileTask\] Inside loop... instanceStampId: " + instanceStampIdVal);
    // Pre-process Instance Id
    instanceStampIdParts = instanceStampIdVal.split("/");
    String baseInstanceStampId = "";
    for (int part=0; part < instanceStampIdParts.length - 1; part++) {
    if (instanceStampIdParts[part].compareTo("") != 0)
    baseInstanceStampId = baseInstanceStampId + "/" + instanceStampIdParts[part];
    logMessage("\[MultiReconcile\]\[reconcileTask\] instanceStampId: " + instanceStampIdVal);
    logMessage("\[MultiReconcile\]\[reconcileTask\] baseInstanceStampId: " + baseInstanceStampId);
    // Grab Instance
    try {
    logMessage("\[MultiReconcile\]\[reconcileTask\] processInstanceId: " + baseInstanceStampId);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Getting Process Instance..." + baseInstanceStampId);
    instance = ClientBusinessProcess.processService.getInstance(instance : baseInstanceStampId);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Instance " + baseInstanceStampId + " Retrieved.");
    logMessage("\[MultiReconcile\]\[reconcileTask\] Grabbing Instance... " + instanceStampIdVal);
    instance.grab(grabActivity : "GrabAndProcess");
    if (instance.grabbed) {
    logMessage("\[MultiReconcile\]\[reconcileTask\] Instance " + instanceStampIdVal + " grabbed successfully!");
    // Process Instance
    instance.runTask(activity : "GrabAndProcess", args : argumentSet);
    reconcileResult = reconcileResult + "\nInstance " + instanceStampIdVal + " processed successfully!";
    logMessage("\[MultiReconcile\]\[reconcileTask\] Instance " + instanceStampIdVal + " processed successfully!");
    catch (Java.Lang.Exception e) {
    reconcileResult = reconcileResult + "\nInstance " + instanceStampIdVal + " could not be processed!";
    logMessage("\[MultiReconcile\]\[reconcileTask\] Exception occurred while processing instance " + instanceStampIdVal);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Exception: " + e.message);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Done with processing instanceStampId " + instanceStampIdVal);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Leaving Reconcile Task... " + instanceStampId);
    display (reconcileResult);
    Why is it giving the execption "Cannot invoke on remote components"? What's wrong in the above approach?
    Any help in resolving the issue will be highly appreciated.
    Thanks,
    MK
    Edited by: goelmk on May 6, 2009 3:11 PM

    Hi,
    Could you go into your use case a little bit? I'm confused why you're using PAPI and the automatic grab functionality.
    Going under the assumption, you're trying to use it to do ad hoc routing of intstances. If this is the case, here's another approach to using an automatic grab to route instances. The "instF" search would need to be modified to suit your use case:
    BusinessProcess bp;
    try {
        logMessage("PapiHelper: actionGrabAndRoute: Entry: instance: " + instanceToActOn.instanceIn, severity : DEBUG);
        InstanceFilter instF = InstanceFilter();
        Fuego.Instance[] instances;
        String instanceDescription;
        bp.connectTo(url : Fuego.Server.directoryURL, user : "AUTOCLIENT", password : "P",
                     process : "/" + processName);
        instF.create(processService : bp.processService);
        instF.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ONLY_INPROCESS);
        instF.addAttributeTo(variable : VarDefinition.INSTANCE_NUMBER, comparator : Comparison.IS,
                             value : instanceToActOn.instanceIn);
        instances = bp.getInstancesByFilter(filter : instF);
        foreach (inst in instances) {
            logMessage("PapiHelper: actionGrabAndRoute: Found it: " + inst.id, severity : DEBUG);
            try {
                // change this to be the name of your Grab Activity
                inst.grab(grabActivity : "GrabAutomatic");
                logMessage("PapiHelper: actionGrabAndRoute: Grabbed Instance Status: " + inst.grabbed, severity : DEBUG);
                try {
                    inst.runTask(activity : "GrabAutomatic");
                    logMessage("PapiHelper: actionGrabAndRoute: Ran Grab " + inst.grabbed, severity : DEBUG);
                catch (Exception e) {
                    logMessage("PapiHelper: actionGrabAndRoute: tried to run grab and failed because no task to run in Grab", severity : DEBUG);
                inst.route(activity : groupGrabAndRouteToActivityName);
                logMessage("PapiHelper: actionGrabAndRoute: Routed back", severity : DEBUG);
            catch (Exception e1) {
                logMessage("PapiHelper: actionGrabAndRoute: Exception when running or routing: " + e1.cause, severity : DEBUG);
                errors = errors + "Instance could not be grabbed and reassigned\n\n";
                logMessage("PapiHelper: actionGrabAndRoute: Errors: " + errors, severity : DEBUG);
    finally {
        bp.disconnectFrom();
    }Dan

  • Searching Multiple Process instances

    Guys,
    is it possible to search for multiple process instances with a singly search query.
    I need to search for all instances for process TestProcess1 & TestProcess2. Can i avoid calling the connectTo method twice.
    pName = /TestProcess1
    connectTo bp
    using url = Fuego.Server.directoryURL,
    user = user_name,
    password = password,
    process = pName

    Try this logic to hit the ProcessService component if you want to hit multiple processes. Included in this are two different techniques (see "loop 1" and "loop 2") for its use.
    Note the "finally" ("on exit") logic at the bottom to disconnect. Don't forget to do this when using ProcessService.
    do
      connectTo ProcessService
          using url = Fuego.Server.directoryURL,
          user = "test",
          password = "test"
      inboxViewId as String = "unified_inbox"
      inbox as Fuego.Papi.Instance[]
      inbox = getInstancesByView(ProcessService, viewId : inboxViewId)
      // loop #1
      for each instance in inbox do
        logMessage "Here's an instance found in the inbox: " + instance.id
      end
      instF as InstanceFilter
      create(instF, processService : ProcessService)
      addAttributeTo(instF, variable : "customerType", comparator : IS, value : "Gold")
      instF.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ONLY_INPROCESS)
      // loop #2
      for each inst in getInstancesByFilter(ProcessService, filter : instF) do
        instanceVarValue2 as Object = getVar(inst, var : "orderAmount")
        logMessage "amount is: " + Decimal(instanceVarValue2);
      end
    on exit
      disconnectFrom ProcessService
    endDan

  • How Do You Apply Process Effects To Multiple Clips In A Multi-Track?

    A multi-track sequence brought over from Premiere, I have over a dozen clips from a funeral service video that need noise reduction.
    But, because it's a process effect, I can only work on one clip at a time. Furthermore, I may need to apply several passes of the NR effect to eliminate the noise without sounding weird.
    How then do I apply that effect (and its parameters) to the rest of the clips in the sequence?
    In Premiere, you can copy and paste effects (and their parameters) from one clip to another. There is no such thing in Audition that I can see.

    Hi, Alex.
    It seems you want to do some broadband de-noise processing. While one can do a noisefloor sampling from one clip and apply it to others (great for when you have multiple takes from the same setup), it may be best to noise sample each individually if the mic has moved position enough to cause the tonal characteristics to change.
    An example would be if on-screen talent is walking in an outdoor location. In one part of the location, a particular section of the clip has a lot of BG traffic noise. Another recording has a fountain in the BG - while it still may have some of the traffic in it, the predominant BG noisefloor is "strong fountain/weak traffic", so like others have mentioned, it makes more sense to make a new BG sampling to match the characteristics of this clip.
    All that being said, here is how you BATCH PROCESS / broadband de-noise a bunch of clips, it's a 4-tiered / 21-step process when starting from scratch.
                                  NOTE: there is a manual cheat after the Batch Processing lesson - skip to that if you wish
    (WARNING - this type of processing is most successful if the file has been EQ'd or gain boosted (if needed) before processing. This is also true for the noisefloor sample. It should be taken from the pre-adjusted clip so that it all matches level)
    1) find / open a source clip that best represents the BG noisefloor you wish to sample as your broadband source for processing,
    then in the WAVEFORM editor window press alt-shift-C to save this selection as a new file - give it a unique name that represents its function
         a. ideally, this selection will be more than 5000 samples
         b. should be free of non-BG noise sounds (Dx, footsteps, mouth sounds, it should sound like a very short ambiance loop)
    2) with your new sample saved and your source clip still open in the UI:
         a. load your noise print file
         b. adjust the Noise Reduction and Reduce by  sliders (I suggest you start with a noise reduction value of 100% with a reduce value of 3 to 6 dB)
         c. under Advanced Settings, set Spectral to 0%, Smoothing to 20, Precision to 7, and Transition width to 2dB - these settings
             are like painting not with a wide brush but with a thinner brush, which means less cancellation of frequencies you want to keep and less artifacting
         d. toggle on/off the Output Noise Only function to see just what you are subtracting in your process - a great way to make adjustments until your
             noisefloor-only sound is free of Dx and other Production sounds
         e. optional advanced step - in the process UI Frequency window, you can draw a curve to select the frequency ranges that will be processed - this is another
             way of "thinning the brush" so that you are NOT processing where it's not needed in the broadband range - i.e. hiss from a low-quality mic,
             open the FA window [alt-Z] to see realtime Freq. Analysis on playback of your clip with the processing;
             adjust your settings and the curve in the window to counter the frequency range of the noisefloor - this process is like alchemy, wicked awesome
         f. once you're happy with your settings,  click the Save Effects Preset button (down-arrow on hard-drive) next to the Presets pulldown button.
                   do NOT apply your process yet - that's the next step
    3) now, you're going to create the Favorite that the Batch Process will use to process your clips
         a. select Favorites / Start Recording Favorite (every user function of the software is now being recorded into a macro)
         b. in the Noise Reduction UI, click the Load Noise Print button and select your saved file
         c. now, select your preset from the pulldown menu
         d. click the Select Entire File button below the UI Freq. window
         e. click Apply
         f. click Favorites / Stop Recording Favorite
    4) now, under EDIT, select Batch Process
         a. select your new Favorite from the pulldown tab
         b. drag and drop the files into the Batch window or load them from the Load button in the upper left of the Batch window
         c. click the Export Settings button in the bottom left
         d. set any pre/postfix labeling additions (this works a lot like Adobe Bridge's Batch Rename tool - amending the original filename to differentiate
         e. set a NEW save location to isolate the files
         f. set the format / type / bitrate  (best to keep the original format or a higher quality); when finished, click OK
         g. in the lower right corner, click the RUN button and watch the magic right before your eyes
    [HERE IS THE CHEAT]
    Now that you're learned the magic of batch processing (FYI a new favorite can contain / execute multiple existing effect processes), here is what I recently did in a doc with interview footage - guys in front of a green screen with a less than perfect sound environment.
    1) in Multitrack mode, double-click your clip to process
    2) in Waveform mode, select the noisefloor area to sample and type shift-P
    3) type ctrl-shift-P to open the UI - adjust your De-noise settings for ALL of your processing
    4) type ctrl-A to select the entire file
    5) click Apply; type ctrl-shift-S to save this processed file (I add "_PROC") as an alternate to the original which still exists should you want to go back to it easily - the ALT file will be in the multitrack timeline
    6) type G (de-select I/O area) then type F12 key - returns to Multitrack mode
    7) double-click your next clip to process and repeat steps 3-7 until finished (you won't need to tweak the settings in 3 after the initial step 3)
    In 3-5 minutes, you're Done!
    I discovered another layer of coolness within Audition regarding CLIP Effects Racks where one can setup a stack of effects, save as a User Preset, and apply them to either an individual clip, a set of clips, or to a track.  This is great when you want to apply, for example, a Parametric EQ for filtering an outdoor location or boosting a lav mic's High Freq. Shelf for addition sibilance PLUS a Tube-modeled Compressor to handle dynamics...you spend a lot of time tweaking the settings "just right", and now you want to apply to more than one clip on a track.
    In a short film I'm working on, I use this technique to apply EQ and Room Ambiance (reverb) to camera perspective changes on a single track of ADR for off-camera Dx.  I place the Dx in a track. Splice on the camera edits to make unique clips, select the Audio Perspective preset I made for each camera angle, and Voila!
    Have fun!
    -CS

  • Multiple processes under linux

    If I run Java programs under Suse Linux 9.0 using JDK 1.5.0_09 for every started Java programm I can see 9 processes running under linux.
    It seems like one of them is the master and the others are child processes of this one.
    I've never seen this with other Linux / Java versions before.
    Could anyone tell me what's happening there?
    Thanks xccarlsson

    Earlier versions of linux threads were done by mapping each thread onto it's own process and each of these processes shared their address space with an original process, the one you describe as the master. The newer thread model is more like what you'd expect with one process and multiple contexts within the process. So you must be running on system which is using the old threading model.
    tom

  • Can Java Spawn multiple processes?

    I see that Directory proxy server is spawning multiple processes. Is this really possible? How should one shut down this process? kill -15 did not kill child process
    Operation System is Solaris 10.
    -bash-3.00$ ptree 27450
    27450 /usr/jdk/instances/jdk1.6.0/bin/java -Xss128k -Xmx1400M -Xms1400M -XX:NewSize=1
    27789 /usr/jdk/instances/jdk1.6.0/bin/java -Xss128k -Xmx1400M -Xms1400M -XX:NewSize=1
    27790 /usr/jdk/instances/jdk1.6.0/bin/java -Xss128k -Xmx1400M -Xms1400M -XX:NewSize=1
    Thanks!

    Because on linux threads are implemented as standard processes but on other
    platform like windows and solaris they are not processes.

Maybe you are looking for

  • Using win7 and IE I am unable to successfully download an interactive document for completion online

    I use Window 7 and Internet Explorer and Acrobat XI to download an eletter for completion on line. The down is completed but the Acrobat window remains grey and no content is displayed and the window freezes.

  • Straighten tool isn't visible

    Up to recently my Photoshop Elements 11 straighten tool worked OK but now I can't see the line I am dragging.  Is there a way to make it more visible again?  I can see the start but not the line and sometimes I can see the X at the end but it is diff

  • Exs samples

    I'm trying to find all the samples for my exs instruments to transfer to a new computer - does anyone know where logic keeps them - they're not in any library folder.  many thanks!

  • Remove Task card in Workspace and Terminate a process

    Hi all, We have a long-lived process that goes through an orchestration of approvers. When I try to terminate the process through the Admin UI console the process just remains in TERMINATING status and never gets terminated. The task card also remain

  • Oracle on Linux PPC

    Hi does anyone know of any plans to port Oracle to Linux on PPC? I have Mandrake 9.1 running on Apple XServers which I was considering using Collaboration Suite on.