Do individual processes have security against them when defined as actions?
I have a plugin that triggers a process (action) I have defined in Dynamics crm, the action is called via the below code, I then have other plugins that are the triggered off of this action.
OrganizationRequest actionReq = new OrganizationRequest("test_TestAction");
actionReq["Target"] = new EntityReference("test_TestEntity", entity.Id);
try
{
tracingService.Trace("Call action test_TestAction");
dynamicsService.Execute(actionReq);
tracingService.Trace("Call action test_TestAction passed");
}
catch (FaultException<OrganizationServiceFault> ex)
{
tracingService.Trace("Error calling action - " + ex.Message);
}
The issue I have is the action doesn't seem to be triggered for some of my users, which then means the downstream plugins are not triggered.
- there are no exceptions thrown in the plugin trace log
- the users have access to the Entity that the Action uses
- the users have access to all the objects that are referenced (created / edited) by the downstream plugin
Can anyone give me some ideas on how i would debug this?