Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Workflow -- Cannot add file to SPTaskProperties ExtendedProperties

  Asked By: Melissa    Date: Dec 27    Category: Sharepoint    Views: 1435

I'm build a sharePoint workflow in Visual Studio and
InfoPath. Assigning a byte array (uploaded file from
InfoPath form) to the ExtendedProperties of a task
causes the workflow to break. I get a generic "An
error occurred" message in workflow status.

Any ideas how I should go about this?



1 Answer Found

Answer #1    Answered By: Isaiah Santiago     Answered On: Dec 27

Nevermind. I found the solution.

Convert the byte[] array  into a base64 encoded binary
string. If the byte[] array is null, then don't set
the property.