Getting an process-flow audit id in the process flow itself

Hi,
I am using OWB 11gR2 and want to capture the audit_id of the process flow itself at the process-flow level.
I want to use this to pass it tru to the mappings in the process flow.
I know how to get audit_id when you're in the mapping (get_audit_id), but i want the audit_id of the process flow when i am "inside" the process flow.
When i have this i can let all of my mappings in the flow receive the same id.
When i setup a parameter at the process flow and specify get_audit_id there it errors on me.
Does anybody what to specify here ?

ok,
i figured it out myself and answered myself in another thread.
Basically it goes like this:
In the master flow you have sub-processflow objects which you want to pass along the audit_id of the master flow.
So that you can pass along the same audit-id to every mapping in all of the flows.
But it would be nice to be able to run sub flows independently from the master flows (for testing etc.)but still feed the same id(whatever that is) to the mappings in that process flow.
And on the lowest level this applies to mappings as well: be able to run a mapping and get a id to store in a field.
The same applies to feeding a process date to all the mappings in your flows(used for dwh purposes)
How does this work on the mappings ?
Create a mapping input parameter, put 2 params in it.
One date, one number. The date part is easy: just put SYSDATE in it.
The number part would ideally hold get_audit_id as default value. Unfortunately this generates an error.
So put default value of 1 here. Create a constant on the mapping with value get_audit_id in it.
Create expression that tests if input_param has something else than 1 as the value ; if so then there was no audit_id fed into the mapping by a process flow. Make the expression use the constant then. Use the output of the expression in your mapping.
How does this work in process flows ?
You'll have two different parts here:
-feeding from flow to a sub-flow
-feeding from flow to mapping
Flow to subflow:
You can not bind a flowparameter to subprocess paramter so you'll need to create 2 variables.(process date / audit id)
Create two parameters, one date with sysdate as default, one number with 1 as default.
Use assign operator to bind audit_id parameter to the audit id variable.
Use another one to bind to the same variable, but specify parent_audit_id as value instead of binding it to the paramter.
Use conditonal routing on these two assign operators to have one of these be executed.
This will ensure that the variabel either gets parent_audit or the value of the input parameter of the flow.
Use another assign op. to bind the date input to the date variabel.
Bind the parameters of the sub flows to the variables.
Flow to mapping:
Use the same procedure as descibed above. Only difference here is that you can bind a mapping parameter to a parameter.
This means that you'll don't need the assign stuff for the date parameter since you can bind the date parameter of the mapping to the input parameter of the flow.
Hope this helps someone ...

