Mapping audit_id in process flow with parameter

Hello!
I have a following request.
I would like to get AUDIT_EXECUTION_ID for certain Mapping in process flow and pass this ID to next mapping (all this with help of parameters I guess??) to get some data from AUDIT tables. How to do this?
OWB version 10.2.0.1
Thank you Gorazd
Edited by: gor on May 9, 2011 1:40 PM

Hi,
It is a bit complicated and technical.
Will give you a hint.
You need to install run_my_owb_stuff as a function, grant access, and create a public synonym.
Then within you have to add capturing of the execution_id as an additional custom parameter. (see below).
Once done. Add a Start parameter with same name to each Process Flow, and Bind it to any activity that you want to use the parameter with.
-- Override Parameters
dbms_output.put_line('Stage 3: Overriding Parameters');
-- override_system_input_params(l_audit_execution_id, p_system_params);
if p_task_type='PROCESS' then
-- GRI addition
     l_custom_params := p_custom_params || ', p_execution_id=' || l_audit_execution_id;
override_custom_input_params(l_audit_execution_id, l_custom_params);
else
     override_custom_input_params(l_audit_execution_id, p_custom_params);
     end if;
-- override_custom_input_params(l_audit_execution_id, p_custom_params);
- Jojo

Similar Messages

  • OWB | Passing input to mapping in the process flow

    Hi,
    I have a process flow which calls a stored procedure which returns 2 values.
    I want to use the values returned from this procedure as an input in my mapping. My mapping has Mapping_Input_Parameters definined for these two inputs.
    These values are going to be load_date and the batch it belongs.
    I have created new params in the process flow edit under the mapping. The process flow executes successfully if I give the input params as a constant. When I do a binding with the out variable of the stored procedure I get a deployment error as "Internal error: OUT_D_LOAD_DATE cannot be converted to a constant value. Please correct the value. If the problem persists then please contact Oracle Support with the stack trace and details on how to reproduce it."
    Please let me know how to resolve this and if there is way to get the load_date in the mapping without actually having to call the procedure in the mapping. The load_date will change everyday and I need to read it from a table.
    Thanks!

    Hi
    If you have resolved the error please guide me also Since I am also facing the same error. (RPE-02040: Internal error: MYRAND cannot be converted to a constant value. Please correct the value. )
    I am using 10gR2, Here my test process flow is
    Start - > MyRand -> FindOddEven->end
    Here MyRand function will return a value, the function findOddEven will just do a mod of 2 and return 1 for odd numbers and 0 for even numbers. When I bind the OUT parameter of the MyRand to the IN parameter of the FindOddEven it is throwing the same error.
    Thanks in advance

  • 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?

  • Disable particular Mapping Execution in Process flow

    Hi,
    I am working on OWB 11gR2. I want to disable the execution of a particular mapping in the Process flow. For example, there are 4 mappings A,B,C,D which run one after another,I want to disable the execution of mapping C alone.Is this feature available in OWB?
    Please Advice.

    Unfortunately this is not handled OutOfTheBox.
    You would probably need one or two things extra to do this properly:
    -create a table and a procedure/function that holds the mapping names together with a flag.
    -use a function operator in the process flow to retrieve a mappings flag from above specified table and store it in a variable in the process flow
    -use condtional transitions to route the flow either tru or alongside the mapping. use a reference to the variable used previously.
    -make sure the flow can exit properly when you use conditional transitions.

  • OMB05603 while deploying a process flow with OMB

    Hi all,
    I am trying to deploy a process flow with OMB. I tried with the repository owner and with a non-admistrative user, but I am getting the following error.
    OMB05603: Deployment of Component 'PROCESS_FLOW_MODULE' with action 5 is not allowed.
    Any help is appreciated.
    Regards,
    Sebastian
    Code Extract
    catch {
         OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$plan_name'
         puts "deployment plan created"
         set objectList [OMBRETRIEVE COLLECTION '$col_name' GET ALL REFERENCES]
         foreach object $objectList {
              set objectType [lindex $object 0]
              set objectName [lindex $object 1]
              OMBALTER DEPLOYMENT_ACTION_PLAN '$plan_name' ADD ACTION '$objectName' \
              SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE $objectType '$objectName'
              puts "adding action for object $objectType $objectName"
    }

    Hi Sebastian
    I suspect this is because you are trying to deploy the process flow module.
    The process flow package should be deployed - not the module and not the flow itself.
    Cheers
    David

  • Process flow with configuration for online payment of vendors

    Dear friends,
    I need the process flow with configuration for online payment to vendors through rtgs or neft.
    Please help me in this regard. One of my client wants to implement online payment process instead of cheque payment.
    thanks and regards
    satya

    1) Payments are initiated at the corporate SAP System using APP and converted into IDOC
    Could you please tell me the steps in converting the app into idoc.
    There are standard Idoc used for the same , for APP it would be PAYEXT, You need to use this Idoc type.
    You define the EDI payment method and assign the program in FBZP (RFFOEDI1)which would created payment medium.
    i believe in the app we will create the proposal and run the payment run, after payment proposal created what are the config steps involved in createing the payment run. for example for checque payment we will maintian variant for cheque printing.
    The payment run config is done in FBZP, which would include definf check PM and assigning house bank sub gl etc.
    2) PI at Client End receives the input through IDOC for the payments
    Pl means? and how the client will recieve this idoc what is the set up has to be made?
    PI(Process Integration) middleware which will send bank files from sap to bank and vice versa.
    3) Bank PI receives the payment and converts the same RTGS/NEFT format
    4) Payment Data is received at the Bank RTGS/ NEFT server for further processing
    how the payment data will be recieved by bank what is the process?
    This is again via PI or any thoird party tool which will send bank files to sap as Idoc, The idoc message type is FINSTA.
    or this in SAP you will have to configure the following:
    *House bank with partner profile
    *Outbound parameters                      what is meant by outbound paramenters and how to create and where to maintian
    *Inbound parameters                          what is meant by inbound paramenters and how to create and where to maintian
    The outbound and Inbounmd idoc's are the one which we send(PAYEXT) and rec from bank(FINSTA).  you create partner profile in WE20 and create partner profile once you create you assign outbound and inbound message types in there.
    *EDI Compatible payment methods        how to know about the compaitable payment methods
    Please goto house bank FI12 and you will see this in there, assign the PM used.
    *APP config                                        i know the app config for cheque payment, for this scenairo any additional settings?
    It would be pretty much same, you will have to define the PM used and Payment medium and remaining configuration in FBZP.
    *Bank details in Vendor :
    You will have to maintain the bank details of the vendor in vendor master.

  • How to setup PCG Flow Rule Process flow with Business Event subscription

    Hi,
    How to setup PCG Flow Rule Process flow with Business Event subscription type?
    When should Business Events be used?
    The latest user guide does not provide ay information on this functionality of Flow rules.
    Thanks

    You should find it's usage noted in the new PCG user guide on page 3-26 under the heading "Configuring Workflow/Event Rules". This way you can have a Flow Rule call a business event component or a workflow. This would be kicked off within a process flow as one of the steps.
    I hope that helps.

  • Binding mapping in a process flow

    Hi,
    This is the first time i am creating a process flow. I have kind of figured all the stuff out but i get 1 error in validation. i pulled the mapping into the process flow and named it but i donot know how to point it to the mapping in a particular location. is there something i need to do for this. I get the following error when i validate.
    mapping_name's bound object null of null type???has been deleted.
    Thanks
    Bharath

    Hi,
    I found the issue and it is solved...donot bother answering this thread....
    Regards
    Bharath

  • Process Flow with Status Busy

    Hello
    In Warehouse Builder Browser I have one Process Flow with Status Busy. I have restarded the whole server and status is still Busy.
    Through Oracle Workflow I try to Find Active Processes and there just is no one.
    Why is my Process Flow still Busy and how do I stop it? (Maybe the there is an error in Warehouse Builder Browser, it is not busy?)
    Best regards,
    Tina

    Just logout and login into Warehouse Builder Browser again. It is not busy any more ;-).
    /Tina

  • Can not delete a parameter of a mapping in a process flow

    Hi,
    I want to delete a certain input parameter of all mappings in a flow with tcl.
    I use this:
    OMBALTER PROCESS_FLOW '$flow' DELETE PARAMETER 'IP_VERSION' OF ACTIVITY '$act'
    If i test this in the OMBPlus window it says it deleted it however it is still there i the flow.
    If i use this statement in a tcl script the script halts without message.
    It says :
    Process Flow Parameter IP_VERSION deleted.
    process Flow PFP_MIKE_1 altered.
    And when i retrieve the parameters afterwards it is indeed stil listed:
    OMBRETRIEVE PROCESS_FLOW '$flow' ACTIVITY '$act' GET PARAMETERS.
    Can somebody confirm:
    --that i am using the proper syntax
    --if this is a known bug in owb 10gr2 10.2.0.1.31
    rgrds Mike
    Nobody ?
    Edited by: MichaelR64 on 7-jun-2013 9:45
    Edited by: MichaelR64 on 7-jun-2013 9:46

    Nobody ?
    I did some more testing.
    The clause i am using is this: deleteGenericActivityParameterClause
    deleteGenericActivityParameterClause = PARAMETER "QUOTED_STRING" OF ACTIVITY "QUOTED_STRING"
    See here: http://docs.oracle.com/html/E14406_01/chap4003.htm for the 11g verrsion.
    My flow has calls to other mappings in it.
    Both the mappings and the flow itself have this input parameter IP_VERSION.
    It seems the OMBplus parser is making an error.
    When i specify the name of the input param that is of the flow(and not the mapping in the flow) , but the rest of the command specifies the mapping activity as in OP, then OMB says that it deleted the parameter and that it altered the flow.
    And it halts there.
    But when i check the actual flow nothing has changed.
    When i specify the name of parameter that the called mapping has , ofcourse with the full command line as in OP, then OMBplus says it can not find the specified parameter.
    So it seems that the parser makes two errors:
    When searching for the parameter it looks in the wrong place, it always looks in the flow section instead of the acitvy specified.
    The ' OF ACTIVITY '$act' ' part is not used it seems.
    The delete part of the instruction is also confused by this and says it deleted the parameter but nothing actually happens.
    Hope somebody can confirm/shed more light on this.
    Edited by: MichaelR64 on 6-jun-2013 17:07

  • Skipping mapping execution in process flow

    I have a process flow that calls multiple mappings. Based on some condition I want a mapping not to execute, E.g. when rerunning the process flow in case of failure. Currently I keep track of mapping execution and store the status in a control table. When a mapping has completed, it updates the status as completed. When I need to rerun, in the SQL of the tables join in the mapping, I have a where clause that returns 0 rows (mapping_completed = N) . So mapping is excuted but no rows added/updated.
    The flip side of the approach is when using a complex join specially using views, the SQL takes a long time to run only to return 0 rows. So logic is okay but I want to save time by avoiding the execution of the mapping it self.
    I would like to know how others are implementing this scenario.
    Regards
    Sandeep

    Can you not have two different mappings one for running it first time and one which you can run on failure...
    In your process flow you can have a param i.e 'F for failure and 'I' for intial and based on this condition you can decide which mapping to invoke and hte path to be followed.

  • Execute process flow with OMB*Plus

    Hello,
    somebody know how to execute a process flow designed with OWB 9.0.4.8.21 within OMB*Plus?
    Thanks,
    Pedro

    Currently it is not possible to execute Process Flows or Mappings from OMB. OMB is to be used mostly as a metadata manipulation and processing platform, not for run-time management.
    What you could do is to put OMB metadata operation commands and runtime execution commands one after the other in a shell script and then run everything from this shell script (if this is what you are trying to do).
    Regards:
    Igor

  • A/R process flow with notice of readiness for shipment

    Hi,
    I'm trying to implement the following A/R process flow:
    - sales order
    - xx% A/R down payment invoice
    - notice of readiness for shipment
    - incoming payment
    - delivery
    - A/R invoice (xx% down payment to be deducted here)
    What's the best way to implement it?
    Thanks
    Fabio

    Hi,
    no, it's something different. It is because we want to be paid before shipping anything.
    In more detail:
    - we request a certain amount of down payment after the order and before starting production
    - we request final payment before we deliver goods
    Thanks
    Fabio

  • Process flow with BAPIs

    Hi experts,
    as we will try to built the Travel management in SAP CE, we want to trigger the whole travel management flow with BAPIs.
    The following already works:
    - Creation of trip BAPI_TRIP_CREATE_FROM_DATA
    - Approval of trip via BAPI_TRIP_APPROVE
    But now I don't know how to proceed.
    As I've seen in PR05, the status has then be changed to settled.
    Afterwards it can be sent to FI via transaction  PRFI.
    And then the posting in FI can be done in PRRW.
    Is that flow correct?
    What are the BAPIs to use for that?
    Is it BAPI_ACC_TRAVEL_POST?
    DoI also need BAPI_PAYROLLTRAVELEXPNSESPOST?
    Could please somebody of you give me an example for calling those functions?
    Unfortunately you have to specify a lot of parameters and I don't find much about it on SDN.
    Is there a way to retrieve this data first using only personnel number and trip number?
    Thanks in advance!

    Hi Eddie,
    For settling and posting the travel cost into the system, you can use t-code - PREC, PRFI and PRRW.
    Best Regards,
    Raj

  • Process flow with AdobeForm

    Morning,
    I was wondering if it was possible to create a form and set up an approval flow within the site so it goes to one person for approval and once they approve they click submit it passes to someone else to confirm further approval?
    Thanks
    Greig

    Hi,
    Approval process flow is not supported in Adobe FormsCentral.  You may want to check Adobe Acrobat, or Adobe LiveCyle products.
    Let me point you to the forums site: http://forums.adobe.com/index.jspa select Acrobat or LiveCyle at the drop down field.
    Thanks,
    Lucia

