We have a functionality in our Dynamics, where:
1- Record gets created/updated.
2- Call an API.
3- Stores the API's return value in a hidden text. (created a webresource html and attached to the form)
4- Triggers an Email notification workflow via JS.
Our challenges is that #3 has a value that needs to be in #4 (the email).
We didn't create a field in the form's entity to store the API call in #3, we just wanted to use that returned value as part of the email notification.
Please advise...
quick question: Does your each record has unique API return value per record? Two ways and I would personally prefer option 1