0 Replies Latest reply on Apr 17, 2013 6:44 AM by camespa88

    how to redirect a workfow to another page after it initiated through a post in a form html?

    camespa88

      have this but it isn't work...

       

      <form action="/etc/workflow/instances" method="post" enctype="multipart/form-data">

                      <input type="hidden" name="_charset_" value="utf-8"/>

                      <input type="hidden" name="model" value="/etc/workflow/models/buy-album/jcr:content/model"/>

                      <input type="hidden" name="payload" value="${currentAlbum.currentNodePath}"/>

                      <input type="hidden" name="payloadType" value="JCR_PATH"/>

                      <input type="hidden" name=":redirect" value="/content/discostore/en/homepage/discDetailPage/californication_red_hot.html" />

                      <input type="submit"/>

                  </form>