Hi all,
It's possible to start a flow of Power Automate every time that user is entering in an Opportunity?
If yes, can somebody indicate me some example?
Thanks in advance
Hi all,
It's possible to start a flow of Power Automate every time that user is entering in an Opportunity?
If yes, can somebody indicate me some example?
Thanks in advance
Hi,
1. For creating custom fields: https://www.gestisoft.com/blog/how-to-add-fields-in-microsoft-dynamics-365
2. add below function onload
function onLoad(executionContext)
{
var formContext=executionContext.getFormContext();
var fieldValue=formContext.getAttribute("<add logical name of newly created field>").getValue();
formContext.getAttribute("<add logical name of newly created field>").setValue(!fieldValue);
formContext.data.entity.save();
}
3. Power Automate: add field below highlighted part:
Thank You,
Pradeep Rai.
Please mark the answer VERIFIED, if it helps.
Thanks for reply Pradeep Rai
can you indicate me some link with examples please or some where I can find a detailed lesson about?
Hi,
Entering means user open the opportunity manually, if yes then you need to create one field Two Options then with javascript you can update the values by toggling them with form onload event.
and on update of this field you can run power automate.
Other way, is on create of opportunity you can write power automate.
Thank You,
Pradeep Rai.
André Arnaud de Cal... 291,642 Super User 2024 Season 2
Martin Dráb 230,371 Most Valuable Professional
nmaenpaa 101,156