Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Christian Palm 276 posts 271 karma points
    Aug 26, 2010 @ 17:31
    Christian Palm
    0

    Custom redirect on complete

    Hi

    Background: We are building a event registration site and we need to redirect to a custom page with a querystring parameter after the form has been completed.

    This is the user workflow
    1. User are viewing a event
    /Events/MyEvent.aspx
    2. User will register via alt template
    /Events/MyEvent/Register.aspx
    Here we render a selected contour form.
    After the user has filled out the form and submittet. We will mark the entry as not approved (standard contour).
    3. Redirect to credit card payment (This is what we want - how to do this?)
    /PayForEventViaCard?contourEntryId=15&hash=somesecrethash
    4. When the user has paid we update the contour form entry to approved

    How can we do the redirect? from 2 to 3

    NB My guess is that a workflow with Response.Redirect is not possible or if possible it could break future contour upgrades

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 26, 2010 @ 18:22
    Tim Geyssens
    1

    Redirecting from a workflow shouldn't be a problem

    HttpContext.Current.Response.Redirect("where");

     

  • Per Ploug Hansen 208 posts 129 karma points
    Aug 27, 2010 @ 08:25
    Per Ploug Hansen
    0

    yup, trigger the workflow on record submitted, and do a standard Response.Redirect,

  • Christian Palm 276 posts 271 karma points
    Aug 27, 2010 @ 09:19
    Christian Palm
    0

    This is so cool

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies