Pre determination of activities to be executed

Hi,
Is there any way to find the possible path an instance will take depending upon the values of certain variables. To be more clear, consider when an instance is created 3 values a,b,c are passed (assigned). depending upon these values , instance will take different route. or in other words, the activities executed will vary depending upon these values. My req is to pre determine the set of activities which will be executed( without any hard coding).
Please provide valuable opinions on this.
Thanks,
Sana

You could use PAPIs to route the instance to the desired activity, always if the instance itself is not on a mandatory interactive task. If so you can choose dynamically your path.
I'm sorry I've no example for this, but as far as I know it should be possible in this way.
Another mode could be the usage of business rules and business rule transitions but you'll be probably forced to define all of your possible paths. Once the process has been defined you can easily know which will be the path starting from the rules.
HTH
Giuliano

Similar Messages

  • Pre-determining transformed name of Page_ClientValidate()

    We are developing .NET gadgets for 4.5WS using Web Controls 2.0.1.
    One one particular gadget we have a button (normal HTML; not ASP.NET button) which executes some JavaScript code in the onclick handle. Because this gadget is a submittable data form, we do not want the onclick code to execute if the data is invalid, and so we want to hook into the in-built ASP.NET validation functions. I've noticed that if we include if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate();and only that, in the onclick code, then it is correctly transformed toif (typeof(Page_ClientValidate_1_1_4322_573) == 'function') {PTValidate_1354();Page_ClientValidate_1_1_4322_573();}
    However, if we modify that line in any way, then the transformation does not take place. I was hoping to modify it toif (typeof(Page_ClientValidate) == 'function') {if (Page_ClientValidate()) myProc();}and let the Web Controls filter do the conversion... but this doesn't work. (I'm thinking the WC filter matches on the full string, not individual function names).
    Is there a workaround that will allow us to call the ASP.NET validation functions, and then a function of our choosing? Is this fixed in v2.1?
    Alternatively, I've noticed that the Page_ClientValidate function is always converted to Page_ClientValidate_1_1_4322_573 in our samples and also in the Developer Guide for Plumtree .NET Web Controls. Is this simply a coincidence? What do the 1_1_4322_573 numbers represent? Can we assume that this is what the function will always be called, and thus write our own javascript code that references the transformed function explicitly? Or should we 'build' it by referencing variables (in the same way we can pre-determine the transformed names of controls and the form itself)? If so, what elements should we reference as variables?
    Thanks,Nick.

    Nick,
    I am not sure of the best way to do this, although I will describe how the string is built up, then you should be able to create your own. The 1354 in your code is the portlet ID - you can get this from the EDK. The 1_1_4322_573 is the .NET Framework version - this you can get by calling System.Environment.Version.
    Jonathan

  • How to confiuge RMAN offline and online back-up at a pre-determined time.

    Hallo!I am an Oracle newbie currently studying the Oracle 10g Database Administration Certification.Still very new to Enterprise Manager.
    My query is that can you configure an offline database back-up such that you can set up an offline backup at a pre-determined time?
    I am assumng a real-office scenario where a DBA would like to have an offline back-up at night e.g. at 1 am when they are no users in the office.If the DBA can set the system such that everday at 1 am ,the instance shuts down,back-up is done e.g a backup set that can be stored on tape,then after backup the instance re-starts itself.All this should be automated such that by the time staff report in the morning ,the instance is up and running and users can work seamlessely
    How can I automate this entire process using RMAN and/or Enterprise Manager or a sript to achieve this?Also,I would like to know if you can automate the same for online back-up such that it can backup while instance is still running and users are accessing the DB.
    Please help me on this and I shall be infinitely grateful.Thanks in advance.

    Hi,
    On UNIX server, you can use shell script and sql scripts that can do this job for you. Once the scripts are tested succesfully, you can put them in the crontab.
    Crontab entry should reflect the time, day, week, month details as you thought to schedule it.
    This link may help you. http://www.dbasupport.com/oracle/scripts/Backup_Recovery/RMAN_Backup/
    Regards,
    vasu

  • I want to insert .pdf files into a "Master" .pdf file at pre-determined intervals - how do I do this?

    I want to insert .pdf files into a "Master" .pdf file at pre-determined intervals - how do I do this?

    Hi markm11762689,
    When you insert pages, you can determine whether they go before or after the first or last page, or a page number that you specify.
    If you're inserting multiple files at once, they will all be inserted in the same spot that you specify in the Select File to Insert dialog box.
    There may be a way to handle this programmatically, and there are some very clever folks who visit these forums regularly. Let's see if they chime in...
    Best,
    Sara

  • BADI for Survey determination for Activities

    Dear Gurus,
    I am wondering if you can help me.
    We need to set up a survey determination for activities in CRM 4.0.
    Unfortunately the survey determination criterias are based in several possibilities, like Org unit, Activitiy Category, etc, but we need to have the determination criteria based on a custom field which was created in EEWB.
    Do you give me a tip, which Function Module should be changed in order to have the survey dinamically changed on this field change?
    E.g. if the Field value is 'A', Survey 'A' must be loaded
    When the field value is 'B', Survey 'B' must be loaded.
    Regards
    Balazs Barabas

    Hi,
    Any thoughts?

  • Firstly hello to all. I'm looking to create a vi that will take a single logged output from a thermocoup​le and monitor the temperatur​e and produce a Boolean when the temperatur​e has stabilised for a pre determined time say 1minuet.

    Firstly hello to all. I’m looking to create a vi that will
    take a single logged output from a thermocouple and monitor the temperature and
    produce a Boolean when the temperature has stabilised for a pre determined time
    say 1minuet. I have managed to find a couple of examples on the forum but one
    will only run on V8.2 and I have V8, the other is for more than one channel
    witch is fine I can always reduce this, but it was the timing feature I was
    having difficulty with. I looking to monitor the temperature of a motor until
    it has stabilised prior to testing and then to use this temperature as a
    reference. Pleas forgive my ignorance if this is a very simple thing but I’ am
    learning and really enjoying it. Thank you in advance for your answers.

    Hi
    Graham, thank you for you reply.
    What I’ am trying to achieve is a vi I can use in a motor
    testing setup, a part of this would be to warm the motor up until the exhaust
    air temperature has stabilised, this takes approximately 10 minuets. I was
    thinking of just letting the motor run for this time and leave it at this, but
    some motors warm up quicker that others and. I am basically looking for a vi with
    an adjustable temperature window of say ±5 C° in 1° increments, timing wise 1minuet
    to 10min the adjustment is so I a can use this for another application. I tried
    to adjust the code I found at the link below but had a little difficulty with
    the timing. Thank you so much for your help it’s much appreciated.
    sine.ni.com/niforum/niforum?forumDU=http://forums.​ni.com/ni/board/message?board.id=170&message.id=25​1017&requireLogin=False

  • R12 Cloning, pre-determined ports

    Hi guys
    I am learning to do cloning myself and successfully done the same few times already. The one area which is still beyond my reach is how to clone both db & apps tiers against pre-determined ports. Ie, all my recent attempts where creating listener port at 1563 and forms servlet port at 8042
    I prefer to use 1521 & 8001/8002 etc for forms. Is there a context setting which I can use prior the cloning done, so that I don't have to change the files manually and do autoconfig?
    regards,
    raj

    Hi Raj,
    The post clone script (adcfgclone.pl ) is created by the preclone script as you must be knowing. Therefore specific ports can be transferred to the target instance as long as you can answer the question as" USE THE SAME PORT AS SOURCE" by having those ports in the Source Instance when running the post clone script. But if it is not the case you will have to go with clone and then change the ports and consequently run the autoconfig. I am personally not aware of any predefined context file which can hep you achieve your objective.
    Please see:
    How To Preserve Customizations In adcfgclone.pl Script (Doc ID 828874.1)
    Anyhow I have not tried the following but you may give a try, whether this achieves your objective.
    - Run pre-clone script
    - Transfer the backup
    - Take a backup of the context file
    - Change the desired port values on the context file
    - Run post clone as:
    perl adcfgclone.pl (appsTier/dbTier)  <LOCATION_target_xmlfile>
    - Answer the post clone script as:
    Do you want to preserve the Display set to sourcehost:0.0 (y/n) [y] ? Y
    Let us know if it helps!
    Thanks &
    Best Regards,

  • Problems with Partner determination in activities generated from call list

    In our scenario we are using IC Win Client 5.0.
    During the generation of the call list it to my understanding that when a call is scheduled for a Business Partner a corresponding activity is created and linked to the call. It is in this process that the partner determination procedure for the linked activity kicks in and should determine the BP from the sceduled call and fill the field 'Sold-to-Party' in the activity.
    However this is not working!! I have tested basically all of the standard access sequences for the partner determination procedure and I haven't been able to do it.
    By using standard access sequence 0019 I was able to determine the BP using the relationship, however when opening the generated activity an error ocurrs that  states the following message: 'Only one partner function of function category Sold-to-Party is allowed'.
    Whats really odd is that if we erase the Sold-to-party field leaving it blank and press enter, the contact person is filled in the same field! It seems like something is missing in the procedure or the way I use the access sequence.
    Please help!
    Thanks in advance,
    Pedro

    Pedro
    For activities you should not determine SoldToParties, but rather Activity Partners. Please have a look at the standard partner schemes for activities, to see which partner functions are usually used for activities besides the activity partner.
    If you have to use soldtoparty partner functions, please take into account that they have special checks enabled.
    The system fills in the organization instead of the contact person, esp. if no contact person exists: In R/3 you can have non-reflexive partner functions, but in CRM these are not saved. Instead in partner determination if no target can be found the origined partner itself is used as a result. That is why the organization is put into the result instead of the contact person.
    HTH - Kai

  • Setting a Pre determined Font size for an Application.

    I have a Swing application that is running on Windows and the FONT size
    expands on the GUI if I change the Appearance of the Font in Windows XP
    This normally should not happen as the appearances of the Windows Font size
    should have no impact on the application that is running.
    But to be on a safer side,can can I use any method that will have a predetermined
    FONT size when the Swing application executes:
    like : setFont(new Font("Courier", Font.PLAIN, 12));
    The code below is the starting point of the application.
    public class RFApp extends SingleFrameApplication {
         private RFMainFrame mainFrame;
         @Override
         protected void startup() {
              mainFrame = new RFMainFrame();
              setMainFrame(mainFrame);
              show(mainFrame);
    public class MainFrame extends JFrame {
         private final ToolBar toolBar = new ToolBar(this);
         private final StatusBar statusBar = new StatusBar(this);
         private final MainPanel mainPanel = new MainPanel(this);
         public MainFrame() {
              super("Main Frame"); // This has a BIG FONT increase
              initComponents();
         private void initComponents() {
              setLayout(new BorderLayout());
              getContentPane().add(toolBar, BorderLayout.NORTH);
              getContentPane().add(mainPanel, BorderLayout.CENTER);
              getContentPane().add(statusBar, BorderLayout.SOUTH);
    }

    Since you really need to change foreground and etc. Use the following code to list all the resources that may set the font colors you want (the example only excludes background color resource, so it may set more than what you want, you need to pin point specific color resouces from the print out to suit your own need).
    UIDefaults defaults = UIManager.getLookAndFeelDefaults();
    for(Iterator i = defaults.keySet().iterator(); i.hasNext();) {
    String name = (String)i.next();
    Object value = defaults.get(name);
    if (value instanceof ColorUIResource && !name.endsWith("Background")
    && !name.endsWith("background")) {
    System.out.println(name);
    UIManager.put(name, new ColorUIResource(Color.red));
    }

  • Can I print to AdobePDF with a pre-determined output file name?

    I have a list of PDF files that I need to reduce in size. I have tried many combinations of Adobe's "Save As Reduced PDF", "Save As Optimized PDF", as well as several compression programs. The best results I've found have been to print the PDF via AdobePDF, using the standard quality settings.
    This leads me to my problem. It's simple to batch the print process to print multiple files to AdobePDF, however each one requires the user to specify the output file name. Is there a way to interface with the AdobePDF tool in a way that the output file name is already determined? I.e. passed into the program as an argument? Any help would be greatly appreciated.
    Thanks,
         Dan
    EDIT: Under the Adobe PDF Settings, the option for Adobe PDF OUtput Folder is set for Prompt for Adobe PDF filename. There is also an option to dump to Documents\*.pdf, which retains the original filename. Is there a way to specify a different directory, rather than Documents, while retaining the *.pdf argument? Again, thank you.

    You would probably get better results printing from Acrobat. The HTMLLoader rasterizes the image first. You could possibly add a JavaScript function inside the PDF that prints and call that from your AIR app.
    See http://www.adobe.com/devnet/air/flex/quickstart/scripting_pdf.html for information on calling JS functions in a pdf file from AIR.

  • Pre-determining student eligibility

    Hope someone can help since Adobe apparently doesn't answer questions about their products until you purchase them.
    My son, a college student, wants to purchase Lightroom 5 on disc, without a Cloud membership.  Cannot seem to get to that point at Adobe.com; without the membership it seems all that is available is the full-priced version.
    He found what he wants online, but we apparently have to order it, open it, put in the product code and check eligibility.  Then, if for some reason he isn't eligible (Adobe won't let you see all the questions they are going to ask until you enter the product code), then he has a totally useless disc since he couldn't return it.
    Has anyone found a way to PRE qualify so that you know before you open the package if you're eligible?
    Thanks!

    Rgmcadoo I am sorry but most software titles available from Adobe are download only at this time.  You are welcome to burn the installation files to a DVD or copy them to an external hard drive.
    If you don't have high speed Internet access available then you may want to consider utilizing a USB drive and downloading the installation files at a public library.  You can find additional details on how to download purchased software at Find a download link on Adobe.com.

  • How do I auto save all newly created contacts to a pre-determined group in Maverick? Could do this on iTunes, can't do it on iCloud...

    Hi,
    Before upgrading to Maverick, I used to sync all my contacts via iTunes.
    iTunes used to have an option to "Add contacts created outside of groups on this iPhone to: (drop-down)".
    I had created a group called ' RECENTLY ADDED ', so that every time I saved a new number whilst meeting people / networking, etc, it would auto-save to that group. I would then sync via iTunes, and voila- all my new contacts would be in there.
    As a marketer, I allocate my contacts into various complicated groups... so from there, I would proceed to move each contact into their relevant group, and then 'delete' from group (not delete completely). I would repeat this step until all contacts were moved out, leaving an empty 'recently added' group.
    The next time i was out networking/saving new numbers, the process would repeat...
    Now that I have upraded to Maverick and using iCloud syncing, I cannot find this feature.
    The previous method I used worked brilliantly, and I do not always have time to add notes, etc (for a smart group) when saving new numbers.
    I'm struggling to find a solution now that I'm using the iCloud syncing service...
    Any suggestions to make it easy??

    If the information is in iTunes on the computer you have synced with in the past another sync, being sure you select the items you want on the iphone, should copy those things back to the iPhone.

  • Is it possible to apply new set of swatch to pre-determined layers and areas.

    For example, if I created a HUD that is primarily blue; each button, area, layer and so on are all different variations of blue and it is all saved as a Swatch Preset.
    Now I export this out and send it to a third party and they decided that they want a green version as well as the blue.
    Is there a way to make it so easy for that third party, that they can select a shade of green from a color picker and it would replace all the swatches to green but keep in the exact same variations/level in terms of how dark, light, transparent each swatch is and then have it automatically replace every area and layer?
    I kind of remember seeing somewhere that theres a thing similar to this but i just cant for the life of me find it again, i remember it had something to do with linking symbols and swatch definitions and that it can be done with extracting assets and layer comps as well.
    Now if that is not doable, is it possible then to simply send the 3rd party a new set of Swatches where each color is predefined to an area/layer and would immediately replace the current color at that place as soon as the 3rd party presses this new Swatch set?
    Thank you!

    You could put all your elements of one color on one layer, add a Color Fill layer above it with a blending mode of Color, and Layer > Create Clipping Mask.
    Now you can change the color of the Color Fill, and all the elements on the lower layer will change along with it.

  • Filling out form with pre-determined values

    I am new to LiveCycle. I want to set up a form where if a person hits a button or check box, it fills in the form with predetermined variables. I want to there to be several different buttons/check boxes which if selected fill out the form with the predetermined values. These values would be different, depending on the check box/button selected.  Is this possible?
    Just to help understand a little more, I am designing a medical prescription form.
    If the practitioner selects 'Option A' I want it to automatically fill out the required fields in the rest of the form with the predetermined values (set by me).
    Similarily if the practitioner selected 'Option B', it fills out the form with another set of predetermined values.
    Hope this makes sense.
    Thanks

    After looking at your form, I understand what you were going for.  You want several fields prepopulate values when you select either Option A, Option B... and so on.  Here is the script I use for the different fields, I would also suggest adding the same script to the initialized event so you can save the state of the form after it has been changed.
    From a Drop Down - JavaScript Change event 
    if(xfa.event.newText == 'Option A'){
    optionText.rawValue = "This is option A";
    optionText2.rawValue = "This is option A value";
    optionText3.rawValue = "This is option A";
    optionText4.rawValue = "This is option A";
    optionCheckbox.rawValue="0";      //0= unselected  1=selected
    optionRadio.rawValue = "Option A";
    if(xfa.event.newText == 'Option B'){
    optionText.rawValue = "This is option B";
    optionText2.rawValue = "This is option B value";
    optionText3.rawValue = "This is option B text";
    optionText4.rawValue = "This is option B";
    optionCheckbox.rawValue="1";
    optionRadio.rawValue = "Option B";
    From a Radio Box - JavaScript Click event  (make sure you define your values)
    if(optionRadio.rawValue == 'Option A'){
    optionText.rawValue = "This is option A";
    optionText2.rawValue = "This is option A value";
    optionText3.rawValue = "This is option A";
    optionText4.rawValue = "This is option A";
    optionCheckbox.rawValue="0";
    optionDropdown.rawValue = "Option A";
    if(optionRadio.rawValue == 'Option B'){
    optionText.rawValue = "This is option B";
    optionText2.rawValue = "This is option B value";
    optionText3.rawValue = "This is option B text";
    optionText4.rawValue = "This is option B";
    optionCheckbox.rawValue="1";
    optionDropdown.rawValue = "Option B";
    From a Button - JavaScript Click event
    optionText.rawValue = "This is option A";
    optionText2.rawValue = "This is option A value";
    optionText3.rawValue = "This is option A";
    optionText4.rawValue = "This is option A";
    optionCheckbox.rawValue="0";
    optionDropdown.rawValue = "Option A";
    optionRadio.rawValue= "Option A";
    I would attach a sample form, however I can't see where to upload it on this forum.  I will email you the form.
    Suggestion on your form:  Make sure your form fields have unique names in the hierarchy (Shift + F11). 

  • Stock Upload at a pre-determined Price

    Dear Sir,
    We need to upload the Stock using movement 561 . By default Stock is getting uploaded at a price as per the Material Master (Accounting 1 view) . The Price Control is V .
    We need to upload the stock at a differnt price (the price differnt than the current Moving Avg Price) . Kindly guide us about the procedure for the same pl .
    Kindly help me pl .
    Rgds
    Sonia

    Hi ,
    U can use Amount in Local currency field at the MB1C Screen.
    If u are not finding it there then Go and Check the field selection setting in SPRO -> MM -> Inv Mgm -> Define Field selection.
    OR check it in SPRO -> MM -> Inv Mgm -> Movt Type -> check for 561 field of local currency is dispalyed for MB1C transaction.
    regards,
    SNB

Maybe you are looking for

  • Pages 08 help appears in Pages 09

    I just upgraded from Pages 08 to Pages 09 via the Mac App Store. But when I choose Pages Help from the Help Menu i get the help for Pages 08 not the new Pages 09.  How can I fix that? Thx. Jeff

  • How do you up-grade from Mac OSX 10.5.8 to 10.6.8 or above?

    Have just up-graded iphone to iOS7. iphone will no longer connect to itunes, says I need v11.1. I have downloaded itunes v11.1 however cannot activate, says I need OS X version 10.6.8 or later (currently have OSX 10.5.8). Cannot see how I buy or down

  • Trying to watch full screen and still be able to use the MBP Desktop

    I have a 2012 MBP currently running OSX Mountain Lion. I have had no issues connecting my MBP to my HDTV, however, when I watch a TV show or movie in Full Screen I am unable to use the MBP desktop. Is this possible, and where can I change the setting

  • Slow Editing Respone Time

    Hi--read thru iMovie discussions and am still a bit stumped. Have edited a few movies on iMovie and it seems that the more transitions and material I have, the LONGER it takes for the program to respond. Is this normal? I seem to have quite a bit of

  • How do I delete an object

    I have imported a document from Word, and the footer came in as an object.  I can delete the text within the object, but I can't seem to delet the object itself, even though it is selectable.  How do I go about deleting the object? Thanks in advance