How to call Action with parameter(s) using ExecuteWorkflowRequest in Dynamics CRM 2016?
<p><strong>Context</strong></p>

<p>I can successfully call Actions using ExecuteWorkflowRequest where the called action has no parameters:</p>

<pre><code>var request = new ExecuteWorkflowRequest 
{
    EntityId = myEntityId,
    WorkflowId = myWorkFlowId,
};
service.Execute(request);
</code></pre>

<p>where action is a simple workflow, with Category "Action". 
However I can not call Actions with parameters.</p>

<p><strong>What I've tried so far:</strong></p>

<pre><code>string myParameter = "Hello";
var inputArgumentCollection = new InputArgumentCollection();
inputArgumentCollection.Arguments.Add("MyParameterName", myParameter);
var request = new ExecuteWorkflowRequest 
{
    EntityId = myEntityId,
    WorkflowId = myWorkFlowId,
    InputArguments = inputArgumentCollection
};
service.Execute(request);
</code></pre>

<p>The called Workflow is a Category: Action with an optional string type input parameter called "MyParameterName"</p>

<p>This call causes an exception saying:</p>

<blockquote>
  <p>This workflow cannot run because arguments provided by parent workflow does not match with the specified parameters in linked child workflow. </p>
</blockquote>

<p><strong>I've also tried...</strong>
Some places recommend (with no proof) for older CRM versions using the Parameters collection of the request itself... although it seems ugly and/or wrong, I gave it a shoot, with no success:</p>

<pre><code>request.Parameters.Add("MyParameter", myParameter);
</code></pre>

<p>returns with </p>

<blockquote>
  <p>Unrecognized request parameter: MyParameter</p>
</blockquote>

<p><strong>Question</strong></p>

<p>How can I call my parametrized Action providing parameters via API using ExecuteWorkflowRequest?</p>