Key Not Found exception with Managed Operation

Profile Reply
Scott Gross Client

inside of a simple action after adding all of the appropriate Xafari modules to the WinModule, NOT the client agnostic one, I get "Key not found" while instantiating the ManagedOperation within the execute event handler.

am I doing anything wrong?
private void EligibilityCheckAction_Execute(object sender, SimpleActionExecuteEventArgs e)
//exception is here
var mo = new ManagedOperation(Application)
ZoneType = ManagedOperationZoneTypes.Local,
Name = "Managed operation with progress bar",
TotalStep = e.SelectedObjects.Count
mo.ProcessCode = o =>
for (var i = 1; i <= e.SelectedObjects.Count; i++)

//... Do stuff here

o.NextStep($"Result Message",i, e.SelectedObjects.Count);


User Description Posted On
Scott Gross

figured this out. I did not add the Module to the WinModule, I only added the reference. it's working now.

× This ticket is closed.

Write US