// If your activity returns a value, derive from CodeActivity<TResult> // and return the value from the Execute method. protected override void Execute(CodeActivityContext context) { string author = Search.Get(context).Author; string title = Search.Get(context).Title; string isbn = Search.Get(context).ISBN; BookInfoList l = new BookInfoList(); l.BookList.Add(new BookInfo(title, author, isbn, "Available")); l.BookList.Add(new BookInfo(title, author, isbn, "CheckedOut")); l.BookList.Add(new BookInfo(title, author, isbn, "Missing")); l.BookList.Add(new BookInfo(title, author, isbn, "Available")); BookList.Set(context, l); }