Maybe you are looking for

  • Rederteminação do Código de Imposto do controle de cópia do Documento

    Boa tarde pessoal, Eu tenho uma ordem de venda do tipo "COTAÇÃO" e elaborei nas customizações de SD, um controle de cópia que me permiti-se copiar essa Ordem, para uma outra ordem do tipo "CONSIGNAÇÂO"...até ai tudo bem é somente o processo de SD. qu

  • How to update Final Cut Pro with old apple id

    I realize that I can't update apps on my Mac using Yosemite that I bought or downloaded using an old apple id.  But I paid for FCP so don't want to just trash it and re-buy it.  Any suggestions?

  • Video podcast won't play on iPod

    I know others have had the same problem, but since I'm using Adobe Premiere Elements none of the answers have worked for me. I'm a relative newbie producing a new video pilates podcast: http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id

  • Flash newb can't get a SWF to work in a DW MX 2004 html

    I'm trying out Flash CS3 with my trusty ol' Dreamweaver MX2004, on Mac OS 10.4.9. I've had another DW site active for four years; this is the first time I've tried Flash. The swf plays as expected (I've posted it for reference at www.somethinghappeni

  • Syncing by Audio

    Hi there, When syncing by audio, what's happening when I offset the audio frames from the video frames? I was looking around for official documentation on this, but couldn't find any. I'm thrilled that the new Premiere Pro CC (7.0.0) can sync by audi