Hi,
I have a problem how to pass arguments by executing action from another action programatically.
Values passed by Execute() method of IActionExecutionService are ignored,
I can't override argument from XML file and pass it to action Inputs.
What I'm doing wrong?
I set name and type of item in dictionary correctly:
public
override void Execute()
{
Dictionary<string, object> arguments = new Dictionary<string, object>();
arguments.Add("HelloMessage", (object)"someobject");
IActionExecutionService executor = GetService<IActionExecutionService>(true);
executor.Execute(
"HelloWorldAction", arguments);
I need this solution to iterate recipe argument of type ArrayList and execute action for each value.
Maybe someone has correct solution for that?
I read on this forum about thitdparty solution for such action, but I would like to implement it only using GAT.
Wojtek