Update Variables through Global Interactive

Hi,
I need to update some project variables through a global interactive activity.However,the only problem is that my global interactive does not have instance access.This is so because of i am trying to club two or three funtonalities at one place so that the user has less number of clicks.Hence can anybody suggest any other alternative way to acheive the same.
Any kind of suggestions will be of great help...
Ritu

Backing up a bit, a correlation is like a primary key on a database table. It is a way you can uniquely identify and notify a work item instance in a process. Notifications into a process can either use the unique id.id (e.g. "/ProcessName#Default-1.0/1/0@ProjectName") which is difficult to determine, or a correlation (e.g. order "22378").
As a developer, there are quite a few moving parts to getting this to work using a Message Wait activity that has an interrupt. Not trying to dissuade you, but I believe you might find that there are more "clicks" that the end user has to do using this technique than if you used a Global Interactive that has instance access.
If you have not done this before, here are the high level steps you'll need to do as a developer:
A. Set up the Message Wait activity flow:
1. Add a Message Wait activity outside of any transitions currently in your process.
2. Change the Message Wait activity's property to "Allows interruptions"
3. Change the Message Wait activity to receive input argument(s)
4. Modify the Message Wait activity to receive the correlation
5. Add an Interactive or Automatic activity beside the Message Wait activity
6. Add a transition from the Message Wait activity to the Interactive or Automatic activity.
7. Add the logic inside the Interactive or Automatic activity to update the project variables and to send the work item instance back to where it was interrupted in the process.
B. Create the correlation in the process
1. Create the correlation inside the process for the instance using either an automatic activity or the Begin activity
C. Create the Global Interactive activity to Notify the process
1. Add a Global Interactive activity
2. Add the logic to send the notification to the specific work item instance
D. Remove the Correlation from the process
1. Once there is no more need for the correlation, remove the correlation inside an Automatic activity (commonly done in an Automatic activity just before the End activity)
In answer to your question - just a guess, but you are getting the correlation error probably because you might not have done one or more of these items listed above correctly (specifically items A3, A4, B1 and / or C2).
Dan

