Check out the latest features available in Dynamics 365 for Customer Engagement, including LinkedIn Connect, Voice of the Customer and Universal Resource Scheduling.
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
I'm trying to use the Delete Record function in the Workflow Tools add-on to delete a record. I'm trying to just manually put a single record GUID in at the moment, just to make sure it's a correct GUID, but still no luck.
Properties are defined as:
Delete using Record URL: False
Entity Type Name: <the schema name of my entity, in lower case>
Entity GUID: <the GUID of the record - I've tried in upper case, lower case, and with and without brackets>
If I run the workflow with just this one step, I get the error "Unexpected exception from plug-in (Execute): msdyncrmWorkflowTools.Class.DeleteRecord: System.NullReferenceException: Object reference not set to an instance of an object."
The record 100% exists. Anyone know where else I could look for what's happening here?
I checked code and it seems that code expects for Url passed to DeleteRecordURL parameter. You can use it or as a suggestion you can try my toolkit (I just released new version).
According to the documentation, the Url should only be needed if the first parameter is true, not false. I did try putting the Url in (even though that's not how I'm going to use it), and still got the error. :-(
We're already using this toolkit in a tonne of places, so I'd like to find a way to work within it rather than loading another one. Will keep yours in mind, though, if I can't find a way to make this work.
I haven't checked documentation. I checked sourcecode. You can try to reach author of Workflow Tools and open on issue on his GitHub repository.
Hmmm...hoped I was just using it wrong, and someone else who was using it might have a hint (since I'm trying to get this done tonight). I'll give that a try, though, and maybe just scrap this idea for tonight's project. :-( Thanks!
For the record, I did throw your solution in quickly, and it works fine. Which is awesome, but we've already got so many packages in here that the last thing I wanted was another one to keep an eye out for new versions for, etc... So we shall see.
Business Applications communities