Trigger admin e-mail on process flow error in real time

I currently have an e-mail sent (success, warning, error) at the end of a workflow, and somewhere in the middle at the end of larger collection of mappings. However, now I am looking into triggering e-mails at any error or warning in the middle of the workflow. Is this possible?

The major challenge on your stated information is that you are going to work with Windows.
Windows is not a deterministic OS. That means that you can have any kind of timing jitter at any time. The common jitter does not exceed 1-10ms in average, but you can have spikes of up to even several seconds at any time (e.g. if virus scanner scans or hard drive is indexed, ...)!
So regarding the hard limits of your timing requirements, you might want to switch to a deterministic system, either Real Time (RT) or even FPGA (which seems to overblow the requirements....).
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • Trigger an e-mail for QA department at the GRN time only for a one company

    Hi experts,
    My client needs to trigger an e-mail for QA department at the GRN time only for a one company code. Is it possible with stand red SAP R3 system or can it be done through user exit. Please advice.
    If it is possible with standard SAP R3 please be kind enough to give configuration steps.
    Thank you & Best Regards
    Sameera

    Hi Sameera,
                        Very recently we have done a similar Development.
    but for the same we have used the Work Flow Functionality for the GR.
    you can use the Business Object :  BUS2045    Inspection lot
    you can check the same in SWO1 T-Code.
    you can check the Key Field is Inspection Lot no.
    That means , at the time of GRN if the Insp. Lot is getting Generated the Workflow can be initiated.
    then you have to wright an FS as to define for the Person to whom a mail to trigger.
    it can Trigger a mail to the External system as well as to the SAP Inbox for the information.
    in addition it can trigger an Event(Work Item) based on which the Quality Person can directly do the Inspection from the SAP Inbox.
    for more details you can contact your WorkFlow Consultant.
    Hope it helps you.
    regards,
    yawar Khan

  • Desing requriment for processing the IDOC in real time

    hi Gurus,
    we have a requirement to design for processing the IDOC in real time i.e.all the IDOC must be store and process for give time line with out using BPPM tool.we have suggested to use cache storage or storing the files in file adapter.
    please suggested good process with out compromising the Performance of PI.
    regards
    shankar

    hi Raj,
    Please find the example below for your reference
    let say
    System A-->PI--
    >system B
    system A sends multiple files based on time(daily or weekly) and real time( as an when the record created) to systerm B (CRM) in the form of IDOC Via. PI
    we needs to club the real time files and send it to system B.How best we can do without using BPM.
    regards
    shankar

  • Error: 0271: Real Time Clock Error - Check Date and Time settings.

    Hello all,
    I have lenovo T430s laptop that is configured with Bitlocker encruptions and TPM PIN entry. I don't think that has anything to do with the error msg I am getting but here it is. Error: 0271: Real Time Clock Error - Check Date and Time settings.
    Press Esc to continue or F1 to enter setup. I am unable to get into BIOS or even the login screen for Windows 7.
    Any advice would be appreciated.

    Thanks to everyone for the help.  Just want to close this out.  I had a IBM/Lenovo technician here today and he replaced the CMOS battery.  Upon the change, the computer is fine being reconnected to the dock (the three times I tried it).  So it has been resolved with the battery.  Surprised by the incompatibility claim because I am not having issues now.  Wondering if it's just a USB 2.0 vs. 3.0 thing (and Lenovo trying to sell more peripherals, of course).
    Thanks!

  • Process Flow Error

    I ran into a problem with one of my process flows, within my staging area. I have not had this problem before. My process flow looks as follows:
    --- > Map2
    --- > Map3
    --- > Map4
    Map1 --- > Fork --- > Map5 --- > AND --- > Map 9 --- > Map10 --- > Map11 …
    --- > Map6
    --- > Map7
    --- > Map8
    Mappings 1 through 8 ran successfully and populated their staging tables. The process flow showed success of mappings 9 through 16 (the last one) and successful completion of the process flow. However Mapping 9 was still extracting data and had not yet loaded its staging table. I was watching the execution in OEM. Mappings 10 through 16 did not execute after completion of Mapping 9.
    This is a weekly large data load into our data warehouse so I will not be able to run this process flow again until this weekend. Map 9 was running with a degree of parallelism of 16, if it matters, and did not fail.
    Has anyone run into this issue before?
    Thanks.
    Scott

    user10483084 wrote:
    I ran into a problem with one of my process flows, within my staging area. I have not had this problem before. My process flow looks as follows:
    --- > Map2
    --- > Map3
    --- > Map4
    Map1 --- > Fork --- > Map5 --- > AND --- > Map 9 --- > Map10 --- > Map11 …
    --- > Map6
    --- > Map7
    --- > Map8
    Mappings 1 through 8 ran successfully and populated their staging tables. The process flow showed success of mappings 9 through 16 (the last one) and successful completion of the process flow. However Mapping 9 was still extracting data and had not yet loaded its staging table. I was watching the execution in OEM. Mappings 10 through 16 did not execute after completion of Mapping 9.
    This is a weekly large data load into our data warehouse so I will not be able to run this process flow again until this weekend. Map 9 was running with a degree of parallelism of 16, if it matters, and did not fail.
    Has anyone run into this issue before?
    Thanks.
    Scottperhaps there's an error at MAPPING before MAPPING10, but it's not detected
    I suggest you to add 2 transitionto COMPLETE ERROR and COMPLETE WARNING
    from MAP1; AND; MAP9, MAP10, MAP11, ...
    and fill the transition; enumerate ERROR for ERROR, enumerate WARNING for WARNING,
    and the other line; enumerate SUCCESS
    --- > Map2
    --- > Map3
    --- > Map4
    Map1 --- > Fork --- > Map5 --- > AND --- > Map 9 --- > Map10 --- > Map11 …
    --- > Map6
    --- > Map7
    --- > Map8
    so you can know what MAPPING that doesn't success, and you can test it manually with control center, to know the error message
    Thanks

  • Owb process flow error handling

    Hi,
    I am using OWB 10gR2.
    I have 2 process flows that each call a series of mappings. Then I have one "master" process flow that calls the two aforementioned proecess flows. When a mapping errors, I want my whole master process flow to abort. I put error handling in, but it doesn't seem to work. For example, if I get an error in the first process flow, I get my email notification that something is wrong. The process ends. However, the master process flow continues to go. I want it to stop. It continues to go because there wasn't an error in the first process flow. The error was handled, and the process flow ended successfully. Does anyone have any tips or tricks on how to handle this type of situation? I'm not doing anything revolutionary. I'm just new to these process flows.
    Thanks,
    Tim

    hmm ok this sounds a bit weird to me.
    I've created similar processflows with customers and never had similar problems like you describe.
    Just to verify your design, here is how I would solve your master1 processflow.
    _______________________END_WARNING
    w w
    start----PF1----------s---------------PF2------s---- END_SUCCESS
    e e
    \___________________\____END_WARNING
    where the conditions for the transitions is indicated with w for warning, s for success and e for error.
    Some poorly made ascii art there but hopefully you get the idea...:p
    This also sounds like what you've done already and with extra email functionality.
    Are you sure that pf2 starts after pf1? Or can it actually run in parallel with pf1 but just finishes after pf1 so it seems like it its done afterwards? The reason I ask is that I experienced that in one of my processflows with around 30+ mappings, one of the mappings that was supposed to be executed almost at the end, executed before everything else and messed everything up. It was quite the annoying little bug and took a long time for me to discover. If you have noticed on the transitions, there is a little number next to the line on the canvas, indicating in which order the operators are to be executed. In my case, two transitions had the same number and that caused one of the mappings to just start as soon as the processflow was told to start. If this is the case there is a way to set these, but I don't remember right now. Delete and recreate the transitions also do the trick I think.
    Hope you figure it out!
    Ragnar
    edit: seems like my ascii art got a bit messed up... :(
    Message was edited by:
    rhaug

  • Process Flow Error: nonexistent LOB value

    Hi,
    I would like to send an email of all mapping statuses of the day. I created function to retrieve all messages from OWB$WB_RT_AUDIT_MESSAGE_LINES. Sometimes it works and another time it fails. After a little investigation I got the cause of this failure: length of the message exceed the limitation of VARCHAR2 (4000 bytes).
    Then I created another function for testing as follows:
    CREATE OR REPLACE FUNCTION FTEST_VAR RETURN CLOB IS
    tmpVar CLOB;
    BEGIN
    tmpVar := 'test';
    RETURN tmpVar;
    END FTEST_VAR;
    From SQLPlus I was able to query this function:
    SQL>select ftest_var tst from dual;
    TST
    test
    Then I created a process flow like this:
    START1->FTEST_VAR->EMAIL->END_SUCCESS
    In the process flow I created a variable EMAILBODY to bind to the output of FTEST_VAR and then bind EMAILBODY to the MESSAGE_BODY of the EMAIL.
    I deployed and run the process flow. It failed with this error message:
    ORA-22922: nonexistent LOB value
    ORA-06512: at line 1                                        
    Could anybody please shed a light on this?
    TIA
    Prat

    I am trying to setup pretty much the same type of flow to email job messages using a CLOB.  Were you able to find a solution?
    Thanks!

  • Process Flow errors - how do you see them

    Hi there
    Created and deployed a process flow but when run it either comes up with warnings or errors. Really simple process flow to run two mappings which, individually run fine. when run the process flow in Conrol Cenetr has error or warning symbol, click job details but can't see what the error, warning message is.
    Any ideas how to see them - this is the first process flow I've created?
    Many Thanks

    Hi
    You can either;
    * use the repository browser and view the audit trail there (must start the browser listener first).
    * use the OWB SQL Developer reports that use the public views on the exchange, the error details are recorded in the public views.
    http://www.oracle.com/technology/products/warehouse/htdocs/Experts/owb_sqldeveloper.zip
    I created these for a quicker turnaround time in building/debugging process flows. The browser is the official mechanism.
    This is fixed in 10.2.0.3 - you will see the errors in the control center manager, where you might have expected them in the first place!
    Cheers
    David

  • Process Flow errors in OEM Scheduler

    Hi
    I'm using OWB 10.1.03. I've created 2 process flows that load data from different sources. I have also set up a job schedule on Oracle Enterprise Manager (OEM) that runs a stored procedure. This procedure comprises two steps:
    (1) Start a loop and check for a table flag. If flag set then Run Process Flow 1 (using
    ret:= wh_runtime.wb_rt_api_exec.run_task('TARGET_LOC','PROCESS','WF_NAME','','',1)). Else keep looping until flag is set.
    Then immediately after Process Flow has run,
    (2) Start a loop and check for a different table flag. If flag set then Run Process Flow 2. Else keep looping until flag is set.
    If there has been an error in Process Flow 1, the mapping completes with error and an email notification is sent. However, according to the stored procedure, Process Flow 1 has completed and it therefore moves onto Process Flow 2.
    Is there a way of identifying if a Process Flow has completed with an error or warning, and therefore preventing the procedure moving onto step 2?
    Thanks
    GB

    Hi
    I managed to solve this by using part of the oem_exec_template.sql script within my stored procedure. I used l_audit_result to check the status of the workflow run and raised an exception if it was not a success.
    GB

  • Process Flow error- RPE 01003

    Hello,
    We are facing a very strange problem while running process flows in OWB. We are getting followig error when we execute process flows.
    InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
    - Io exception: The Network Adapter could not establish the connection
    It's strange because we are able to connect to source and target database outside owb. Also, the location test is successful. Any idea why it fails to connect while running process flow only. We tested the db links created by owb. They work as well.
    We are using OWB 10.2 on Oracle 10G installed on Linux RAC machines.
    Any help is appreciated.
    Thanks
    Madhavi

    I have a MATERALIZED VIEW in the process flow and it fails. the erros i get are as follows? can any one tell me what wrong with it?
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression null. Please modify the expression, redeploy and retry again.
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-02226: Cannot test Control Center user null. This user must match the login credentials of the deployment location.
    RPE-01003: An infrastructure condition prevented the request from completing.
    no rows found for select into statement

  • Process flow errors

    Hi all,
    I am upgrading owb from 10g R1 to 10g R2. Now, I can deploy and loading data for every mapping. When I am testing the process flow, I get the error message like this :
    ORA-01924: role 'OWB_O_OWBRTR2' not granted or does not exist
    ORA-06512: at "SYS.DBMS_SESSION", line 132
    ORA-06512: at line 1
    RPE-02215: Failed to test synonym QREGODSL_WB_RTI_WORKFLOW_UTIL.
    RPE-02260: Database User OWF_MGR must be a Control Center User.
    When I doing the upgrading, I did reporsitory upgrads, but nothing for process flow. Do I need to take some steps for process flow upgrades? If yes, how can I do it or where can I find the related document? If no, then what does the error message above mean?
    thank you so much

    The Process Flow Database User should be created as Target User before you deploy the process flow.
    i.e OWF_MGR should be created as a target user

  • Need your help !!! -- Authorization error for Real-Time Bex query

    Dear experts:
    I have a Bex query built on a multiprovider, this multiprovider is consist of one standard cube and one real-time cube(virtual provider). When I run this query, I can retrive the data and no error occured, but when others execute this query, they will get the error message below:
    Operation Generate a Request could not be carried out for DTP DTP_D7JVT8DGBQWPWL13VIUITNODG
    You do not have authorization for the data transfer process
    Errors occurred during parallel processing of query 2, RC: 3
    Error while reading data; navigation is possible
    Row: 54 Inc: WRITE_MESSAGES Prog: CL_RSDR_AT_QUERY
    I used tcode rsecadmin to track the authorization, when I execute as user XXX, I can get the same error above, but when I go to "Display Log", no error showed there.
    Did anybody meet the same error before? How to resolve that?
    Any post would be appreciated and thank you all in advance!
    Tim

    I think there is some missing authorization,here
    the user has no access to execute the DTP.
    You can analyse it in rsecadmin or also see
    which object you are getting in su53.
    Thanks,
    Saveen

  • How can i understand the Process Chain management in real time!!!

    Hi,
    now i am learning BW concepts. now i would like to know the real time scenarios regarding Process chains. can any body help me in this matter?.
    thanks,
    stikanth.ch

    Hi,
    A process chain is a defined sequence of interdependent processes required to perform acomplex task in an SAPBW environment. Data maintenance tasks in SAPBW are notrestricted to uploading data. Aggregate rollups, index maintenance, master data and ODS activation, and a variety of other jobs are required to update data, guarantee best-possible performance, and maintain data integrity. Typical SAPBW implementa-tions have complex interdependent networks of jobs in place that run every night, week,or month.Previous releases of SAPBW did not provide an integrated solution for scheduling and monitoring those kinds of job networks. This has changed with the introduction of process chains in release 3.0. Process chains allow you to define complex job networks consisting of standard SAPBW jobs, as well as custom jobs; they support visualizing the job network and centrally controlling and monitoring the processes.
    (from "Mastering the SAP BIW")
    New Features in BI 2004s Process Chains
    /people/mallikarjuna.reddy7/blog/2007/02/08/new-features-in-bi-2004s-process-chains
    Designing
    /people/vishvesh.bahirat/blog/2006/11/29/bw-process-chain-design
    Process chain creation in 2004s - step by step
    /people/juergen.noe/blog/2008/01/11/process-chain-creation--step-by-step
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    http://help.sap.com/saphelp_erp2005/helpdata/en/87/13843b74f7be0fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/content.htm
    Process Chain Errors
    /people/mona.kapur/blog/2008/01/14/process-chain-errors
    Common Process chain errors
    process chain issues or errors
    Try Searching in SDN for this Topic and you will find much detailed info as this is discussed very frequently.
    Hope this helps.
    Thanks,
    JituK

  • Error in Real Time Collaboration

    Hi
    We got an issue in our project.
    When ever any user log's into Portal it is giving a message called
    With title Real-Time Collaboration(You are logged to the same portal already. Real-time collaboration capabilities will not be available in the current portal session until you terminate the other session and then restart this one by refreshing the browser or logging on again.)
    We are using EP6 SP13
    And we are having 2000 Portal users every one is getting this error in portal.
    And After restarting the Server we are not getting that error. And again after a month it again starts.
    Thanking you in advance for help
    From
    Srikanth

    Hi Srikanth,
    We also faced the same error and it was because the same users have already logged into the portal once or more than once.
    The capabilities of real time collaboration feature might not work if an user has made multiple login to the portal using same id.
    Hope the issue should be same with you.
    With regards
    Deepa
    Plz reward points for helpful answers.

  • Initial Error during Real-time control

    Hello all,
    I am currently controlling a DC motor in real time by using an simple PI controller. 
    Unfortunately, I found that there is some initial error when the desired motor speed (which i desired) is zero, the error signal come from the actual DC motor is oscillating at -3.
    What should i do in order to make the initial signal to zero?
    Thank you very much.

    Ok barp, i had work out for many scale (-0.1, 0.01, 0.1, 0, 1, 2, 10, 100, 500, 1000, 2000, 3000) and i will show you here. P/S: Red color= Actual motor speed, Green color= Setpoint(desired Speed), and the white color= controller signal.

Maybe you are looking for

  • Applescript needed for iCal

    I'm looking for an Applescript that will create a report of my calendar's events for the current month and put that data into an Evernote note.  Does anyone know where I could get one?  Does anyone know how to do that or create that script?

  • XML, PHP and Flash forms

    After searching several tutorials and forum posts, I still am puzzled at how to get started on this. I want to enable my client to upload changes to the XML file used on his site without knowing anything about XML. He also wants to upload images whic

  • Solaris upgrade from 2.8 to 10

    Hi We are starting with the upgrade project soon, and it involves several phases. The first is to upgrade the operating system from Solaris 2.8 to Solaris 10. I have searched the support portal for an upgrade guide for this process and have found not

  • Update vendor master Classification Data

    Hello Folks, I am using Cremas message type to distribute the idocs from one system other system(SAP systems).. However i also need to update the Classfciation data.... In the basic type CREMAS05  there is no option for this.. I know couple of messag

  • Select * from ....

    Hi All, I am using a VO object. And I want to execute a query something like below to get all the rows. select * from table_users where user_type = '%' Reason: I know select * from table_users will suffice. But, before I execute this query the VO alr