Skip to Content
author's profile photo Former Member
Former Member

Using html links to trigger events in Flow Files

Im trying to trigger an event in a flow file when a user clicks on a link. I can only get flow files to work when the user presses a button so submit a form, but i cant get it to work with html links. I can't find one example of syntax that demonstrates this, although in documentation it suggests that it can be done.

i.e <a href="~event=search">Order 1202</a>

What is the correct syntax?

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Posted on Mar 16, 2004 at 08:00 AM

    What is the product you are working with?

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 16, 2004 at 10:43 AM

    Hi.. im using ITS (Internet Transaction Server)with flow logic implementation model. Im simply listing some customer sales orders. When a user clicks on a sales order no., it needs to trigger an event in the flow file to move to the next web page to show that orders line items.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 16, 2004 at 08:44 PM

    Hello Costa,

    use:

    <a href="`wgateURL()`?~event=sostdoc&SALESDOCUMENT=`SALES_ORDERS-SD_DOC<i>`">`

    SALES_ORDERS-SD_DOC<i>`</a>

    You will get a Link with the Ordernumber throwing the event sostdoc. The corresponding flow looks like this:

    <flow>

    <event name="sostdoc" next_template="sostdoc">

    </event>

    </flow>

    Regards

    Gregor

    Add comment
    10|10000 characters needed characters exceeded