This project has moved and is read-only. For the latest updates, please go here.


This is an add-on solution for my Process.js 2.0 solution.

This solution includes a bunch of sample Actions, which replicate some of the standard SDK messages, allowing you to call these easily from Process.js. The actual Actions are just wrappers for the real logic, which is all implemented in plugins (source code available). Check the Actions for the input and output parameters of each, and then call these actions using Process.js to try them out.

Check out Process.js 2.0 for examples on how to call these Actions (there's an example for "Retrieve"). You don't NEED Process.js to install this solution, so if you want to use something else to call the Actions, like the new WebApi (shudder), then you can still use these Actions without Process.js.

These Actions were mostly just created to test out the Entity and EntityCollection parameters I've recently added to v2 of Process.js, but since they might be useful to others, I'm releasing them here as an extra add-on.

Actions included are:
  • Associate
  • Create
  • CreateMultiple (wanted to test EntityCollection input)
  • Delete
  • Disassociate
  • Retrieve
  • RetrieveMultiple
  • SetState
  • Update
  • UpdateMultiple

The logical names to use when calling the actions are just "mag_" plus whatever above.

Check the actual process for more info about what input/output parameters are required.

Each action includes a custom plugin with a plugin step registered against the action to perform all the logic, e.g. getting the input params, processing the request, and setting the output params.

Note that using actions to do, for example, a Create request, is probably a bit slower than doing a Create request purely through JavaScript (using SOAP or WebApi), since it's making a direct call to the CRM web service instead of calling an action which then executes the action request. However I haven't noticed any significant delays. And you can just display a nice Notify.js spinner while it's processing. :)

Created by Paul Nieuwelaar | @paulnz1
Sponsored by Magnetism Solutions - Dynamics CRM Specialists

Last edited Aug 18, 2017 at 4:42 AM by Liger, version 7