Dynamics CRM 2011 Custom Tool to Run Workflow on all Records of a given Entity
$30-100 USD
In Progress
Posted about 12 years ago
$30-100 USD
Paid on delivery
I need an external application (EXE) which I can run from my desktop.
1. I want to be able to select an Entity (dropdown).
2. I want to be able to select an On-Demand Workflow registered for that Entity (dropdown).
3. I want to click "Start Workflow" to execute the workflow for all records of the given entity.
You can use the SDK template for registering organization and such, this doesn't have to be done in the UI.
Essentially this is the code, it just needs to be packed into an application:
// Create an ExecuteWorkflow request.
ExecuteWorkflowRequest request = new ExecuteWorkflowRequest()
{
WorkflowId = <insert workflow id here>,
EntityId = <insert record id here>
};
// Execute the workflow.
var response = (ExecuteWorkflowResponse)[login to view URL](request);