• Lucas Large
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Im having a problem with a custom script out of Laserfiche Workflow. I have it setup to send a birthday over to a salesforce contact. Everything in the code looks good but the birthdate does not come over. Here is an example of the code. 

s = GetTokenValue("RetrieveFieldValues_Birthdate").ToString();
            if (string.IsNullOrEmpty(s) == false)
            {
            string date = s;
            DateTime dt = Convert.ToDateTime(date);
            contact.Birthdate = dt;
            }

Has anyone else had this issue or can you guys see whats going wrong. Thank you.
 
Im having a problem with a custom script out of Laserfiche Workflow. I have it setup to send a birthday over to a salesforce contact. Everything in the code looks good but the birthdate does not come over. Here is an example of the code. 

s = GetTokenValue("RetrieveFieldValues_Birthdate").ToString();
            if (string.IsNullOrEmpty(s) == false)
            {
            string date = s;
            DateTime dt = Convert.ToDateTime(date);
            contact.Birthdate = dt;
            }

Has anyone else had this issue or can you guys see whats going wrong. Thank you.