Hi all,
Want to sent mail to manager of the project with project details whenever project is Creation, Initialization, Closure, RoleStart, RoleEnd. Where should i write code to do so.
Thanks and regards
Siddhant Singh
Hi all,
Want to sent mail to manager of the project with project details whenever project is Creation, Initialization, Closure, RoleStart, RoleEnd. Where should i write code to do so.
Thanks and regards
Siddhant Singh
Hi Siddhant Singh,
I think that you need to code all of that. The standard functionalities are not sufficient in my opinion.
Are you looking for some help to generate this code?
Best regards,
Ludwig
Hi Siddhant,
what i understood from all your reply is you want to send alert when particular field get changed.
For this you have to write a method code on particular table and in that you have to use SendEmail method of SysEmailTable.
Hi Ludwig,
Want to end a particular email content to be sent. Have written a class to send email. I want to run this class whenever the status gets changed of the Project and also when some resources are aligned or removed from project.
How i can do this particular functionality.
Thanks and regards.
Siddhant Singh
Hello Siddhant Singh,
You can try creating a custom alert that hits when then project stage is set to a specific value.
This alert can then trigger an email notification that you can use to inform the manager, controller and other people about this change.
You can use MS PowerAutomate for that even if you are operating in AX2012.
A prerequisite is, however, having the alerts and stages correctly setup in AX.
Would be great if you could give it a try and let us know if this fixes your issue.
Best regards,
Ludwig
Hi Siddhant Singh,
you can try to solve your problem with alert based business events and power automate. So it is a matter of configuration instead of coding in D365. By experience I can tell you there are some possibilities but it needs some know how and tricks in Power Automate. Especially because you do not get all the details in separated fields.
Hi Ludwig,
Yes, But the project stages fields do not contains the required elements. How can i get the below conditions work.
Thanks and regrads
Siddhant Singh
Hi Siddhant,
I see.
Event means if somebody changes the project stage field, right?
Best regards,
Ludwig
Hi Ludwig,
Want to send email when project is
if(event == "Initialization" || event == "Closure" || event == "RoleStart" || event == "RoleEnd" || event == "Creation")
Thanks and regards
Siddhant Singh
you can try to do it in Alerts .https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/alerts
Hi Siddhant Singh,
Can you elaborate?
Do you want to send an email if the status changes e.g. from created to closed,etc.?
Best regards,
Ludwig
André Arnaud de Cal...
292,884
Super User 2025 Season 1
Martin Dráb
231,760
Most Valuable Professional
nmaenpaa
101,156
Moderator