Skip to main content
February 26, 2024
Question

Getting Expression error like An error occurred while applying the context for the MDS FBM Case related action [identifier=1,356]. Details: Could not cast from Check_testRequest?list to Dictionary. Details: CastInvalid

  • February 26, 2024
  • 5 replies
  • 0 views

Hi 

In Record related action context i have passed like this  to get request id details from query 

rule!Cust_QE_getRequest(
requestId:rf!requestId,
returnCastedData: true
)

when i am trying to access related action getting error like below could you please suggest on this

An error occurred while applying the context for the MHK Data Case related action [identifier=1,356]. Details: Could not cast from Check_testRequest?list to Dictionary. Details: CastInvalid

5 replies

konduruc733182
February 26, 2024

Hello [mention:d2329cbf3ade4de5b8122d425883af31:e9ed411860ed4f2ba0265705b8793d05] 

You will have to make sure the output that the expression rule is returning and the context (Which would be defined in your Process as a Parameterized variable) are of same type.

February 26, 2024

Thank you Chaitanya

The query rule is returning output in the form of list and process variable type was CDT which is parameterized 

konduruc733182
February 27, 2024

You were able to fix the issue?

harshitb6843
February 27, 2024

What version of Appian are you using? They deprecated rf! and introduced rv!