title: Using Custom Types for Variables during SharePoint 2013 Workflows
body: <p>I want to define a simple object from a class with only one property as a variable in sharepoint 2013 workflow.</p>
  
  <p>The Class code is:</p>
  
  <pre><code> public class RssFeedItem
  {
      public string Title { get; set; }
  }
  </code></pre>
  
  <p>I can create a variable with this type in workflow as you can see at the following image:</p>
  
  <p><img src="https://i.stack.imgur.com/k1vRl.png" alt="enter image description here"></p>
  
  <p>After that i add an Assign Activity, and set FeedTitle=MyFeed.Title:</p>
  
  <p><img src="https://i.stack.imgur.com/0DBFh.png" alt="enter image description here"></p>
  
  <p>But when i built workflow i get the following error:</p>
  
  <p><img src="https://i.stack.imgur.com/2ZHQN.png" alt="enter image description here"></p>
  
  <p>Error message is: <strong>Failed to translate expression 'MyFeed.Title' because of the following error: Property access conversion to an activity is not supported for property 'Title' defined on type 'FeedReaderLib.RssFeedItem'.</strong></p>
  
  <p>Could anyone help me to solve this problem?</p>
  
  <p>Any help would be appreciated. </p>