Corrupt function or library?

Have a function that has been working fine…I needed to add an output parameter, soon as I did I get the following exception when calling the function:

[{“Message”:“BPM runtime caught an unexpected exception of ‘InvalidCastException’ type.\r\nSee more info in the Inner Exception section of Exception Details.”,“Program”:“System.Private.CoreLib.dll”,“Method”:“ChkCast_Helper”,“Properties”:{“OriginalExceptionType”:“InvalidCastException”}}],“CorrelationId”:“8b59bf09-7039-4f98-82c3-070bce46370e”,“InnerExceptionMessage”:“Unable to cast object of type ‘System.Tuple4[System.Boolean,System.String,System.String,System.Decimal]' to type 'System.Tuple3[System.Boolean,System.String,System.String]’.”,“Program”:“”,“Method”:“CalculateTaxes”}

Notice how it says can’t cast from
‘System.Tuple4[System.Boolean,System.String,System.String,System.Decimal]' to 'System.Tuple3[System.Boolean,System.String,System.String]’

The tuple 4 is cuz I added one output parameter (Decimal), the tuple 3 is the previous state.

I don’t even have to reference the parameter in the code, I still get the error !!

I’ve tried recreating function, exporting and importing, copying the library, all with the same results

(Ticket is open with Epicare)

Looking for ideas

1 Like

Restart the app server.

1 Like

Okay, will try that tonight, thx

1 Like

Why not now lol? They’ll never notice.

4 Likes

Live Dangerously Bad Ass GIF by DrSquatchSoapCo

1 Like