Similar Messages

  • I've tried several times to use iTunes Match that I purchased but keep getting an error message half way through the process

    I've tried several times to use iTunes Match that I purchased but keep getting an error message half way through the process

    sheltonrt wrote:
    I've tried several times to use iTunes Match that I purchased but keep getting an error message half way through the process
    That is strange, sheltonrt.
    What kind of an error?

  • After entering "Country or Region" United States, I do not get a next button to advance through the process.  What might be the cause?

    After entering "Country or Region" United States, I do not get a next button to advance through the process.  What might be the cause?

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • HT4889 Hi. I`ve just started transferring from my old Imac to a new Macbook, using the WIFI. But I realize it will take days to get it done. Can I cancel the process, and start over again using the thunderbolt port? Without causing any trouble?

    Hi. I`ve just started transferring from my old Imac to a new Macbook, using the WIFI. But I realize it will take days to get it done. Can I cancel the process, and start over again using the thunderbolt port? Without causing any trouble?

    See Pondini's Setup New Mac guide for possible answers.

  • My itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?

    my itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?
    Diagnostics test
    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    ECS G31T-M7
    iTunes 10.5.2.11
    QuickTime 7.6.9
    FairPlay 1.13.37
    Apple Application Support 2.1.6
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.97
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0012ABAC07F3CCB0
    Current user is an administrator.
    The current local date and time is 2011-12-31 14:06:21.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is not supported. (16005)
    Video Display Information
    Intel(R) G33/G31 Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:        {7599FAD1-1BB9-4AC6-80AF-404253DC519E}
    Description:            Atheros L2 Fast Ethernet 10/100 Base-T Controller - Packet Scheduler Miniport
    IP Address:             192.168.1.5
    Subnet Mask:          255.255.255.0
    Default Gateway:    192.168.1.1
    DHCP Enabled:      Yes
    DHCP Server:         192.168.1.1
    Lease Obtained:     Sat Dec 31 13:46:09 2011
    Lease Expires:       Tue Jan 03 13:46:09 2012
    DNS Servers:         192.168.1.1
    Active Connection: LAN Connection
    Connected:             Yes
    Online:                    Yes
    Using Modem:        No
    Using LAN:             Yes
    Using Proxy:           No
    SSL 3.0 Support:     Enabled
    TLS 1.0 Support:     Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was unsuccessful.
    The network connection timed out.
    Connection attempt to firmware update server was unsuccessful.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2011-12-31 14:00:02.
    **** Device Connectivity Tests ****
    iPodService 10.5.2.11 is currently running.
    iTunesHelper 10.5.2.11 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C8.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C9.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CA.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CB.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller - 27CC.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    Connected Device Information:
    rawkiss’s iPhone, iPhone 3G running firmware version 4.0
    Serial Number:       86931UEAY7H
    **** Device Sync Tests ****
    Sync tests completed successfully.

    I have found a fix after doing additional research through this forum. Tech Note #328730 addresses this problem and it works for Photoshop Album 3.2 even though it was written for release 1.0.
    Here is a link that will take you directly to the Tech Note:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=328730
    When using this fix the Tech Note indicates:
    "Imported image data and tags are lost when you re-create the My Catalog.psa file, so you need to reimport images and reapply any tags"
    however it did retain the captions (at least it did for me).

  • Can we stop the process chain in middle of the process ?

    hi experts,
        Can we stop the process chain in middle of the process after scheduled.
        my process chain is like  start--->load>psa>ods1-->further updates--->ods2. In this case I have already scheduled but i want to stop the process how can i. After rectifying the error I want to restart again.
    if it is possible what are the steps we fallow pl give me step by step procedure.
    thanks & regards.
    venkat

    stopping the process chain is pretty simple. you just need to kill the jobs associated to them as mentioned by other folks.
    for restarting, have a look at this blog.
    Restarting Processchains
    there he explains how to restart a stopped process chain.
    Raghav

  • Two pages reuse a task flow -------how to reinitialize the task flow?

    Hi, i get a question.
    In general:
    In the navigation menu i have two commandlink that are "Service" and "Application". And when i click on each of the two command links, i go to a page.
    The detail:
    This two commandlinks use a same task flow-----that is : <af:commandNavigationItem...... definition of this two link' action attributes are just the same.
    What's more, the pages that i go to when i click on the link also use the same one, just show something different bansed on the paramaters when alick on the link. The parameters are defined in the <af:commandNavigationItem...... using <af:setPropertyListener..
    And the question is:
    when i click on the "Service" link and see the "Add service" page and then click "Application" it's still the "Add service" page, and otherwise is the same. i just can not jump freely through this tow link.
    I have debuged the code and find that, once i click "Service" link then i click "Application" link, the task flow won't reinitialize.
    Any one has some solutions?
    Thanks in advance.

    Reading the official doc will help.
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/taskflows_complex.htm#BABHIAAI

  • SAP processes available for use in the process analysis tool Adonis?

    Hi everybody,
    I'm currently working in a project where we design a process for process documentation for a globally acting company.
    Mainly there are SAP and non-SAP based processes.
    For the SAP processes there doesn't exist any process diagrams just some functional specifications how the SAP system is working.
    All documentation will be designed with Adonis, a business process analysis tool by BOC (Link: http://www.boc-group.com/).
    Does anybody know, whether there are business process documentations available by SAP as diagrams e.g. the order flow process so that I can import the business process into Adonis to make it available as a process diagram? As far as I know Adonis can import BPMN, UML, XML files.
    Any help or hint is appreciated.
    Thanks in advance and best regards,
    Frank

    Hi Dan,
    no this is not possible. The Solution Documentation Assistant allows the analysis of how often certain transaction, reports etc. are executed in a certain time frame. But this is not split-up per organizational unit like company code or plant.
    You should contact your SAP Support Advisor and ask for a Continuous Quality Check service offering "Business Process Analysis & Monitoring" as part of SAP's Enterprise Support. This service comprises two remote days . One day analyzing your ERP processes like Order to Cash, Procure to Pay, Manufacturing, Plant Maintenance and Warehouse Management. There you can learn something about used document types and plants, sales orgs or shipping points. The second service day is used to setup an Business Process Monitoring (BPMon) example in your SAP Solution Manager.
    You can learn more about BPMon either in several SDN blogs (best starting point /people/volker.vongloeden/blog/2009/07/23/functional-scope-of-business-process-monitoring-in-sap-solution-manager) or on the SAP Service Marketplace https://service.sap.com/bpm.
    Best Regards
    Volker

  • When I close firefox I attempt to reopen, it wont load...looking in task manager shows it as a process, i need to, end the process to restart firefox, Why?

    when I start firefox, then close it..and attempt to restart it, I get a message that its loaded....but its not...but I see it as a process in task manager.I end the process..then start firefox again...........constant problem...............windows 7 system...8gb ram g4bit

    Hi Andis.
    First of all, this is completely normal behavior, although it's a bit irritating, I know. What happens is that when you close Firefox, despite the window disappearing right there and then, Firefox keeps running for a little bit until the whole closing procedure is completed. This can take a fraction of a second on fast computers, or can take a few seconds on slow computers or when Firefox is storing a large session (if you save your tabs). All you have to do is wait a bit until Firefox closes, and then open it again.
    To see if it's still running, you can press CTRL+SHIFT+ESC and then, under the Processes tab, you can see if firefox.exe is still there. If it's taking an unusual amount of time to close (which happens very rarely, and only if the browser freezes on exit), you can force the application to terminate from this application (task manager).
    Firefox 4.0 will reduce by 97% the time it takes firefox.exe to close, so this problem will be basically erased for Firefox's next version.
    Until then, I can recommend you this extension, which helps you restart your browser more easily and without bothering about closing times:
    https://addons.mozilla.org/en-US/firefox/addon/3559/
    Hopefully this will help.

  • Is there some type of state chart or flow chart which describes the process model order of execution?

    One of my customers asked me this question...
    I'm have an issue with a change in the execution order in TestStand 4.1.1.  [he has upgraded from 3.1 to 4.1.1]  It looks like ProcessModelPreStep runs earlier in 4.1.1 than it does in 3.1.  This causes our model to error out because some required variables haven't been defined when it runs.  I wish there was a big flow chart or state diagram for TestStand.  Maybe there is and I don't know where to look?
    Scott Rogers
    Sr. DSM
    Western NY
    Solved!
    Go to Solution.

    Starting with TS 4.1, there is a flow diagram that can be displayed for a selected sequence...
    Select "View -> Sequence File -> Display File Hierarchy"
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Thread Process is exiting without completing the process in SharePoint 2010 webpart

    We have implemented simple thread to process to excel upload into SharePoint 2010 custom list.
    Thread process running in local SharePoint 2010 environment (OS -Windows 7). Once we deployed in SharePoint server,
    Thread process is exiting without completing its proces.
    Please let us know if you know any resolution.
    Code is as below
    Thread thread = new Thread(new ThreadStart(UploadData)); //Upload is the method where data will insert into List
    Thread.Start();
    Marulasiddappa SB (Swamy)

    Hi,
    According to your post, an error occurred when you used Thread in SharePoint 2010 web part.
    Please can do as follows:
    1. Execute the  UploadData method to see whether it can work.
    2. Debug your solution in Visual Studio to get more information the error,
    It will be easier for us to research if you can provide more code.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • HT1473 I have always imported my cds into iTunes using one step called 'joining cd tracks' which is done under the "Advanced" drop down menu. I then went on with the process. Half way through the process today the "join tracks' choice greyed out. Not avai

    I have always imported my cds (including books) into iTunes using one step called "join cd tracks" which is under the "Advanced" menu. Never a problem. But today I was importing a 10 disc book and on the 7th disc all of a sudden the choice to join cd tracks was greyed out. I have tried it with other discs. No luck. How can I get to this option again. I was not doing anything different so don't know what took away this choice. Can anyone help me?

    Thought it had worked but soon found out it had not.
    after further days of trying finally, solved it for me Yesterday.
    turned off notifications when locked, and bingo, wow.
    i have not turned off iCloud but location services are also off.
    best thing to do I found was keep checking your usage, settings, general, usage, and flip down to bottom, if the standby and usage are similar there is a problem, if there is a big difference then all is ok. Just keep turning things off and on until the difference is very apparent.
    something on my phone was keeping the phone alive even when turned off, and I think this was the phone repeatedly trying to update continually.
    to me this is definitely down to the iOS, my wife has exactly same phone and iOS but hers doesn't have any problem and the battery lasts for days.
    the guy at the Genius Bar told me to restore the phone via iTunes, not iCloud. This is because iCloud remembers the exact info from your phone and simply reinstates it when you restore, and this includes the iOS too.
    when I get home from holidays that's what I'll do, or wait for iOS 8 in few weeks. But I'm so pleased I finally made it work, I was beginning to think ditch the phone and buy Samsung.
    anyway anyone out there please try my final solution and let me know if it works for you?

  • How to view the visual flow , audit and debug in bpm

    I have successfully deployed a bpel process project to bpel process manager , i am able to see the instance & the process, but when i initiate the process it is not able to display visual flow, debuf and audit . is there any settings to defined in jdeveloper to capture these components from jdev to bpm ?
    i am getting the a message to refresh page every time i click on visual flow
    please support !
    thanks in advance

    Thats an old version any particular reason for installing that version?
    Does the process have two Invokes to an outbound dbadapter, the first Invoke works, the second Invoke actually did not update the database, so it is pending there and that whole part of the process holds (including some activities before this) and this processing does not show in the BPEL Console.
    After the first invoke, this is a "Done performing workitem '12504-BpInv0-BpSeq0.3-4' ",
    but for the second invoke, there is only "Performing workitem '12504-BpInv1-BpSeq0.3-6'", no such information like "Done performing ..."
    Solution
    -- To implement the solution, please execute the following steps:
    1. Please check the second outbound dbadapter and see if there was some error when updating (like database lock).
    2. For testing, delete the second Invoke and redeploy to test if the other activities will show in the BPEL Console.
    cheers
    James

  • Hierarchies Job Failing  The job process could not communicate with the dat

    Hi Experts,
    We have a group of hierarchies that run as a separate job on the DS schedules. The problem is this when we schedule the job to run during the production loads it fails but when we run immediately after it fails it runs completely fine. So it basically means that if i run it manually it runs but when its scheduled to run with the production job it fails. Now the interesting thing is If i schedule the job to run anytime after or before the production jobs are done. It works fine.
    The error i get is
    The job process could not communicate with the data flow <XXXXXX> process. For details, see previously logged
                                                               error <50406>.
    Now this XXXXX DF has only Horizontal Flatenning and it does not run as separate process because if i have it has separate process it fails with an EOF . So i removed the run as separate process and changes the DF to use in memory .
    Any Suggestion on this problem...

    Thanks Mike.. I was hoping its a memory issue but the thing i don't understand is when the job is scheduled to run with the production job it fails. when i manually run the job during the production job it runs, this kinda baffles me.
    DS 3.2 (Verison 12.2.0.0)
    OS: GNU/LINUX
    DF Cache Setting :- In Memory
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 26
    model name      : Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz
    stepping        : 4
    cpu MHz         : 2933.437
    cache size      : 12288 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc ida nonstop_tsc arat pni ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
    bogomips        : 5866.87
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 40 bits physical, 48 bits virtual
    power management: [8]
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 26
    model name      : Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz
    stepping        : 4
    cpu MHz         : 2933.437
    cache size      : 12288 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc ida nonstop_tsc arat pni ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
    bogomips        : 5866.87
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 40 bits physical, 48 bits virtual
    power management: [8]
    Thanks for your help

  • Attaching Extra Information for on Hold process and starting the process

    Hi,
    We are developing BPM process using Oracle BPM 10.3.
    Our want the process to be on hold to get extra information from some other system. The extra information will be recieved sepeartely oust side the BPM process. We want to add the extra information to the on hold process and continue the process. Please let me know how to develop the BPM process to cater this requirement.
    Thanks

    The right pattern would be to create a process that has something like the following flow pattern:
    Begin -> ... (Some Activities) -> Wait
    The Wait Activity can be defined to have arguments that the external application can use to send the additional information to aggregate with the existing instance data.
    The way for an external application to connect to the instance waiting in the WAIT activity is to use the processId that is returned when you programmatically create the instance through any of the available APIs: PAPI (Java), PAPI-WS (Soap) or the process exposed as a web service. It is also possible to use correlations but this can be considered a more advanced topic.
    In the same lines there are methods in PAPI and PAPI-WS or a process exposed as a Web Service to create an instance, there are methods to send a notification to a given instance in a given activity of the process. Using this API Calls, you can signal the instance in wait state and send some additional information so that when the Wait activity is executed, the instance is moved forward.
    HTH,
    eduardoc.

Maybe you are looking for

  • ERROR ITMS-9000 for AIR app

    I am getting this error when compiling an IPA with Flash CC 2014, AIR version 15.0: "ERROR ITMS-9000: "This bundle is invalid. The value for key CFBundleShortVersionString [1.0] in the Info.plist file must contain a higher version than that of the pr

  • Too few parameters error

    hi, i keep getting the following error: SQLException in PAUserBean - getWorkNumber java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.here is code: public String getWorkNumber(String Id) {      String work

  • How do I get PSE10 to import and rename files in order?

    When I place my CF card into the reader PSE opens and displays all the photos on the card the problem is they are out of order. I take volleyball photos and use the burst often The files are numbered properly by the camera but PSE seems to get them m

  • My apps won't update on iPhone 4S

    I have an iPhone 4S using iOS 7.0.6 (I don't have enough memory on the phone to update to iOS 8) When I try and update my apps, they don't update, the app opens instead. Started happening a few days ago. Have closed the app store and re-opened it, sw

  • Is there a simpler way to do this (recurrence pattern)?

    Hello, At work, I'm a member of two committees. Each committee meets every 7 workdays. Currently, the only way I've managed to get this data into iCal is to create a speadsheet in Excel to calculate it with a series of IFs. I then export this data in