Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

Convert string value from text source file to GUID [ERROR: Unrecognized Guid format]


Recommended Posts

I'm sure I'm missing something simple, but have been spinning on this for hours!

Objective:

Map string value retrieved from "text as source" file to valid GUID.

Example:

Value from text source file field TemplateGUID.val = 302d6d35-cbbf-ea11-a812-000d3a191efa

Tried:

psa_projecttemplate = guid(TemplateGUID.val)

ERROR:Unrecognized Guid format. StackTrace : at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException) at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) at System.Guid.Parse(String input) at Scribe.Process.ProcessWBSProjectTemplateDeliverables.Execute(Dictionary`2 settings, IEnumerable`1 dataEntityInput) : Error in mapping 'psa_projecttemplateitem.psa_projecttemplate ' for Operation 'Create' Error in mapping 'psa_projecttemplateitem.psa_projecttemplate ' for Operation 'Create'

psa_projecttemplate = "302d6d35-cbbf-ea11-a812-000d3a191efa"

Works

psa_projecttemplate = TemplateGUID.val

No error, but does not map.

What am I missing

Link to comment
Share on other sites

×
×
  • Create New...