About External Process Fail in OWB 9.04

Hi All,
Under the Process Flow Editor, I have tried to call an external process ( batch file ) to do a copy action with following input value for the external process.
COMMAND - C:\WINNT\SYSTEM32\CMD.exe
PARAMETER_LIST - ?/c?c:\\temp\\copytest.bat
within copytest.bat, the content is :
copy c:\temp\temp.txt c:\temp\temp2.txt
I found that even the temp.txt is not exist, the transition condition is still be considered as success rather than warning or error.
So how could I let Oracle Workflow know that the external process has error. And does the mechanism is the same for all other commands e.g. calling a java application through batch file, or do a file rename using rename command e.g.
Thx in advance for any help could provide.
Best Regards
CH

The success or error condition of the external process is established based on the return code from the operation system. This is in turn controlled by the success_threshold parmeter of the external process operator. If the OS returns a value that is higher than the one specified in this parameter, the external process has failed. To connect this to the success/error/warning transitions, as the output of this operator, you might want to configure the Use return status as 'true' when you set the process flow configuration parameters. For more details, see the chapter 'Configuring Process Flows' (page 10-28 of the user's manual).
Regards:
Igor

Similar Messages

  • Error in external tax system: SAX processing failed on input stream SAX pro

    Hi
    When I was posted in T.Code: FB70,  (Customer Invoice) I am getting below mentioned error.
    Error in external tax system: SAX processing failed on input stream SAX processi.
    I put tick mark on calculate Tax column and select O1(A/R Sales Taxable).
    Pls. help me.
    Thanks
    Ranjith

    Hi Ranjith,
    I also face this problem in Production now.
    Could you kindly share with me how you resolved this issue?
    Thanks,
    Markus

  • How to pass BindVariables to External Process (Workflow)

    I build a shell script (unix) which accepts a command line parameter .... a "filename"
    The "filename" is a dynamic name!
    The workflow is build with a custom input parameter "filename" ... which I want to pass to an external process, which calls this shell script:
    How can I do that ?
    ExtProcess:
    Command : Val=/bin/ksh
    Parameter_List : Val=":/home/bin/myscript.sh:${Task.Input}:"
    (Binding ":Filename" replaces the whole value, sorry)
    Succes_Threshold: Val=0
    Script : Val="" , Binding=":Filename"
    ... does not pass the value of ":Filename"
    Script : Val="/tmp/fixed.name"
    ... works only with fixed names
    what I really need is something simple like:
    Parameter_list : Val=":/home/bin/myscript.sh:${Parameter.Filename}:FIXPARAM:"
    or Script : Val=":${Parameter.Filename}:${Parameter.Param2}:${Parameter.Pram3}"
    ... similar problem I had with FTP, I found no way to pass dynamic filenames or other parameters (except LOCATION Parameters)
    ... similar problem I had with EMAIL I found no way to include PARAMETERS to the mail body (except to replace the whole body by 1 parameter)
    Is there a solution or is in current version OWB 9.2 only "static" parameters supported.
    I also was missing to pass OUTPUT-parameters for example of a TRANSFORMation,
    I also was missing some urgent SYSTEM-parameters for self identification of the process(like "SYSTEM.TASK_NAME" "SYSTEM.EXECUTION_AUDIT_ID" "SYSTEM.ITEM_KEY" )
    Thanks for all hints and best regards
    Martin

    Actually... After further investigation this may not be needed. I'd be interested in the answer, to understand what is possible.
    The concept of passing parameters in the OWB workflow designer is rather limited, in my humble opinion. Sure, you can designate a "start" sequence that takes a parameter and you can pass that to mappings/transformations but there is no chance for feedback. Ie, if I manually (or through some rigged script) execute the flow with the "PARAMETER" then it will be able to bind. What about mid-flow. IE, select the record to be "processed", then call a "flow" with that as a parameter.
    Am I mistaken? Is there a way to expose the "out" parameters of a mapping, or the return of a "transformation function" as "OUTS" in the process flow.
    Of course, in a world where everything is OWB and in the DB one can leave data in tables, and pick it up on the other mappings. HOWEVER, most BI systems involve external retrievals, etc. that need a bit more "intelligence" then "run and return 1,2,3" . :)
    Hope this is helpful for product feedback. If I'm mistaken on the WF capabilities please clue me in. :)
    btw, I'm an OWB fan, certainly. The progress over the past two years has been excellent.

  • "attempting to copy to [external drive] failed. the disk could not be read"

    this is a problem on my 2x3GHz quad-core intel xeon macPro running os 10.5.7, and itunes 8.2. i have a 1TB external hard drive (firewire 800) that holds all my music for itunes. i have never had any problem with this setup before, until recently.
    once, a while back i got an error on my itunes (that popped up without me doing anything.. seemingly random) saying something about not being able to save the itunes library. that went away after a restart, and hasn't returned.
    BUT a new problem now happens any time i try to add more music to my itunes library. i have always added music to itunes by setting up my preferences "add file to library" and have the itunes library pointing to my external hard drive. then by dragging the files on-top of a playlist, it sorts and adds the files to my external hard drive. i have been using this process for years without any glitches.
    now when i try to drag files into itunes, i get: "attempting to copy to [external drive] failed. the disk could not be read from or written to"
    i double checked the read/write privileges on my external drive and nothing has changed since i got it. (it's still read/write access for my user.. and i've even tried putting a "read/write" for "all" as well. no dice)

    thanks, that actually doesn't help the issue i'm having.
    but now the problem has expanded to finder and everything else. so i'm pretty sure the external hard drive is starting to go out. i'm currently attempting to back up all 700GB of info from the drive.

  • Error in using External Process in the Process Flow

    I Created a Process Flow with an external process to Move the file from one location to another location,
    I gave the below parameters for the External Process
    COMMAND: move
    PARAMETER_LIST: ?F:\\FlatFiles\\in\\company.txt?F:\\FlatFiles\\error\\company.err
    SUCCESS_THRESHOLD: 0
    SCRIPT:
    The environment is
    Windows 2003
    OWB 9.2.0.8
    OWF Builder 2.6
    When I deploy and execute using Deployment Manager, it gave me the below error
    Starting Execution TEST
    Starting Task TEST
    Starting Task TEST:EXTERNALPROCESS
    CreateProcess: move move F:\FlatFiles\in\company.txt F:\FlatFiles\error\company.err error=2
    Completing Task TEST:EXTERNALPROCESS
    Completing Task TEST
    Completing Execution TEST
    What am I missing something here?
    Is my Parameters correct?
    GIve me the link where I can find more on using External process.
    Please...please...help me..
    Shree

    Nikolai,
    I have created a simple process flow which only calls the external process. The script is on the same host as the process flow is deployed to.
    I have used two diffent values for the command parameter.
    1. I placed the full path of the file in the command parameter and left the script parameter blank:
    COMMAND: /edwftp/ppas/scripts/ClearPPAS.sh
    PARAMETER_LIST:
    SUCCESS_THRESHOLD: 0
    SCRIPT:
    2.I placed the bash command in the command parameter and the full path in the script parameter.
    COMMAND: /usr/bin/sh
    PARAMETER_LIST:
    SUCCESS_THRESHOLD: 0
    SCRIPT: /edwftp/ppas/scripts/ClearPPAS.sh
    Both of these appear to work as they print out the statements inside the script but the files that are supposed to be removed still remain.
    Starting Execution EXTER_FILE
    Starting Task EXTER_FILE
    Starting Task EXTER_FILE:EXTERNALPROCESS
    Removing ActivatedAudit.dat...
    Removing ActivatedCustomers.dat...
    Removing ActiveAudit.dat...
    Removing ActiveCustomers.dat...
    Done!
    Create the Activated Customers data file...
    Create the Active Customers data file...
    Done!
    WARNING: Log file truncated - see RAB for further information.
    /edwftp/ppas/scripts/ActivatedCustomers.sh: /edwftp/ppas/log/ActivatedCustomers.log: cannot create
    /edwftp/ppas/scripts/ActiveCustomers.sh: /edwftp/ppas/log/ActiveCustomers.log: cannot create
    WARNING: Log file truncated - see RAB for further information.
    Completing Task EXTER_FILE:EXTERNALPROCESS
    Completing Task EXTER_FILE
    Completing Execution EXTER_FILE
    The permissions on the /log direcotry are 775. The user I register the file location with owns this directory.
    Can't think of anything else I have missed. I really appreciate your help :)
    Ryan

  • Production operation external processing goods receipt for subcontract PO

    Hi PP/MM experts,
    I searched for existing forum entries but no luck or final answer.
    I have a question about the goods receipt for a subcontracting PO that is account assigned to an operation of a production order (external processing for operation).
    The following situation:
    Production order type PP02 - external processing
    There is only one operation in the production order with control key PP02 - external processing. I marked the control key PP02 in configuration for 'Automatic goods receipt'.
    I created a PO for the PR is the operation
    When I'm doing the goods receipt of the subcontrating PO a 101 posting is triggered for the finished product and components are consumed by 543 O movements. So far so good. But the inventory for the finished style is not increased. In MIGO I even see that even a batch number for the finished product is determined. Looks like that only the service is posted but not the inventory. I assumed when I mark the operation contol key for 'goods receipt' that the MIGO will also post the inventory for the finished style.
    Reason for PP order and not only subcontract order is that we want to manage capacities of external suppliers with PP capacity planning.
    Is that a bug in our system or normal behaviour? We use SAP ERP 6.5 with IS AFS.
    Thanks in advance for your answers.
    Best Regrads,
    Harry

    Hi Rizzi and all others,
    thanks for your replies.
    I'm using a production order for the following reasons:
    We want to use capacity planning for external suppliers. At least to have some overview of work they have to do in a month
    The external assembly can also be changed to internal assmebly and for that reason we will start always with the same kind of document -> production order.
    But one more thing what is really confusing. In the materials document list MB51 the 101 movement for the service is listed even if the inventory was not increased. That is really confusing for the users.
    Best Regards,
    Harry

  • External processing badi BAdI PP_OM_BD_BANF_HEADER_MATERIAL

    Hi,
      Please any one can help me regarding this badi implementation and explain the process flow of the scenario.
    I have 5 operations and operation 3 is external processing
    1.   once purchase order is created which material is supplied to vendor.
    2.   once external processing operation is done for which material the GR is done to recieve  from vendor.
    Thanks
    Krishna

    Hi Ritesh,
                  Thank you for the reply, But My question is if the header material is done GR wat about the inventory levels the same material shows work in  progress and again it is showed in inventory. correct me if i am wrong.
    Another question: my bom is like this A header
                                                               B Raw material1 assigned to operation 1
                                                               C Raw material2 assigned to operation 2
                                                               D Raw material3 assigned to operation 3
    Now to make the operation 3(external) we have to issue the assembly of B,C along with D, if  i am correct the purchase order will show the component D only to issue. How to issue the header and its tracking if possible.?

  • Re-processing failed messages in queue automatically

    Hi,
    While executing messages via PI to external system, sometimes the messages stucked in inbound queue with status "SYSFAIL" with status text "Command to tRFC/qRFC: Execute LUW again" (communication problem). The only way to execute LUW again is via DEBUG mode (F8). After using F8 the message runs and the queue released until the next time.
    How can I execute those messages with F6 (Execute LUW) or by any scheduling program (preferability to scheduling program)?
    Regards,
    Gil

    Hi Gigi,
    As stated in one of the blog (/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically):
    For automatic qRfc failure recovery, Schedule the report RSQIWKEX to run periodically. This report enables automatically resets the queues.
    Also, refer the following threads for more information on this topic:
    Re-Process failed XI Messages Automatically
    /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm

  • Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Found

    In my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service. Can anyone please
    help me.
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Found

    In my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service.
    HI Arivazhagan K,
    Could you give some explanation about what you modified? according the to error message, this is "resource is not found issue".
    Best regards,
    Angie
    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.
    Click
    HERE to participate the survey.

  • How to execute External Process activity in flow

    Hi,
    I want to run a pl/sql procedure as an external process in a process flow (OWB904 on WinNT). The procedure is run from sqlplus in a .bat file. I try to follow the example in the documentation; setting the value of the Command parameter to c:\winnt\system32\cmd.exe and the Parameter List value to ?/c?c:\\temp\\test.bat .
    The flow deploys ok and executes without errors, but the procedure is not run (I can tell because it contains an INSERT and COMMIT, but the row is never inserted). I'm pretty sure the connection info is correct; the test.bat file executes ok when run in a 'dos' window. I am obviously missing something here....
    Any clues?
    Regards
    Rolf

    Hi Richard,
    The <HOME>\owb\log\owbrt.log.6 file contains the following:
    15:21:05 [93EFE] AuditId=43689: Processing execute request
    15:21:05 [5843C4] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    15:21:05 [5843C4] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.ProcessFlow'
    15:21:06 [93EFE] AuditId=43693: Processing execute request
    15:21:06 [365F84] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    15:21:06 [365F84] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.Shell'
    15:21:07 [365F84] task_end auditId=43693
    15:21:07 [93EFE] AuditId=43693: Request completed
    15:21:07 [5843C4] task_end auditId=43689
    15:21:07 [93EFE] AuditId=43689: Request completed
    Rings any bells for anyone ??
    Regards
    Rolf

  • The FIP-FS Scan Process failed initialization

    Hello,
    I am on exchange CU7 update and trying to get anti-malware and spam to work.  I am constantly seeing the crashing of the FIP-FS service showing The FIP-FS Scan Process failed initialization. Error: 0x800706BE. Error Details: The remote procedure
    call failed.  Event ID 1106.  I am also getting constant app crashes of the scanningprocess.exe showing 
    Fault bucket , type 0
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: scanningprocess.exe
    P2: 15.0.1044.24
    P3: 546fc941
    P4: scanningprocess.exe
    P5: 15.0.1044.24
    P6: 546fc941
    P7: c0000005
    P8: 000000000005a8f6
    P9: 
    P10: 
    I have confirmed that updates are downloading for the malware database, but the services themselves are crashing for some reason.  I have checked what settings I know about for spam and anti-malware and have run out of options.  My FIP-FS service
    is terminating about once every 8 min so it's killing me in trying to figure out what is wrong.

    Ok. Perhaps you used any policy System Center Endpoint Protection
    Policy for OU Exchange Server or Domain.
    PS. In some cases, when a large flow of messages melvare filters and DLP can take up to 4 GB of memory for each filter. I do not know how many users you have in the postal system and its architecture, but it is recommended 24 GB of memory on the server
    for production environments.
     http://blogs.technet.com/b/exchange/archive/2013/05/14/released-exchange-2013-server-role-requirements-calculator.aspx
    PS. If you are using DLP, this module also uses ScanningProcess.exe
    Anti-Virus Software in the Operating System on Exchange Server
    ScanEngineTest.exe
    %ExchangeInstallPath%FIP-FS\Bin
    Content scanning component that's used by the Malware agent and DLP.
    Mailbox servers
    ScanningProcess.exe
    %ExchangeInstallPath%FIP-FS\Bin
    Content scanning component that's used by the Malware agent and DLP.
    Mailbox servers
    MCITP, MCSE. Regards, Oleg

  • How to pass process flow input parameter to unix script external process

    Hi,
    I'm trying to pass a process flow input paramter (string) to an external process which is a unix script. I've been working on this for the last 2 days but can't get it to work. Here is the design. I have a process flow with 3 maps that create a file in the unix file system. I have a suffix, which is an input parameter to the process flow, that will need to be passed to the unix script to rename the file appending the suffix to the filename. I've tried different things and nothing works for me. Has anyone done something similar in OWB?
    Thanks much!

    I tried using useBean inside the Jsp for this.
    But following error comes:
    OracleJSP error: oracle.jsp.parse.JavaCodeException: Line # 13, oracle.jsp.parse.JspParseTagExpression@102e37e
    Error: Java code in jsp source files is not allowed in ojsp.next mode.
    Please explain why?
    How can set POST request params when calling to an external servlet?

  • Substitute variables for external process activity in process flows

    Has anyone used with success substitute variables such as ${Working.Rootpath} for external process activity?
    I can't get it working. Variables aren't substituted and my scripts fail.
    Sample value for parameter_list parameter for external process I use is:
    |${Working.Rootpath}|
    and in the script I get:
    ${Working.Rootpath}
    which is of course not what I expected.

    In documentation is Working.Rootpath so there is a bug in documentation. It is ugly because it's hard to guess.
    Thank's for your reply Michael. I checked all that you described. Previously I had Working location set to "Use default location". When I changed it to actual location substitute variables started to work properly.
    If I correctly understand "Use default location" means: use location associated with process module. And for execution it works but for substitute variables doesn't. So I think it is a bug.
    Next thing is variables in the script itself. From examples sent by Mark (script: cd ${Working.RootPath}...) they should be set in environment and accessible to shell. This doesn't work for me but it is not described in documentation and can be easily achieved by passing parameters. So that's not a problem.
    One more question: Should I open tars and file bugs describing what we found?

  • How to handle starting of external processes with Runtime.exec() properly

    hi people,
    you find a lot about starting external processes with the Runtime class in every forum.
    -> that the stdout of the started processes has to be redirected and read
    due to os buffer problems
    -> that calling batches is done by starting the interpreter and the batch as parameter (cmd.exe, /bin/sh,..)
    -> that the created process doesn't have an os environment
    -> ...
    but what if you don't know anything about the started process.
    what if you only want only to start an external process. if you don't want to wait til waitfor() returns and if you don't read the streams of the created processes, the os stdout buffer will overflow immediately an the started process will be blocked.
    you can read the stdout of the started process, but what if the process does print nothing to stdout, and your bufferreader.readLine() will block ?
    you can do this (read buffer, waitFor()) in an separate thread, but the thread lives til the started process will finish, so maybe you got dozens of senseless thread ?
    So, what is an effective and good way to start external programs/processes if you don't know about them.
    so i would be grateful for an answer
    regards
    Alen

    I realize that's a pat answer, but it's true. Spawing off another program without being able to predict its behavior is dangerous.
    But anyway, as I understand it creating a new process is relatively expensive. The cost of creating new threads to read the process's I/O and later garbage collecting those threads when the process dies, probably isn't much of an additional burden.

  • Data warehouse monitor initial state data synchronization process failed to write state.

    Data Warehouse monitor initial state data synchronization process failed to write state to the Data Warehouse database. Failed to store synchronization process state information in the Data Warehouse database. The operation will be retried.
    Exception 'SqlException': Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Synchronization.MonitorInitialState
    Instance name: Data Warehouse Synchronization Service
    Instance ID: {0FFB4A13-67B7-244A-4396-B1E6F3EB96E5}
    Management group: SCOM2012R2BIZ
    Could you please help me out of the issue?

    Hi,
    It seems like that you are encountering event 31552, you may check operation manager event logs for more information regarding to this issue.
    There can be many causes of getting this 31552 event, such as:
    A sudden flood (or excessive sustained amounts) of data to the warehouse that is causing aggregations to fail moving forward. 
    The Exchange 2010 MP is imported into an environment with lots of statechanges happening. 
    Excessively large ManagedEntityProperty tables causing maintenance to fail because it cannot be parsed quickly enough in the time allotted.
    Too much data in the warehouse staging tables which was not processed due to an issue and is now too much to be processed at one time.
    Please go through the links below to get more information about troubleshooting this issue:
    The 31552 event, or “why is my data warehouse server consuming so much CPU?”
    http://blogs.technet.com/b/kevinholman/archive/2010/08/30/the-31552-event-or-why-is-my-data-warehouse-server-consuming-so-much-cpu.aspx
    FIX: Failed to store data in the Data Warehouse due to a Exception ‘SqlException': Timeout expired.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • My Macbook pro Retina 15 inch (2011) keeps freezing and rebooting out of no where.

    This is the code that pops up please help me! Anonymous UUID:       1DCA0D36-FFEF-A2B1-8C58-12173532A8D1 Fri Apr  4 16:49:09 2014 Panic(CPU 4): NMIPI for spinlock acquisition timeout, spinlock: 0xffffff80368a4568, spinlock owner: 0xffffff80375e39e0,

  • Add Customer Name to KE24

    Good morning, All User requirement to add customer name to the output of KE24. Customer number is already there. Could easily link to KNA1 to get NAME1. I'm hoping that there is an easy way to extend a structure or something to accomplish this but al

  • Differences in AS2 and AS3 MP3 Playback?

    This works in AS2 and plays fine: var my_sound:Sound = new Sound(); my_sound.loadSound(" http://download.podango.com/mediatracker/1/67943/ApplePhoneShow_46.mp3", true); This is chopping in AS3: var snd:Sound = new Sound(new URLRequest(" http://downlo

  • Phantom Font Problem

    I keep getting this Alert: "Fonts used in some text layers are not available for activation. You will need to replace these fonts before the layers can be used for vector based output." However i went through all my text layers (everything unlocked)

  • Javax.management.QueryExp

    related to my previous post, cause I can't use queryMBeans (myObjName, null), I'm trying to search Mbeans using javax.management.QueryExp I can retry with an MBean attribute set to a specific value: QueryExp queryExp = Query.eq(Query.attr("myAttr"),Q