The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

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


Doug Allinger 2

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 an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...