When a user get inserted, I have @future method call which updates Contact and call another future method.
Trigger Code
UserTriggerUtility_HDS.InsertUserSendToIDM(Trigger.New[0].userType,Trigger.New[0].ContactId);
Function Call
@Future
public static void InsertUserSendToIDM (string Usertype,Id ConId){
if (Usertype = 'PowerPartner' && ConId <> Null){
Contact oCon = new Contact (Id = ConId,Send_TO_IDM_HDS__c = true);
update oCon;
}
}
Why am I getting "Method does not exist or incorrect signature" error here?