0

I need to send an email indicating approve & reject buttons and take the user response back.

I'm very new to UiPath and don't have a clear idea about how to do it. Could any one please help me to solve this?

Punya Munasinghe
  • 261
  • 1
  • 6
  • 20

1 Answers1

1

This has to be done through a designed solution with the listed steps below:

  • Add buttons or link (Approve / Reject) through HTML anchor tag in the email body.
  • Call a web service endpoint using anchor tag, use "href" attribute with target="_blank" to call the web service endpoint in a new tab.
  • Web service request parameter can be: 1. Approval State and 2. User Email.
  • Record user response in the invoked web service business logic.

Though others may have a different solution proposal to achieve the end goal.

manurajhada
  • 5,284
  • 3
  • 24
  • 43
  • Correct @Syfer, I would let her decide the preference b/w onClick and href. – manurajhada Jul 10 '19 at 09:51
  • Sorry there is no preference. When `onclick` does not work users experience will be bad. The only option is href – Syfer Jul 10 '19 at 09:57
  • @manurajhada Thank you. Outlook isn't supporting for javascript as I guess. So onclick method didn't work. Href is working but i don't have clear idea about how to retrieve the response and rest of the method to be followed. – Punya Munasinghe Jul 10 '19 at 10:47
  • @PunyaMunasinghe you will have to create web services further to href process. :) That's altogether a different problem. – manurajhada Jul 11 '19 at 06:21
  • 1
    @Syfer Improved my answer, thanks. Though she is using UiPath where Robot will be performaing the operation and don't have an UX. But yes, She prefered to use Outlook which doesn't support onlick. – manurajhada Jul 11 '19 at 06:26