This discussion is archived
1 Reply Latest reply: Nov 22, 2012 10:07 PM by Gurvinder RSS

Invoking  scenario when a particular form is submitted..?

VISHNU_95 Newbie
Currently Being Moderated
Hi All,

Here i have a situation where scenario should be used..


I have a search form where i enter some SKU/Product id and click on search button.. I need to invoke particular scenario by this form submission.. How to pass formSubmission event from searchForm to scenario.. In that scenario i redirect to another page where result for the search are displayed..


Thanks in Advance,
VishnuVardhan Bovilla
  • 1. Re: Invoking  scenario when a particular form is submitted..?
    Gurvinder Pro
    Currently Being Moderated
    You can use the formSubmission event of the scenario to invoke any action.
    Note that forms do not trigger this event by default; you must set the sendMessages property of the form handler component to true to have this event work correctly.

    So whenever your search form will be submitted your scenario will be called.

    For more info you can go through the formSubmit event in the following link
    http://docs.oracle.com/cd/E23095_01/Platform.93/ATGPersProgGuide/html/s1907formsubmissionevent01.html

    ~Gurvinder

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points