Similar Messages

  • Create new instance through global interactive activity

    Hi All,
    I have a requirement where when instance is completed, I need to provide a link at instance end through global interactive activity. Once user clicks on that activity a screen appears where user clicks on button and new instance should be created.
    Now the problem is I tried notifying the main process and then use process creation activity to create instance but this cannot be used as instance is already completed.
    Second approach i used is processinstance.create method. But new insatnce is not getting created. Also i m not getting any exception.
    Please reply as this is very important requirement.
    Regards,
    Yasmin

    Create a new instance before the END activity is executed..
    After the screenflow for the global activity pass a variable to collect the button value on ON CLICK..
    If button value = true, then call a sub-process else END.. The sub-process does not need any Global activity to start the process . The values would be passed from the BEGIN activity of the sub-process itself.

  • Should we use Interactive or Global Interactive?

    Dear Friend Should we use Interactive or Global Interactive if the activity has to be executed from outside using PAPI/PAPI WS and the activity must be passed some arguments to update instance variables?
    Need your help!!

    Interactives and Global Interactives are completely different, in that one is already in an process flow (interactive), and the other can be invoked globally via the workspace (or other manner)... I don't think you want to use either of these...
    It sounds like you want to use Notifications...
    Please give more details as to what you are trying to accomplish, but it sounds like you have an instance going through a process, and at some point you want to change instance variables for it?
    Depending on the details, you could also just try using a database, and having your instance occasionally check for new values... You could possibly use Business Parameters...
    HTH,
    -Kevin

  • Forcing Update of Default Global Address List

    How can I force update of the Global Address List (Default Global Address List). I have about 62 000 MailContacts objects which are synchronisze regularly with AD and the information feature correctly both in AD and under Mail Contact (EMC) in Exchange2007.
    However, most of the MailContacts are not showing in the Global Address List. The Mailcontacts are missing both in Outlook and OWA.
    What is the default schedule for the GAL created during exchange installation?
    Though I know there is now possibility to edit it and that is not my wish, but can at least force an update so that it takes all the available information
    Thanks

    I started this thread in summer 2010 and occassionaly still being faced with this problem.
    The Problem is actually to be able to "STAMP" Mailcontacts received from external source, without any addition EmaiAddress entry from the Default Policy (our
    DomainName) being added to them. Everything works fine with OWA once „Update-GlobalAddressList“ is applied, but outlook seems not able to work correctly until
     the “STAMPING” - Update-EmailAddressPolicy”
    is applied. I get this error message when trying to send mail:
    „Delivery has failed to these recipients or distribution lists:
    RecepientDisplayName
    The recipient's e-mail address was not found in the recipient's e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mail address and try resending this message, or provide the following diagnostic text to your
    system administrator.“
    In case there is not workaround to avoid the additional EmailAddress, then with which PS command can I run through only the Mailcontact and delete this additional EmailAddres
    entry.
    Thanks

  • Is it possible to get the value of variable through answers page ?

    Hi all,
    I had Dynamic variable ETLRundate . I want use this variable in Answers page to see the out put ?
    Is it possible to get the value of variable through answers page ?if so how I can use ?

    Hi
    Use the link below and download the documentation
    http://www.oracle.com/technology/documentation/bi_ee.html
    I think you will find what you are looking for in the Answers, Delivers, and Interactive Dashboards User Guide, but in short the syntax to display a variable value is as follows:
    As shown above the syntax for using a presentation variable is:
    @{variablename}{defaultvalue}
    For Session variables use:
    @{biServer.variables['NQ_SESSION.variablename']}
    For repository variables use:
    @{biServer.variables['variablename']}
    Rgds
    Ed

  • Global Interactive activity

    Hi,
    Could you please tell me how we can pass I/O arguments through PAPI WS/PAPI API to execute the Global Interactive activity, the main task defined for it is a Screenflow. Global Interactive activity is not having "Instance Access" check in the Properties option. We will then use these arguments inside the Screenflow for business process. As per my knowledge, for Screenflow mapping, we need to map "Value" with the appropiate arguments defined in the Screenflow argument mapping section. By default, "Value" shows predefined values.So, how we can map argument values coming from PAPI WS/PAPI API to this screenflow.
    Thanks,
    Abhishek

    One of the things that helps end-users train themselves on a process is to present a picture of where a work item instance that they are working on is located in the process. This is commonly referred to as the “you are here” map. In Oracle BPM 10g, this is done like this:
    1.     Add a Global Interactive activity to an abstract role (role with a name).
    2.     Name this new Global activity “You are here”.
    3.     Click Runtime in the left pane and check the "Has instance access" (do not check the checkbox labeled “Use activity for instance presentation").
    4.     Click the OK button.
    5.     Right mouse click this new activity and select Main task from the popup.
    6.     Change the Implementation type to "Show Process Image".
    7.     Click OK.
    8.     Save the project and reload the project.
    9.     Start the WorkSpace again. Log out and relogin.
    10.     On the right side of the inbox, for an existing work item instance click the "Select action" dropdown.
    11.     Click the new "You are here" action.
    12.     Note the red flag above the activity where this work item instance is located in the process.
    Hope this helps,
    Dan

  • Global Interactive activity link to be displayed only at instance end

    Hi All,
    I have a requirement where link in right hand side dropdown at instance level should be shown only when instance is completed. For this I am using one global interactive activity with 'has instance access' option checked and also 'read only' option checked. It is visible when instance is completed as well as when alive. I dont want the later part. Could anyone advice?
    Regards,
    Yasmin.

    Yasmin,
    You need to persist your instance variables by inserting them into the database table. And then pull your compleled instances based a known parameter (let say a defined instance id that can be an oracle or sql row id).
    Does this make sense to you?
    Thanks
    badam571
    Edited by: badam571 on Apr 27, 2010 1:30 PM

  • Changing substitution variables through ODI

    Hi John!
    We using ODI for loading data, before load we have to clear data.
    I have 2 questions regarding this issue:
    1. Can I change substitution variables through ODI
    2. Can I execute BR in Essbase.cmd
    Regards
    Sasha

    Hi,
    1. You can call maxl to update the substitution variables, either using the pre-maxl options in the KMs
    or you can execute an OS command through an ODI procedure
    2. I am not sure what you are asking, are you asking whether you can execute BRs through ODI, if so have a read of my last blog where I covered how to do it.
    You can execute BRs by using the command line launcher, have a read of the blog anyway because it goes through the command line launcher.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to find unused variable through sequence

    Hi,
    I would like to know if it is possible to find unused variable through sequence in order to suppress them ?
    Thank you

    Hi,
    If you're fixed on that version of TestStand for a while (for whatever reason) and you see this situation coming up again, you could always build a small tool to automate the process.
    From the current sequence file's handle, you could traverse all the locals and file globals to make a list of all variables and then search the sequences step by step to see if they're in use.
    What this won't tell you is if any code modules or custom step types are directly accessing those variables through the sequencecontext handle so removing them can cause issues.
    A secondary approach is to cut all the locals (or whatever the variable scope is) in to a new sequence file (or work with a backup version of your sequence file) and delete them from the existing file and see what errors get thrown up.
    Finally, as Doug suggests, to get a latest copy of TestStand on to another machine, you could download a trial version and work with that if it's a one off. After all - if you find the sequence analyser feature that useful, it's a great reason to consider your upgrade policy / timing in the future anyway!
    Thanks
    Sacha
    // it takes almost no time to rate an answer

  • Shared Variables vs Globals

       I started a large project recently and decided to make use of Shared Variables.  :I need some network communication between LV apps, so that is the main reason, but I decided to put them to the test by also using single-process Shared Variables instead of globals.  (Yeah, yeah, globals are evil.  blah blah blah.  I'm not really interested in dogma here.  Suffice it to say that, IMHO, there are still a few times and places where globals are appropriate and useful.)
       My project is fairly modular, and the main control program launches numerous other top-level programs.  The problem is that whenever one of these top--level programs (or the main program) is launched, the Shared Variable deployment window pops up and does its several second initialization.;  If this happened just once, when the top level program launched, it would probably be acceptable.  But having each dynamic VI go through this gets annoying.
       I'm using 8.2.1.  I haven't tried 8.5 much yet, but at least in 8.0 and 8.2, you can't search for Shared Variables.  That is also annoying and can lead to maintenance issues.
       So now I am considering replacing all the single-process Shared Variables with good-ole Globals.  A couple of the VIs in the system will still use networked Shared Variables, so they will still cause the deployment window to pop up, but it will be much less frequent.  And I'll be able to search for the globals and make sure I'm using them responsibly.
       Does anyone have any other ideas on how to minimize the deployment window?  Or ideas on development patterns using Shared Variables?  Preferences for Shared Variables vs Globals?
    Thanks,
        Dave
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

    Ben,
       Wow, you are quick.  And thanks.  Good catch.  Turning off the auto-deploy removes the dialog.  Nice, but now I have to figure out how the SV's are going to get deployed on each installation...  I haven't fully digested how SV's really work, especially how to best handle the deployment issues.  This project will be installed on a number of computersand used by scientists, not LV programmers.  So I need a reliable way of setting up the deployment.  Perhaps it is just one more step in the installation process..  That assumes that all the SV's are defined when the program is first installed  The program is very modular, so the end-user will be able to copy new modules into a certain directory and be able to use them right off the bat, no extra programming.  But if a new module contained a new SV, it wouldn't be deployed...
       Any suggestions for searching?  I haven't tried it yet, but it seems that deleting a SV from the project is the only way.  That causes an error to occur at each instance of the SV.  Assuming all the project VIs are in memory, you can then use the error finding to locate every instance of where the SV was.  Of course, it isn't there anymore.  Minor issue...
    Graziano,
       Thanks for the ideas.  I do use functional globals a lot as well.  Very nice tools.
       I was really trying to transition to SV's so that I could use the Networked version.  I was using Single Process SV's instead of globals just as an experiment and to potentially leverage other SV features for them in the future.
    Regards,
       Dave
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

  • HT3576 Ok so i have this iPod touch (3rd gen) and i'm trying to update it through iTunes and when i click  check for update it keeps saying this version of iPod software (2.2.1) is your current version. what do i do? how do i update it?

    Ok so i have this iPod touch (3rd gen) and i'm trying to update it through iTunes and when i click  check for update it keeps saying this version of iPod software (2.2.1) is your current version. what do i do? how do i update it?

    You have a 1st generation iPod Touch. It can not be upgraded beyond iOS 3.1.3, it is available at the link below.
    http://support.apple.com/kb/HT2052

  • Remote location, 7kbs d'load speed, 10 days to d'load Lion, only software updates are through the App Store. Why can't we d'load and install outside the Cloud anymore? Some of us can't use the cloud.

    Remote location, 7kbs d'load speed, 10 days to d'load Lion, only software updates are through the App Store. Why can't we d'load and install outside the Cloud anymore? Some of us can't use the cloud and never will be able to.

    That is true - I apologize for not being specific - what I was mainly referring to is iLife applications. I have a notice on the App Store that says 3 apps need updates, I look at the apps and they are huge so since my connection is so slow I use my work connection and d'load the files from support to my Windows machine and carry them home, once d'loaded my MacAir states it cannot install, the update must come from the App Store.
    I do the same thing for large Leopard and Lion files and I can install them without error, it is just the App Store files that the system stops.

  • Would like to declare a variable Public/Global in an IF statement

    Is there way to declare a variable as Public in an IF statement. My goal is to declare the variable as global (since this variable is used somewhere in the code and should not get initialized when there is loop back to the top of the code, hence using IF statement to control the initialization) based on the IF condition and then use it elsewhere in the code.
    I have it like this
    if (!sei_second_jsp.equals("1"))
    public int[] mecitem;
    public String[] sei_mfg_prod_cat;
    public String[] sei_part_number;
    public String[] sei_descrip;
    public String[] sei_price;
    public int[] sei_onhand;
    public int[] sei_demand;
    mecitem = new int[20000];
    sei_mfg_prod_cat = new String[20000];
    sei_part_number = new String[20000];
    sei_descrip = new String[20000];
    sei_price = new String[20000];
    sei_onhand = new int[20000];
    sei_demand = new int[20000];
    for (int i=0; i<=19999; i++)
    mecitem[i] = 0;
    sei_mfg_prod_cat[i] = " ";
    sei_part_number[i] = " ";
    sei_descrip[i] = " ";
    sei_price[i] = " ";
    sei_onhand[i] = 0;
    sei_demand[i] = 0;
    Your guess is right, I am using this code in JSP - since this is a Java related question, thought of posting it in JAVA forum.
    When I use the above code, I get the following error
    1809 }' expected. { 
    1811 Statement expected. public int[] mecitem;
    1827 Identifier expected. mecitem = new int[20000];
    1827 Can't specify array dimension in a declaration. mecitem = new int[20000];
    1827 Identifier expected. mecitem = new int[20000];
    1837 Can't specify array dimension in a declaration. sei_onhand = new int[20000];
    1837 Identifier expected. sei_onhand = new int[20000];
    1839 Can't specify array dimension in a declaration. sei_demand = new int[20000];
    1839 Identifier expected. sei_demand = new int[20000];
    3117 Class or interface declaration expected. }

    Please note the above code in the JSP is submitting to itself and I donot want it to get initialized if the IF statement is not successful..
    thnks a lot for your time.. !!!

  • HT4623 Hi,        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be ac

    Hi,
        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be activated because the activation server is temporarily unavailable,try connecting your iphone to itunes to activate it,or try again in a couple of minutes.i tried many times but it again shows the same message,
    after installation,when i connect my iphone to itunes it shows a message that we are unable to activate your iphone at this time please try again or contact customer care.please reply me urgently to resolve this problem.

    That is usually a symptom thet the phone was hacked or jailbroken. Was it?

  • HT4623 While updating ios6 through software update option, i am getting the error"unable to install the update an error occured installing IOS6"

    While updating ios6 through software update option, i am getting the error"unable to install the update an error occured installing IOS6"

    I am getting this message also.... mine cant update too...

Maybe you are looking for

  • DV6 quad core i7 trouble removing service cover latch

    Im trying to remove the service cover on the back of my laptop. The maintenance manual tells me to move the battery cover latch to the right but its not possible to move it to the right (only to the left to remove the battery). There aren't any screw

  • How to find Server Information and MIME

    I'm working on a simple http server and was wondering how I could obtain the Server information? Example Server informations are: CERN/3.0 or Server:�Apache/1.3.26�(Unix)�PHP/4.1.2�mod_ssl/2.8.10�OpenSSL/0.9.6(CR) something like this... and how do i

  • How do I make a itunes file onto time capsule

    Hey there,      I recently got a TC and I have backed up my MBP onto it, but it just shows my whole MBP as one file and you can not go into and look at the files while on another computer that is connected into my tc. So, if that makes any sense, wha

  • Adobe Projector funktioniert nicht mehr

    diese Meldung erhalte ich, wenn ich Spiele spielen möchte, was kann ich dagegen tun ? lg Annett

  • Please check facebook version updating problem !

    We cannot update facebook version 7.0.3 via cellular data and wifi , when i update it show error  below , please help me to check this issue . This problem happens with every models.