Access a instance level variable from activity in a subflow

I have a flow such that it calls a number of subflows chained together.
I have defined a instance variable to store a flag when a perticuler activity has been executed.
in one of the subflows, there is an activity which i need it to update the parent level instance variable when it has done its task.
but, i'm not sure how to get access to the parent level instance variables from an activity with in a subflow.
I have PAPI code polling on the instance wating for this variable to change.
any ideas?

in a clip on the main timeline:
var mc = this.parent;
in a clip on the main timeline that was added with a loader:
var mc = this.parent.parent;
the first parent would be the loader
the second parent is the loader's parent, or, the main timeline

Similar Messages

  • Access a Connect By Level variable from subquery

       With curr_date_details as
        select   to_date('16-dec-09', 'dd-mon-yy') as businessdate 
              ,  trunc( to_date('16-dec-09', 'dd-mon-yy'), 'iw') as bow
              ,  to_date('23-nov-09', 'dd-mon-yy')  as bop
              ,  trunc(to_date('23-nov-09', 'dd-mon-yy'),'iy')  as boy   
              ,  3 as week_nbr
              ,  3 as per_week_nbr
              ,  12 as per_nbr
       from dual
       select  --== Week Number
                  case when level <= date_rec.per_week_nbr
                     then  level
                     when level = date_rec.per_week_nbr  + 1
                    then 6
                    when level = date_rec.per_week_nbr   + 2
                    then  7
                        when level = date_rec.per_week_nbr   + 3
                    then  0
                end as week_nbr
                --== Start Date
              , case when level <= date_rec.per_week_nbr
                     then  to_date('23-nov-23', 'dd-mon-rr')
                     when level = date_rec.per_week_nbr  + 1
                    then  date_rec.bop
                    when level = date_rec.per_week_nbr   + 2
                    then  date_rec.boy  
                         when level = date_rec.per_week_nbr   + 3
                    then  date_rec.boy  
                end as start_date
                --== End Date
               , case
                    when level <= date_rec.per_week_nbr
                    then   to_date('23-nov-23', 'dd-mon-rr')  + 6  
                      when level = date_rec.per_week_nbr  + 1
                    then  date_rec.bow + 6
                     when level = date_rec.per_week_nbr  + 2
                    then  date_rec.bow + 6
                            when level = date_rec.per_week_nbr   + 3
                    then  date_rec.bop - 1  
                 end as end_date
              --=== Dummy Column
              , case
                    when level <= date_rec.per_week_nbr
                    then ( select 1 + level as t  from dual)
                    else  100
                end as pesky_column
          from dual mydual
          inner join curr_date_details date_rec on  date_rec.businessdate = to_date('16-dec-09', 'dd-mon-yy')
          connect by level <= date_rec.per_week_nbr  + 3gives me error:
    Error at Command Line:9 Column:2
    Error report:
    SQL Error: ORA-01788: CONNECT BY clause required in this query block
    01788. 00000 - "CONNECT BY clause required in this query block"
    *Cause:   
    *Action:
    How can i access variable from subquery?
    this question was taken from another post
    Having trouble selecting from a table function

    Hi,
    Using a joiin:
    WITH     connect_by_query AS
       select  --== Week Number
                  case when level <= date_rec.per_week_nbr
                     then  level
                     when level = date_rec.per_week_nbr  + 1
                    then 6
                    when level = date_rec.per_week_nbr   + 2
                    then  7
                        when level = date_rec.per_week_nbr   + 3
                    then  0
                end as week_nbr
               --=== Dummy Column
           , LEVEL     AS lvl
           , per_week_nbr
          from curr_date_details date_rec
          connect by level <= date_rec.per_week_nbr  + 3
    SELECT       cb.week_nbr
    ,       case
                    when  cb.lvl <= cb.per_week_nbr
                    then  NVL (sd.sales, 0)
                    else  100
                end as pesky_column
    FROM           connect_by_query     cb
    LEFT OUTER JOIN      sample_data          sd     ON     sd.datakey = cb.lvl
    ORDER BY  cb.lvl
    ;You could also compute week_nbr in the main query, rather than the sub-query.
    Using a scalar sub-query:
    WITH     connect_by_query AS
       select  --== Week Number
                  case when level <= date_rec.per_week_nbr
                     then  level
                     when level = date_rec.per_week_nbr  + 1
                    then 6
                    when level = date_rec.per_week_nbr   + 2
                    then  7
                        when level = date_rec.per_week_nbr   + 3
                    then  0
                end as week_nbr
               --=== Dummy Column
           , LEVEL     AS lvl
           , per_week_nbr
          from curr_date_details date_rec
          connect by level <= date_rec.per_week_nbr  + 3
    SELECT       week_nbr
    ,       case
                    when lvl <= per_week_nbr
                    then NVL ( ( select sales from sample_data where datakey = lvl)
                    , 0
                    else  100
                end as pesky_column
    FROM       connect_by_query
    ORDER BY  lvl
    ;Notice that the sub-query connect_by_query is the same in both cases.

  • Non-admin user cannot access Essbase server level variables

    Version 11.1.1.3
    Essbase Substitution variables are created at server level. Users are getting error in FR report that uses the Subsitution Variable -- Essbase Error(1051085): You do not have sufficient access to get this substitution variable. Also, users cannot access Substitution variable in SmartView. However, users can access variables created at database level. Users are provisioned as "Server Access" to Essbase and filter access to ASO application "MGTRPTG", where MGTRPTG is an ASO essbase application for reporting. We tried the same provisioning in two other environments and it seems to be working fine.
    User is type "Essbase and Planning" provisioned with essbase "server access", application mgtrptg "filter", Reporting and Analysis "analyst", "dynamic viewer" and "Explorer". In addition, it is given a filter "REP_DME_GALB" which restricts 2 dimensions (Division and Geography).
    Steps taken to resolve:
    1. Existing users were deprovisioned and reprovisioned with no effect.
    2. Created brand new identically provisioned users in Prod and QA. QA user can access the server level var and Prod user cannot
    3. Created a brand new server level variable in Prod and this cannot be accessed.
    4. All services have already been restarted several times.
    5. SR has been opened.
    Temporary workaround:
    By creating a duplicate of the same set of variables at the database level, the reports work. This can only be a temporary workaround as the client cannot be expected to maintain two sets of substitution variables since there are 3 applications using these server level variables.
    Thank you for any ideas!
    Jennifer

    You have stumbled on a defect which is resolved in the Hyperion Planning 9.3.1 patch 6 and above. If you have your planning preferences set to indent members it will cause forms which have page selections to show as invalid in SmartView.
    You can either patch Planning or turn off the preference. The patches are available from http://metalink3.oracle.com and require account which has been associated with your client ID.
    P.S. Usually it's not a good practice to use the admin id.
    Regards,
    -John
    Edited by: Jbooth on Nov 3, 2008 2:12 PM

  • Accessing super class  private variables from derived class

    posted November 01, 2005 08:20 PM Profile for kenji mapes Email kenji mapes Send New Private Message Edit/Delete Post Reply With Quote Assume I have a default and a param constructor in both a subclass and a super class. The members are private.
    So after validation logic in the sub class param. constructor, I want to access an instance variable of the super class's default constructor to set the subclass's matching variable to the default in the super class.
    Is there anyway I can do this. Of course, I have inherited setters and getters.
    Thanks.

    posted November 01, 2005 08:20 PM Profile for
    kenji mapes Email kenji mapes Send New Private
    Message Edit/Delete Post Reply With QuoteI suppose this is the result of an attempted crossposting from another forum. :)

  • Accessing Captivate 5.5 variables from embedded SWFs

    Hi,
    as we all know the interface for accessing Captivate variables from embedded SWFs tends to change between Captivate versions. Shortly after it's release we upgraded to version 5.5, and I'm not succeeding in accessing the Captivate variables in my Flash/AS3 code the same way it was done in version 5.
    How should I access the Captivate 5.5 variables (rdinfoCurrentSlide et al) from my SWFs?

    Hi,
    You can use system variable : cpInfoCurrentSlide to show the slide number.
    So you can use text captions to display the value of the variable, the format for displaying the value stored in the variable is $$<system variable>$$. So for slide number use : $$cpInfoCurrentSlide$$, type this in the text caption and then check it in the preview.
    Thanks

  • How to access an object's variable from native code

    i am passing an object in a native method.i have to change the value of the object's variable.how do i access the variable of object and assign it new value from c++ code.when i try to access it i get a message that the variable must have a class/sruct/union type.
    pl. help.

    I'll tell You if You send me the structure of this object in Java. And a name of field what are You thinking about.
    Maciek

  • Passing A Variable From Active Sync Form To WorkFlow

    Hi All,,
    I am calling a Workflow from the Active Sync form, Which is fine.
    But, the problem is , i am having a variable "xxx" in the active sync form, but, i am unable to use this in the workflow.
    So, Please any one can tell how to use a variale in Workflow, passed from a Form.
    Waiting for reply....

    Thank you for your response.
    Do you have a code snippet or other example that shows how to do this?
    Thanks
    Tim

  • Fill Variable from active row

    Hi all,
    I have a query which lists billing data.
    <b>Each row has a different Exchange Rate Type</b>.
    I want to <b>fill a variable of Exchange Rate Type according to each active row</b>.  ( <i>So, I can execute currency conversion via variable Exh. Rate Type.</i> )
    I think (hope) a user exit can do this.
    But <b>how can I get the active Exchange Rate Type data  for each line into variable </b> ? Has any of you implemented such a thing  ?
    Any help will be appreciated,
    Gul

    Hi Eugene,
    What I mean is this:  (version 3.5 )
    While defining a <b>Currency Translation Type</b> via RRC1, on the  "<b>Exchange Rate</b>"  <b>tab</b>, I see the options as 
    <u>* OPTION 1:</u>  <u>"Exchange Rate Type"</u> (where I can select a type from a list like
    "<b>S</b> St. Translation at average rate"
    "<b>BK</b> St. Translation at selling rate"
    "<b>XY</b> St. Translation at another rate", etc. )
    <u>* OPTION 2:</u> <u>"Ex. Rate Type from Var."</u> ( where I assign a <b>variable</b> to get the Exchange Rate Type from query data <b>dynamically</b> as <b>S</b>, <b>BK</b>, <b>XY</b> or smt. different.
    I created a variable on <b>0RTYPE</b> characteristic and assigned that variable to my Currency Translation Type on "Ex. Rate Type from Var." option.
    My data is smt. like this:
    <b>Ex. Rate Type</b>  <b>Bill Date</b>
    S            01.01.2005
    BK           01.01.2005
    BK           01.01.2005
    S            01.01.2005
    XY           01.01.2005
    <b>I want to use the relevant Ex. Rate Type for each row ,while executing Currency Conversion on BEx query.</b>
    Now, how can I manage to fill that variable using each different Exchange Rate Type on each row?
    (I don't know if I'm misinterpreting the terms, but I try to use what I see on the screen as much as possible. )
    Hope it's much clear now,
    Gul
    Message was edited by: GSE

  • How to access TestStand Event and variables from external application?

    Hi all
    The test system was built by TestStand, now there is a new requirement to filter the test report without change the sequence file. The task must be done without any impact to previous software system, so I decide to write a tool by VC++.
    My idea is to deal with the reports after every UUT loop, but I need to monitor the UUT loop status by VC++, if an unit is tested, pass or fail, raise a event and pass to VC++ application. In a word, I would like to access TestStand internal event and variables.
    Anyone has ideal on this case? ActiveX or something.
    thanks .
    Rexxar
    *The best Chinese farmer*

    paulbin,
    While sharing variables via COM or DCOM is certaintly possible, I don't think you need to go down that route.  I think that there is probably an easier way to limit your report.  In your Configuration menu, under the Report Options item, there is a field at the top that will allow you to filter what steps go into your report.
    This will not affect any sequence file you may have already created, all it does is change a few options in the ReportOptions.ini file in the <TestStand>\cfg directory.
    This is a much simpler option than trying to write a program to interface with a running TestStand engine.
    Josh W.
    Certified TestStand Architect
    Formerly blue

  • How to fetch env. variable from OC4J instance

    At the launch of my application I want to fetch a variable value we have created on the iAS server at the application's OC4J instance level and under "Server Properties". I am unable to fetch anything using getHttpServletRequest() method. Does anyone know how to access OC4J server environment variables from an application?
    TIA,
    S

    See metalink note 268481.1 Re-creating ASM Instances and Diskgroups.

  • How to Access a BPM container variable in XI graphical  message mapping

    Hello XI BPM and Mapping experts,
    is it possible to access a BPM container variable from an graphical mapping?
    If yes, how ?
    We need this for the following scenario:
    IDOC to BPM.
    BPM  transforms and sends transformed IDOC to fileadapter
    If both steps are successful  a STATUS.SYSTAT01 IDOC should be send back to SAP-ISU with status 06.
    If one of these steps fails  the status in the SYSTAT01 should be set to 05. (Exception branch of block)
    We want to avoid to write 2 mapping programs for mapping the SYSTAT01.
    Instead we would like to use a BPM Container Variable which contains the status.
    In the mapping for the SYSTAT01 we want to use this Container Variable.
    Is this possible?
    Thanks for soon answers.
    Regards Marlies

    Hi Marlies,
       Is not possible to acces a BPM container variable from graphical mapping. For other hand, you can to use runtime variables for this purpose.
       You could create an abstract interface with a message type having a single node with the required value and using this message in other mapping.
    Best regards
    Ivá

  • Can not access the Instance Data of a Singleton class from MBean

    I am working against the deadline and i am sweating now. From past few days i have been working on a problem and now its the time to shout out.
    I have an application (let's call it "APP") and i have a "PerformanceStatistics" MBean written for APP. I also have a Singleton Data class (let's call it "SDATA") which provides some data for the MBean to access and calculate some application runtime stuff. Thus during the application startup and then in the application lifecysle, i will be adding data to the SDATA instance.So, this SDATA instance always has the data.
    Now, the problem is that i am not able to access any of the data or data structures from the PerformanceStatistics MBean. if i check the data structures when i am adding the data, all the structures contains data. But when i call this singleton instance from the MBean, am kind of having the empty data.
    Can anyone explain or have hints on what's happening ? Any help will be appreciated.
    I tried all sorts of DATA class being final and all methods being synchronized, static, ect.,, just to make sure. But no luck till now.
    Another unfortunate thing is that, i some times get different "ServicePerformanceData " instances (i.e. when i print the ServicePerformanceData.getInstance() they are different at different times). Not sure whats happening. I am running this application in WebLogic server and using the JConsole.
    Please see the detailed problem at @ http://stackoverflow.com/questions/1151117/can-not-access-the-instance-data-of-a-singleton-class-from-mbean
    I see related problems but no real solutions. Appreciate if anyone can throw in ideas.
    http://www.velocityreviews.com/forums/t135852-rmi-singletons-and-multiple-classloaders-in-weblogic.html
    http://www.theserverside.com/discussions/thread.tss?thread_id=12194
    http://www.jguru.com/faq/view.jsp?EID=1051835
    Thanks,
    Krishna

    I am working against the deadline and i am sweating now. From past few days i have been working on a problem and now its the time to shout out.
    I have an application (let's call it "APP") and i have a "PerformanceStatistics" MBean written for APP. I also have a Singleton Data class (let's call it "SDATA") which provides some data for the MBean to access and calculate some application runtime stuff. Thus during the application startup and then in the application lifecysle, i will be adding data to the SDATA instance.So, this SDATA instance always has the data.
    Now, the problem is that i am not able to access any of the data or data structures from the PerformanceStatistics MBean. if i check the data structures when i am adding the data, all the structures contains data. But when i call this singleton instance from the MBean, am kind of having the empty data.
    Can anyone explain or have hints on what's happening ? Any help will be appreciated.
    I tried all sorts of DATA class being final and all methods being synchronized, static, ect.,, just to make sure. But no luck till now.
    Another unfortunate thing is that, i some times get different "ServicePerformanceData " instances (i.e. when i print the ServicePerformanceData.getInstance() they are different at different times). Not sure whats happening. I am running this application in WebLogic server and using the JConsole.
    Please see the detailed problem at @ http://stackoverflow.com/questions/1151117/can-not-access-the-instance-data-of-a-singleton-class-from-mbean
    I see related problems but no real solutions. Appreciate if anyone can throw in ideas.
    http://www.velocityreviews.com/forums/t135852-rmi-singletons-and-multiple-classloaders-in-weblogic.html
    http://www.theserverside.com/discussions/thread.tss?thread_id=12194
    http://www.jguru.com/faq/view.jsp?EID=1051835
    Thanks,
    Krishna

  • Can I access Infoset variable from Crystal Reports

    Hi,
    In order to connect Crystal Reports 2008 to the SAP environment I have the Integration kit.
    I have learnt that Crystal also offers InfoSet driver to connect to SAP.
    If I need to access SAP BI- Infoset variables inside Crystal Reports is it possible to do that. If no, then do I need to have the filter using the variable value instead of the fixed filter value?
    Please suggest.
    Thanks,
    Amogh.

    Hi Amogh,
    the InfoSet connectivity that Crystal Reports offers as a direct Infoset connectivity is towards the classic InfoSets from ERP.
    see here:
    /people/ingo.hilgefort/blog/2008/02/07/businessobjects-and-sap-part-i
    /people/ingo.hilgefort/blog/2008/03/23/businessobjects-and-sap-part-4
    In case you want to connect to an InfoSet in a BW system you would put a BW query on top of the InfoSet and then use the BW Query in Crystal Reports.
    see here:
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Ingo

  • Accessing variable from another JSP

    Friends,
    say, I have a Test1.jsp which has a variable "input". Is it possible to access this variable from other jsp "Test2.jsp"?
    any ideas?
    Thanks
    Hari V

    hi hari,
    there are essentially 3 ways of doing it....
    1).Usage of Hidden Values
    2).Using Cookies
    3).Storing attribute value within the scope of request/session/appln
    The choice is all urs....???
    Regards,
    RAHUL

  • How can I access JSP variables from a JavaScript function in a JSP page?

    Respected sir
    How can I access JSP variables from a JavaScript function in a JSP page?
    Thanx

    You may be get some help from the code below.
    <%
        String str="str";
    %>
    <script>
        function accessVar(){
           var varStr='<%=str%>';
           alert(varStr);// here will diplay 'str'
    </script>

Maybe you are looking for

  • IGS: Vulnerability "security hole in level 3"

    Hi! We are using SAP ERP 6.0 system with an ingetrated IGS 7.0 We already changed IGS according to sap note 896400 to the version 7.00 (Patch 15) When we run scan on demand we get the following information:  A security hole in level 3 was found at se

  • E-Recruitment and/or  Recruitment ???

    Hi all. Could you please tell me the difference between E-Recruitment and Recruitment ?? Those are differents modules in HR that works in collaboration or just can be implemented and work one at the same time? Thanks in advance. Enrique

  • (Mac) Malloc in export JPEG

    When exporting to JPEG, I get the following error: InDesignServer(1039,0xacc502c0) malloc: *** mmap(size=1512448000) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug This happens when exporti

  • I download app from app store and my ipad2 show Err 1004 please try again , i want to know what's that mean

    i cant download apps from appstore. it always show err 1004 please try again. what's meaning?

  • Ipad - Flash Player

    Do You know why the ipad can't have adobe flash player but android does? And do you know if one days ipad will have it?