+ Start a Discussion
GaneeeshGaneeesh 

Unsupported parameter type SOBJECT:Case

Hi every one i am trying to use @future method (this is my method ""public static void method1(case dupcase,id mesterrecid) ""  ) , then i got an error like " Unsupported parameter type SOBJECT:Case at line 4 column 20" how can i rectify this can anybody help me..?

Ashish_SFDCAshish_SFDC

Hi Ganesh, 

 

Passing a parameter to the @future method is not allowed, check the same in your code. 

 

Regards,

Ashish

Arunkumar.RArunkumar.R

Here is some example to passing parameter in @future method...

 

Please look on this blog 

 

http://salesforcekings.blogspot.in/2013/11/avoiding-mixed-dml-operation-in-apex.html

 

If you found this answer helpful to you... Please accept this as a Solution and  give kudos by clicking on the star icon.

 

Thanks and Regards,

Arunkumar.R | Salesforce Certified Developer