How do I make a "dynamic" Gateway?

Hi,
I would like to assign user tasks to a number of uses via gateway with "And-Wait" condition, however the # of uses is unknown/dynamic depending on the step before the gateway, which is a web service call that retrieves a list of users on the form.
How do I accomplish this? Any help is appreciated.
Thanks in advance.

I created what you are referring to as a dynamic Gateway. I have had it in production for years over multiple versions. I used a No-wait gateway in a loop and an event to capture when all the threads were completed. A problem I ran into was race conditions. If the Gateway had steps A, B, C and I had two thread 1 and 2. I did not always get A1, B1, C1, A2, B2, C2. If 2 users completed a task within a couple seconds of each other, I got A1, A2, B1, B2, C1, C2. This resulted in data corruption. One of the things I did was to get rid of the Gateway and replace it with no-wait sub process. I pass the process ID of the main process over and use it in the event throw/catch. To address the approval race condition, I put everything steps A, B and C did into an Execute Script step. At the start of the step, I did a JDBC/SQL select for update on the database row for the main process on a variable/column that is not used for anything else except for the lock. A secondary benefit is the processing is much faster. I don't know if this changed in ES2, but in ES1, you could not tell from an error which line of a set value was causing the issue. If you do the same thing in an Execute Script, you get the line number in the error message.
To do something similar with emails, I would make it so the returning emails kick off a process. Store the process ID of the original process in the data of the form. Use that to throw an event back to the originating process.

