Workflow and ServiceDesk Community

 View Only
  • 1.  Does anyone know how to convert a Text value into a TimeZone object with a value?

    Posted Feb 08, 2013 07:51 PM

    Dear All,

    I have a Text value of "(UTC) Dublin, Edinburgh, Lisbon, London" and I need to convert this into a TimeZone object. Is there a Component available? Search does not yield much.

    So, does anyone know how to convert a Text value into a TimeZone object with a value?

     



  • 2.  RE: Does anyone know how to convert a Text value into a TimeZone object with a value?

    Posted Feb 10, 2013 08:24 PM

    have you tried using a single value mapping component and connecting your text variable to the Time Zone "Id" variable?  give that a try.



  • 3.  RE: Does anyone know how to convert a Text value into a TimeZone object with a value?
    Best Answer

    Posted Feb 27, 2013 08:46 AM

    africo,

    Why the Id variable? It worked for me when I used the SVM Component at your suggestion, but using the "DisplayName" variable.



  • 4.  RE: Does anyone know how to convert a Text value into a TimeZone object with a value?

    Posted Mar 07, 2013 02:56 PM

    there are 2 "timezone" datatypes (in 7.5 anyway) and i just chose the first one.  looks like you got it handled though, good for you!



  • 5.  RE: Does anyone know how to convert a Text value into a TimeZone object with a value?

    Posted Mar 08, 2013 06:29 AM

    africo,

    Yes, there is the "Time Zone" and the "TimeZone".

    I like the "Dirty" attribute, however!