Sending email from a Form Based App

Comments

6 comments

  • Hi Laura,

    You could use autolookup that will be triggered before submit. In this lookup you can make a webservice call to agilepoint to send an email. See documentation there: https://documentation.agilepoint.com/11/developer/restmethodSendMail.html
    Regards
    Alexey

    1
    Comment actions Permalink
  • Avatar
    Laura Wade

    Hi Alexey,

    Thank you for the response!  Unfortunately, my JavaScript and HTML skills are pretty poor.  I was hoping for a low-code solution.  I've tried the example in the documentation and I get a 401 unauthorized error, and I'm not sure how to send an authorization header.  I'm also not sure how to use form field values and variables to string together the request properties. So, I don't think this is going to work for what I need.

    Thanks! :)
    Laura

     

    1
    Comment actions Permalink
  • Avatar
    Gwen Wilson

    Laura, do you need it before the user click Submit, or is after they Submit ok? If after is ok, then you can do what I have in the image. Put a condition after your form. In the condition, set up if Status = send email status. Then if it does  set the email up next. If not, send it to the end (or whatever the next stage in your process is).

     

     

     

     

    1
    Comment actions Permalink
  • Avatar
    Laura Wade

    Hi Gwen,

    Thank you for your response!  This is a Form Based App not a Process Based App, so there is no process model.  There's only the eForms and List Views.

    Thanks!  :)
    Laura

     

    1
    Comment actions Permalink
  • Avatar
    Gwen Wilson

    Sorry, I figured I was missing something. I'm new to this version and didn't realize there was a difference. :)

    1
    Comment actions Permalink
  • Hi Laura,

    There is no need of writing html or javascript for the call. This is a no code solution. The authorization header you will set up when you configure the lookup inside the autolookup. Don't do it with code as in an exmaple. Use autolookup and webservice (rest) call and follow the configuration in the documentation: https://documentation.agilepoint.com/00/appbuilder/cloudformLookupDetailsRestServiceConfigWin.html

    Regards,
    Alexey

    0
    Comment actions Permalink

Please sign in to leave a comment.