Similar Messages

  • HOW DO I MAKE IMAGES DYNAMIC USING DREAMWEAVER & MySql

    Hi there,
       I wanted to make images dynamic in that the images would be stored in my database and then use dreamweaver to pull the images from the database using a recordset. But how do I get to store the images in MySql now that dreamweaver doesn't support BLOB and also how do I make dreamweaver pull the images from that database? PLZ somebody help

    To pull the image from Database on to your page
    1. Open your php page
    2. put your cursor where you want the image to show on the page
    3. insert>image>Select File Name From: Data Sources>select record from recordset> click ok
    4. View in browser
    In Mysyl the image was stored as a "longblob" type with "binary" attributes
    but my system is Dreamweaver CS3.
    Hope this helps. Let me know.

  • How do I make individual dynamic links for my users?

    So they can fill in something one day, and a month later change their "registration" again? Is that possible? Do I need some extra features?

    OK, I understand the request now.  We just added a feature yesterday that could partially satisfy your request, with some limitations...
    There is a new "Save Web Form" feature that allows users to partially fill out a form and then save it for later, that creates a special URL that contains the data they had filled in.  You could create a custom saved URL for each user.
    The caveats here are that if anyone else clicks the URL they could of course fill it out, nothing would restrict who finished that form.  Once someone did fill it out and submit or saved it again the original URL would be invalid.  The second caveat is that they URLs time out, you as the author set that time out but the maximum at this time is 28 days.
    This "Save Web Form" feature has to be enabled by the author, it is a new sub-tab on the Options tab.
    Thanks,
    Josh

  • How can i make the dynamic image link field access camera

    This is for Windows 8 only and needs to use the built in camera of the tablet they will be using. I am not a developerso this seems incredibly difficult to me.

    Hi,
    check out Nialls' Webcam Security Pass sample.
    http://assuredynamics.com/index.php/2011/10/whats-new-in-adep-designer/

  • How can I make an invalid dynamic disk Array available to the OS again

    Hello Storage Pros
    The setup
    I have a Promise VTrak E610f head unit with 2 VTrak 610j expansion units attached to it together giving me over 27 TB of usable storage space.
    At the hardware level I slip the storage into 6 parts containing 7
     1TB disks and had the parts  configured into 6 RAID 6 arrays. In the end; each of the 6 arrays gives me 4.6TB of usable storage space.
    On the OS level, I have the storage attached to 2 servers: Windows server 2008 and windows server 2008 R2 over a Qlogic fiber channel switch. Each of the 6 arrays are viewable as basic disks of 4,6Tb which I went on to configure as a single RAID 0
    spanned volume of 27TB and for that all the disks had to be converted to dynamic.
    The problem
    Now comes the problem: On my first attempt to do a firmware update on the VTrak E610f storage; all the volumes were rendered foreign and I had to import them to be able to use them. Although the import was successful, I lost all the set NTFS permissions
    and SMB share and I had to manually reconfigure them. Upon doing so The OS registered some inconsistencies in the storage and recommended that I ran chkdsk. Since the storage is that big I reluctantly complied and restarted the server.
    The first server was restarted BUT chkdsk did not commence as scheduled, the server powered right up. After logging in to inspect; I discovered - to my surprise, that the disks were now shown as invalid in Disk Manager and were no longer visible to
    the OS. Assuming that maybe a restart of the other server and the storage would set things right, I went ahead to do so but to no avail. After rebooting the entire system (including the storage), the other server also displayed the disks as invalid and were
    no longer visible to the OS as well.
    My question is; how can I make the disk available again from this ‘invalid’ state without losing data?
    What I tried but did not help:
    Taking the disks offline and then online again did not work, after the disks were online again, they still appeared as invalid.
    Reactivating the disks threw an error “operation not allowed on an invalid disk pack”
    Calling support of the storage manufacturer: they did not find anything wrong with the system, after 5 hours we had to stop.
    I fear converting the array from dynamic to basic will destroy all the data.
    HxD is showing no errors in the disks
    If there is any expert out there with helpful tips; your assistance will be greatly appreciate.
    Cheers
    John

    Hello  Shoan
    Thanks a lot for your response and tips. Sorry I could not get back to you in good time for I had to run some of the tests you provided, it took some time to
    thoroughly re-test the system.
    The summary
    The initial firmware upgrade attempt forced 3 disks offline and the other 3 became foreign. I had to re-import them to have access again. after re-importing
    the disks I realized  all NTFS permissions and SMB shares of the folders on the disks had disappeared, but at least the disk was visible and accessible at that point - but not fault free. It was recommened that I let chkdsk run. However rebooting the
    system to allow chkdsk to run did not result in chkdsk running, instead chkdsk did not run and after restart, the OS showed the disks as invalid. And that is still the case now.
    Response to your questions:
    Yes the storage array was (and is still) connected to another server 2008 R2 server when the problem occurred. The second server is also displaying the same problem: the disks are shown as invalid.
    The loss of SMB shares and NTFS permissions occurred after the initial firmware upgrade attempt, some disks (3 out of 6 of them) were forcibly offlined and the other 3 were, suddenly, marked as foreign. In the end, and to have access to the disks
    I had to online the offlined 3 disks and then reimport the rest of them. From the way I understand it, if the upgrade was not the cause, then at least it was the trigger.
    In as far as converting disks from dynamic to basic, I was not in luck so far:
    Three of the companies I have contacted (recommended by promise Technology technician) so far only work with smaller disks like 2TB, 27 TB like I have is so
    far too big.
    I’m not sure converting the disks to basic will help much though, since that would break the single 27 TB volume which the OS was working with into 6 individual
    disks of 4.6 TB. Will I be able to get the data back that was written to just one volume from those 6 individual and unrelated disks?
     Above all, I have connected the RAID storage system to a newly installed Server 2008 R2, the disks are also shown as invalid.
    I have spent more than 17 hours in remote sessions with a Promise Technology technician trying the resolve the issue. From the technician’s side all seems in place with the exception
    that the disks are invalid in the OS.
    I have contacted Microsoft Customer Support service with the issue. Given that Microsoft did not manufacture the storage unit, can they help at this point – or am I better off
    putting my hopes else?
    Your help is always appreciated and again, thanks for your response and advice.
    JohnV

  • How do I make dynamic text look static while the HMTL tagging is enabled?

    Hi all,
    I am using flash 8 with AS 2.0.
    I have a dynamic text field where I am setting it's text value through a variable. Now, I need this dynamic text field content to look like static font on runtime. I tried embedding the text field but that makes my file so heavy and most importantly, it disables the HTML tagging on the text field.
    Please suggest me on how to make a dynamic text field content look static on runtime while the HTML tagging is enabled and working fine.
    Thanks.

    I am sorry. But the attachment was not intended for what you
    thought my friend.
    It was there so that there are no confusions for what I mean by look of dynamic and static text fields.

  • How to make crosstab dynamic?

    I have this crosstab query by using DECODE function:
    select engid,
    max(decode(srv_period, '2012-1', Q1_Percentage, 0)) as "2012-1",
    max(decode(srv_period, '2012-2', Q1_Percentage, 0)) as "2012-2"
    from
    +(+
    select a.srv_year || '-' || a.srv_month as srv_period, trim(b.engid) as engid,
    round((count(case when left(a.Q1_Product,1) in ('4', '5') then 1 else null end) * 100 / count(case when left(a.Q1_Product,1) in ('1', '2', '3', '4', '5') then 1 else null end)),2) as q1_percentage
    from srv_main a,
    biw_hda_event b
    where a.evtnum = b.eveid
    group by a.srv_year || '-' || a.srv_month, b.engid
    +) group by engid+
    How can I make the srv_period dynamic? The value of it comes from srv_main. srv_period fields.
    Thanks in advance.

    Hi,
    See thris thread:
    Help for a query to add columns

  • How to make a dynamic text  be SMS by fl2.1

    Now ,I know use " getURL("sms:"+telnumber) "to send sms to a
    specified no.,but how to make a dynamic text be the sms content.?
    Many thx!:

    Ciao,
    this should work:
    smstxt = "ciao, happy holidays";
    telnum = "1234567890";
    getURL("sms:"+telnum+"?body="+smstext);
    body is a keyword.
    Alessandro

  • How to make a dynamic proxy client in Java ME?

    Hi guys!
    I have an existing static stub web service client to WCF made by generating client stub feature of the Netbeans. How do I make this into a dynamic proxy?

    tsubaki.pw wrote:
    I have an existing static stub web service client to WCF. How do I make this into a dynamic proxy?What is the WCF?

  • HOW TO MAKE WORKFLOW DYNAMIC..???

    HI,
    i am working on a workflow in which i have to assign users to a certain role but the problem which i am facing is that firslt all these roles were static i.e. they were hard coded earlier so the new roles which i am making,they are not reflecting in the workflow.
    So can anyone help me as to how to make it dynamic so that the new rles which i am maiking should also start reflecting..

    Calculated field should help -
    see here for more information on this topic,
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/400cc218-ea7f-4f9d-a3eb-c5289bdc05c4/sharepoint-designer-workflow-custom-subject-lines
    http://sharepoint.stackexchange.com/questions/43301/how-to-set-the-subject-of-the-email-to-have-a-combination-of-static-words-and-fi
    http://blog.henryong.com/2008/01/07/custom-sharepoint-designer-subject-lines-with-calculated-fields/
    If the subject is predefined in list, you could try to populate the data from the list using string builder.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How do I make my AirPort Extreme a access point?

    I just bought a Time Capsule and now I want to extend my range of my network.  How do I make my AE an access point?

    In this case, you will want to configure both base stations in an extended network.
    Dynamic WDS - Extending a Wireless Network Setup
    If practical, place the base stations in near proximity to each other during the setup phase. Once done, move them to their desired locations.
    Open AirPort Utility, and then, select the base station that will connect to the Internet.
    Choose Manual Setup from the Base Station menu, or double-click the base station to open the configuration in a separate window. Enter the base station password if necessary.
    Click AirPort in the toolbar, and then, click Wireless.
    Choose “Create a wireless network” from the Wireless Mode pop-up menu, and then, select the “Allow this network to be extended” checkbox.
    Next, select the base station that will extend this network, and then, choose Manual Setup from the Base Station menu, or double-click the base station to open its configuration in a separate window. Enter the base station password if necessary.
    Choose “Extend a wireless network” from the Wireless Mode pop-up menu, and then, choose the network you want to extend from the Network Name pop-up menu.
    Enter the base station network and base station password if necessary.
    Click Update to update the base station with new network settings.
    (ref: Pages 43-44 of Apple AirPort Networks.)

  • How do I make Indesign CS3 the default rather than Indesign CS4?

    Indesign 6.0.2 is driving me crazy, that spinning ball spins for every character I type.  It takes 5 minutes to write one word.  I want to use CS3 instead, which works great with dynamic spelling, which I have turned off in CS4, but don't want to dump CS4.  How do I make CS3 the default?  When I open CS3 and save, it saves it as CS4 so to open it I can't click on it I have to open CS3 first.  Illustrator in CS4 works great.

    bdquilts wrote:
    Indesign 6.0.2 is driving me crazy, that spinning ball spins for every character I type.  It takes 5 minutes to write one word.  I want to use CS3 instead, which works great with dynamic spelling, which I have turned off in CS4, but don't want to dump CS4.  How do I make CS3 the default?  When I open CS3 and save, it saves it as CS4 so to open it I can't click on it I have to open CS3 first.  Illustrator in CS4 works great.
    The only way to make a mac recognize CS3 as default would be to completely remove CS4.
    In OSX new version trumps older versions. you can however have both apps open drop files you know are cs3 on the CS3 dock Icon or an Alias on your desktop. CS3 does not save as CS4 its just that the OS makes all ID files look like the newest version.

  • Azure multiple site-to-site VPNs (dynamic gateway) with Cisco ASA devices

    Hello
    I've been experimenting with moving certain on-premise servers to Azure however they would need a site-to-site VPN link to our many branch sites e.g. monitoring of nodes.
    The documentation says I need to configure a dynamic gateway to have multiple site-to-site VPNs. This is not a problem for our typical Cisco ISR's. However three of our key sites use Cisco ASA devices which are listed as 'Not Compatible' with dynamic routing.
    So I am stuck...
    What options are available to me? Is there any sort of tweak-configuration to make a Cisco ASA work with Azure and dynamic routing?
    I was hoping Azure's VPN solution would be very flexible.
    Thanks

    Hello RTF_Admin,
    1. Which is the Series of CISCO ASA device you are using?
    Thank you for your interest in Windows Azure. The Dynamic routing is not supported for the Cisco ASA family of devices.
    Unfortunately, a dynamic routing VPN gateway is required for Multi-Site VPN, VNet to VNet, and Point-to-Site.
    However, you should be able to setup a site-to-site VPN with Cisco ASA 5505 series security appliance as demonstrated in this blog:
    Step-By-Step: Create a Site-to-Site VPN between your network and Azure
    http://blogs.technet.com/b/canitpro/archive/2013/10/09/step-by-step-create-a-site-to-site-vpn-between-your-network-and-azure.aspx
    You can refer to this article for Cisco ASA templates for Static routing:
    http://msdn.microsoft.com/en-us/library/azure/dn133793.aspx
    If your requirement is only for Multi-Site VPN then there is no option but to upgrade the device as Multisite VPN requires dyanmic routing and unfortunately there is no tweak or workaround due to hardware compatibility issue.
    I hope that this information is helpful
    Thanks,
    Syed Irfan Hussain

  • How to Configure Multiple Relays / Mail Gateways

    Platform: Sun Solaris 8
    Software: iMS 5.2
    How to Configure two MX ( relay / Gateway servers) records in imta config file..? Our requiorement is to have two gateways defined ..for example "xyz.net" and "xyz.com". All emails destined to email addresses ending with ".net" should use the "xyz.net" gateway and rest of them should use the "xyz.com" gateway. and the configuration should be flexible enopugh to accomodate future additions to our gateways.
    An Early Response would be appriciated.
    Thanks
    Arun Addepalli

    Well, To point the outside mail servers to your gateways just put MX entries for each domain into DNS and point dns to the correct host for that domain.
    To make the mail server recognize the domain just create it in the ida and put the users under that domain. The users mailhost attribute will take care of letting the gateways know where to forward the mail so it will go to the correct host.
    If you need to do domain aliasing with the same users for both domains that is a bit different. Do you need to do this?

  • How can I do a dynamic include of a page fragment?

    I have a technical support website with a lot of simple html pages. What I want to do is hyperlink from the index page to another page, which would display these html pages as a page fragment, dynamically based on a session bean set by the hyperlink.
    I basically want to do this, if it was possible:
    <jsp:directive.include file="#{SessionBean1.pageToDisplay}"/>
    Now the FAQ's has a topic "How can I do a dynamic include of a page fragment?", which would seem to answer my question.
    But this is all it says, and it makes no sense to me. Could someone please translate? :)
    "Using a page fragment file (but using instead of the usual Creator approach) will accomplish a dynamic include."

    Here is 1 solution:
    First add this to the jsp:root tag:
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    Then surround the page fragment directive with something like this:
                            <div style="position: absolute; left: 24px; top: 408px">
                                <c:if test="${SessionBean1.count > 0}">
                                    <jsp:directive.include file="testPF.jspf"/>
                                </c:if>
                            </div>

