Hello, i'm using SP2013 and VisualStudio2012 to define a Workflow. I'm using a WaitForFieldChange Activity that requires as input an ItemGuid field that represent the Guid of the row on which the worflow was started. To recover this value I've declared a variable of type Guid and I've used it as result field of another activity: GetCurrentItemGuid. This variable was used to set the ItemGuid field of the WaitForFieldChange Activity. When I run the workflow I've this error:
RequestorId: 987e7fbb-7dee-b8d8-6ab5-5720a121d6ad. Detail: System.FormatException: Hexadecimal 0x expected in '{0}'.
in System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
in System.Guid.TryParseGuidWithHexPrefix(String guidString, GuidResult& result)
in System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
in System.Guid.Parse(String input)
in System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
in System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Thaks Danilo