Can I dynamically modify event_condition's within DEFINE_CHAIN_EVENT_STEP?

I am currently attempting to drive a single chain's steps with a variety of parameters using DEFINE_METADATA_ARGUMENT for most of the steps. I have succeeded in much of this - thanks to a previous thread from Ravi.
However I would like to also use DEFINE_CHAIN_EVENT_STEP with metadata about the currently running Job ( i.e. job_name, job_subname ), as we can with DEFINE_METADATA_ARGUMENT. I would then be able to event drive instantiations of the Chain with underlying lookups.
In essence the entire Chain ( including event driven steps ) would be capable of a executing under a multitude of parameters ( from lookup ). This saves us from having a large number of chain objects in the Data Dictionary.
If this is not possible, is there a workaround?
Thanks !

use the attach code option to display code in this forum. and
create a new URLRequest() instance after you pass the string. using
a function to return the URLRequest() instance would be an easy way
to do this.

Similar Messages

  • How can I dynamic modify bc4j.xcfg

    Hi,
    I am developing application using Jclient and BC4J.
    I would like to let users to select different database, user account and change their password in the application runtime period.
    Since BC4J uses bc4j.xcfg xml file to connect to database. How can I write code to modify the bc4j.xcfg file
    Any suggestions will be appreciated.
    Jinsen

    I plan to solve the same problem (but JSP client, not JClient).
    And I thing solution is How To Support Dynamic JDBC Credentials (http://otn.oracle.com/products/jdev/howtos/bc4j/howto_dynamic_jdbc.html). But don't know if it applies to JClient too...

  • Can we dynamically modify the Component Hierarchy?

    Is it possible to modify the component hierarchy in JSF when making an Ajax call to the server for information?
    I am interested in using Ajax with JSF to update the UI incrementally as needed.
    As an example, imagine a phone book which starts with a list of names. When one clicks on a name, Ajax is used to get the data for that name (i.e., address, phone numbers, etc), and the data is then returned to the client and inserted into the DOM in the client browser under the approprtiate user. This information could be editable. Clearly, as part of this process, I would like the component hierarchy in JSF updated with the new data, also.
    I konw that we could do a complete postback of the entire page plus the new data, and then diff it out on the client (as per the methods outlined by Jacobi and Fallows in Pro JSF and Ajax: Building Rich Internet Components). However, I am wondering if it is possible to update the Component Hierarchy with the new components associated with the new data during the Ajax call, so that we can focus our Ajax request on the needed data only, rather than having to regenerate the entire page.

    Hi wua22,
    For my case, I found that if an attribute called "userPassword" is added in the Schema Manager, after running the above codes which I quoted, it seems that nothing changes since next time when you log on, it can only be authenticated using the old password. However, in this case, actually, the change was made in the ADDED attribute, "userPassword". You'll find where the change made if you have the admin right to check the properties of the users' account using ConsoleOne (or similar tools).
    In addtion, for the exception I encountered in my case, I found that everythings go normally if that ADDED attribute "userPassword" is deleted. So, this time, it's the setting in my LDAP server which caused the problem, but not the programming error.
    BTW, someone suggested that using UnicodePwd attribute, instead of the userPassword for updating one's password. This UnicodePwd attribute is unicode converted. I've not tried on that actually, but will at a later time.
    Hope that helps to you.
    Regards,
    Mercury

  • Dynamically Modifying Target XML Namespace

    Dear All,
    We have a requirement of dynamically modifying the namespace of the target XML   . The scenario is as follows:
    There are multiple recipients of a message, and two of the recipients are using the same target structure, but with a different XML namespace. We are catering to the different receivers using different interfaces, but because these two recipients are using the same Target message type, hence they can only point to any one namespace (the XML namespace mentioned in this target message type). For example, the required target messages look like:
    Message expected at recipient 1:
    <ns0:root xmlns:ns0="http://target1.com">
    <tagA/>
    <tagB/>
    <tagC/>
    </ns0:root>
    Message expected at recipient 2:
    <ns0:root xmlns:ns0="http://target2.com">
    <tagA/>
    <tagB/>
    <tagC/>
    </ns0:root>
    Obviously, we can only create one message type with name root, and that can point to only 1 namespace. However, we need 2 different namespaces, based on the input payload. For example, if a flag in the input has a value 1, we set the namespace as "http://target1.com"; if it has value 2, we set the namespace as "http://target2.com". We are thinking of dynamically deriving the namespace at the time of mapping, but can not figure out a way to do so. We are currently using Graphical Mapping for one of the recipients; do we have to employ XSLT/ABAP mapping to achieve this? Has anybody done a work around this kind of a problem?
    Awaiting Answers.
    Thanks and Sincere Regards,
    Sid

    Hi Peter,
    Thanks for replying. Unfortunately, we are using PI 7.01 and not PI 7.1. Any other ideas?
    Nice blog though!
    P.S: Obviously, we could use 2 different interfaces pointing to the same message type, essentially creating two different communication channels towards the 2 receivers, and modify the payload within these channels using some Adapter Modules. However, this solution looks rather like firing a cannon to kill a fly, and I surely hope PI does have some other capabilities to achieve this using a single interface and single comm channel, which I do not know of (digging through help.sap right now), or can not think of right now.
    Thanks and Regards,
    Sid

  • Dynamically modify Task Flow at runtime

    I have a use case where I need to dynamically modify a task flow at runtime. In my use case, for all task flows I need to add a router that can navigate to any view activity on the flow. The router will need to have control flows from the router to each view activity and a case for each.
    What I've Tried
    I've written a test app that uses MDS to modify a single task flow. This works. I did it by using JDev in customization mode, adding the router and stuff to the flow manually, then running the app. This does exactly what I need it to do. The problem is, I need to do this dynamically at runtime. I'll need to have a process that looks at the task flow and generates the MDS metadata that will insert the router (and other stuff) at runtime. I'm not sure how to do this.
    What I'd like to do
    Ideally, I'd like to do this programmatically (not using MDS) by overriding the controller that returns task flow objects. I may be off the mark here, but I imagine that at runtime the task flow xml is represented by a java object. I also imagine that the java object gets returned by some controller based on the name (and maybe type) of the data requested. If I could override this controller to modify the task flow object before it gets returned, that would be ideal.
    I've found some links from others looking to do something similar to what I'm attempting here. These links are over a year old, so I imagine that some progress has been made on this.
    https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=7355435
    [ER] Add a way to decorate the current PageFlow
    Re: To Simon Lessard - Usecase required for ER request
    Thanks in advance for your help!!
    Cheers,
    Mike

    I have three usecases where I need this ability.
    - breadcrumbs - this should keep a historical trail of the pages the user has visited. clicking on a breadcrumb should take the user back to the page and remove the remainder of the trail.
    - favorites - this is essentially bookmarking within the app. the user should be able to add a page as a favorite the navigate back to it by clicking the link in the favorites drop down.
    - recent items - this is similar to breadcrumbs, but I imagine we will want it to persist across sessions for the user.
    We are using bounded task flows and page fragments. All of these features will need the ability to navigate to any view on a flow (not just the default view). I can navigate to a flow just fine. We have implemented our own version of the XMLMenuModel and are using a dynamic region for navigation. To navigate, we just replace the task flow ID on the dynamic region with the target task flow ID then the region refreshes. This part work just fine. The part that I am working on is how to navigate to a view on the flow. I'm managing state by passing parameters between flows and pages. That part is working ok too. It's just the navigation piece that is giving me grief.
    The little MDS prototype that I did looks promising, but I would need to figure some stuff out. The customization would need to apply to all users and all task flows. I'm not sure how to do that. Also, it would need to be dynamic. The MDS metadata that is responsible for the customization would be different for each task flow and would need to be generated at runtime. I can figure out how to generate the metadata at runtime based on the task flow, but I don't know where the hooks are in the MDS framework where I could put this logic. It would need to execute before the MDS framework tries to merge the base doc (the task flow) with the customization doc that I generate.
    Thanks!!
    Mike

  • Dynamically modify data sources

    We have a need to dynamically modify our data sources and I need to know if this is possible and what the syntax is?  Can we do this as a transaction and/or in the javascript / jquery logic of the UI?  I know that basically everything is configurable as a transaction or as a script.  I need a little assistance in configuring the below items for a data source.
    DaysRetention   
    Description   
    IP   
    MaxRetryCount   
    Port   
    QueryTimeout   
    RetryInterval   
    ServerPackage   
    Writable

    Data server configuration properties are easily modifed from the editor page in the Menu, and is typically an initial or configuration setting made before building application content (query templates). 
    At runtime overloading the Server property within or in addition to a query template is quite easy, but no standard provisions are in place for modifying the data server configuration itself.
    Why would you have a need to modify them dynamically through code?

  • How can i dynamically update a table in my program?

    Hi there!
    I would like to know if anyone can assist me with advice on how to dynamically update
    a table within my program, with new values from the database?
    Thanking You all.

    Add rows to its model.
    Kind regards,
    Levi

  • Can we change/Modify BI server generated Sql query and run to fetch data

    Hi,
    My client is saying that there is an option to modify bi server generated sql query to fetch data from source.
    question:As a request is made in presentation services, A dynamic sql query is generated and fetches data from source. all this is loggedin Nqlquery log..well can we change/modify the sql query generated and run modified sql query to fetch data from source. ., if so how? if not why?
    Thanks in advance
    Edited by: user10794468 on Jun 16, 2009 6:29 PM
    Edited by: user10794468 on Aug 12, 2009 6:58 PM

    Thank you so much for your reply..
    ..Can we also modify sql query generated by bi server to fetech data. the query's which we see in query log file..

  • Dynamically modifying the number of Form detail rows

    Hi,
    A challenge for you all!
    I am building a product details system in Portal forms.
    One of the screens is a Product Ingredients form with Product as the master block and ingredients as the Detail block. There can be between 1 and 20 ingredients in any 1 product and as these all have to sum to a volume percentage of 100% the client would like to see all ingredients for a product on 1 screen and not have to do Next/Previous to see them all.
    As you increase detail rows on a master detail form the performance of the form decreases dramatically so I would like to minimise the number of detail rows displayed for each product to maximise performance.
    To this end I wish to dynamically modify the number of detail rows displayed to match the number of ingredients on a product as that product is queried.
    I can handle figuring out how many rows I want to set the page to but have not been able to figure out how to change the number of detail rows displayed at run time.
    Anyone know how (or if!) this is possible ?
    All help gratefully recieved
    Andy

    The rownum pseudo-column hold the number of the row but it doesn't work like you expect. It is assigned before sorting for example and it is not absolute. SQL conceptually deals with sets and sets have no inherent order. See http://www.oracle.com/technology/oramag/oracle/06-sep/o56asktom.html
    If you want to have an absolute number in a row you will need to maintain it yourself with PLSQL code.

  • CAN I DYNAMICALLY MAKE A FIELD OBLIGATORY

    CAN I DYNAMICALLY MAKE A FIELD OBLIGATORY

    Hello Bhupinder
    If the field is on a selection screen you can use the following coding:
    AT-SCREEN OUTPUT.
      IF ( <condition is true> ).
        LOOP AT screen.
          IF ( screen-name = 'my field name' ).
            screen-required = '1'.
            MODIFY screen.
         ENDIF.
        ENDLOOP.
      ENDIF.
    The same logic can be applied for dynpro fields (also code in a PBO module).
    Regards
      Uwe

  • In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph?

    In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph. 
    I need to make a table of contents for my Mater's Thesis and want to use the automatic table of contents feature.  I want the first sentence of a paragraph to have a different paragraph setting than the rest of the paragraph.  Is this possible?
    Thanks!

    Nice of you to be doing this for your Mother's Thesis.
    There are several issues here:
    1. A Paragraph Style is what it says, the style for the paragraph
    2. You can format text within a paragraph by applying a Character Style
    3. Pages 5.5.1 lets you apply formatting to overall text for the T.O.C. but not parts of it and you can not retain that formatting as a Paragraph style
    So in answer to your question, no.
    You will need to create the T.O.C. manually and unfortunately as Pages 5.5.1 can't create bookmarks (just one of over 100 missing features) you will be unable to link the T.O.C. to the referred pages in the list.
    Peter
    Apple's marketing slogan:
    Pages 5.5.1 - Can't Do That!

  • The operation can't be completed because backup items can't be modified.

    In my Time Machine backup, I have also stored backups from my previous Mac. They do not appear in the "Star Wars" screen. When I try to delete files I receive the message: "The operation can’t be completed because backup items can’t be modified."
    What does this mean, and is there a way to delete said files?
    (My Time Machine backup is plugged in and running. The files are not even sent into the Trash, so my question doesn't relate to whether the files will delete from the trashcan, etc.)
    Many thanks in advance for any and all help!

    While in Time Machine, press the key combination shift-command-C. The front window will show all mounted volumes. All snapshots should now be accessible. Select the one you want and navigate to the files you want to delete. Right-click or control-click an item. From the popup menu, select Delete All Backups of... Confirm. Exit Time Machine.

  • The item  can't be moved because AirPort Time Capsule can't be modified

    have just set up my new airport time capsule done a time machine back up but can not add any files to it to share when i try i get the following message
    "The item  can’t be moved because AirPort Time Capsule can’t be modified"
    how do i change this
    many thanks

    pooldoc58 wrote:
    have just set up my new airport time capsule done a time machine back up but can not add any files to it to share when i try i get the following message
    "The item  can’t be moved because AirPort Time Capsule can’t be modified"
    how do i change this
    many thanks
    How are you trying to add files??
    You cannot add them to the TM backup?
    TM owns the sparsebundle and you should not add files to any sparsebundle.. do not even attempt to.
    You can create a new directory in the Time Capsule and copy files to that.. as long as you have turned on file sharing and give correct access permissions.
    Mixing data and backups does have consequences though.
    See Q3 here.
    http://pondini.org/TM/Time_Capsule.html

  • Time Capsule Can't Be Modified

    I recently decided to stop using Time Machine to do all my backups because there didn't seem to be a way to see everything a folder has ever had (if I wanted to see all my music at once, for instance).
    So, I decided to stop Time Machine and start to manually copy folders over to my TC but I am getting the error message that it "can't be modified." I have changed my share settings to no one being able to access the disk, and at the top of the screen I am clearly logged in as myself and not a guest so I should have full access. Anyone know what I could be missing? Thanks!

    rhutchie wrote:
    Hi, and welcome to the forums.
    I recently decided to stop using Time Machine to do all my backups because there didn't seem to be a way to see everything a folder has ever had (if I wanted to see all my music at once, for instance).
    I'm not sure what you mean by that. The "Star Wars" display shows a "snapshot" of the way your entire Mac looked at the time of any backup.
    So, I decided to stop Time Machine and start to manually copy folders over to my TC but I am getting the error message that it "can't be modified." I have changed my share settings to no one being able to access the disk, and at the top of the screen I am clearly logged in as myself and not a guest so I should have full access. Anyone know what I could be missing? Thanks!
    It sounds like you're trying to copy data into your backups (ie, into the +sparse bundle+ they're in); and no, you can't do that. They have a very intricate structure that can only be modified by Time Machine.
    If you want to discontinue Time Machine entirely, and erase all your backups, use +*Airport Utility.+* Select your Time Capsule, then +*Manual Set-Up,+* then Disks in the tool Bar, then the Disks tab below it, then Erase. The "Quick Erase" option will only take a moment. Then you can drag whatever you want onto it.
    If you want to put other things on the TC's internal HD, in addition to your backups, see #Q3 in [Using Time Machine with a Time Capsule|http://web.me.com/pondini/TimeMachine/TimeCapsule.html] (or use the link in *User Tips* at the top of the +Time Capsule+ forum).

  • How do I move files from my iMac to my Airport without getting 'AirPort can not be modified' message. File sharing is enabled and I'm not getting asked for a password. Thanks

    How do I move files from my iMac to my Airport without getting 'AirPort can not be modified' message. File sharing is enabled and I'm not getting asked for a password. Thanks

    What OS are you running.. this is usually only a problem in Mavericks.
    If so I recommend you mount the hard disk manually..
    Use Go, Connect to server.
    Type in the IP address if static.. eg
    AFP://10.0.1.1
    Or the name.. but you will have issues unless the name is short, no spaces and pure alphanumeric.. if you are using bad names.. fix it by a full factory reset in airport utility and give it all names that comply to the above.
    Type in
    AFP://TCname.local Where TCname is replaced with the actual name.
    You will be asked for the password the first time which is public unless you changed it.. please remember to save this in the keychain.
    Copy files then to a new directory you create on the TC.. do not place files inside the TM sparsebundle. Nor directly under the main directory.

Maybe you are looking for