protected override void Execute(NativeActivityContext context) { BLL bll = new BLL(); if (bll.CheckForSAPMapping(WorkCenter.Get(context))) { Console.WriteLine("Workcenter present"); Result.Set(context, true); } else { Result.Set(context, false); } }