Maybe you are looking for

  • Syncing to iPhone/iPod Touch - Disappointing Options

    Ok, so you've bought an iPhone or iPod Touch and you've bought Aperture, and now you want to sync your photos. So you open up iTunes and realise, there are actually fewer options for syncing with Aperture than for syncing with iPhoto. With Aperture y

  • Accidentally deleted book/album file...  What data file is it stored in?

    Hi. I accidentally deleted a book/album project from my iPhoto library. I've read through a few posts, and I understand that the book/album isn't a file in and of itself, but rather an entry in a data file. Is there any way to restore to yesterday's

  • Facetime crashes my iPhone 5

    Hi guys, So, I have an iPhone 5 updated to iOs 6.0.2 and when I attempt to hold a Facetime call it crashes my phone and it restars (silver apple over black screen). Its verrrry annoying. All other apps work fine and ive restarted the phone. Hope you

  • How do I remove a device from my photo stream?

    I lost an iPod touch about a year ago and the person who "found" it continues to use it (in a different country) and I occasionally still see some of their photos on my photo stream.  How can I "disconnect" from that device?  It kind of freaks me out

  • BAPI_GOODSMVT_CREATE not updating VBUK table and field WBSTA

    Hi all, We post good receipt for the inbound delivery using BAPI_GOODSMVT_CREATE. Upon the successful completion of GR, however, field WBSTK & GBSTK in VBUK table and field WBSTA & GBSTA in VBUP table are not getting updated from A to C for the inbou