Date time zone issue

I have created a rule to display date time



and currently my loacale of my profile is English (united states)
I changed it to english (united kingdom) and now it is giving me this error
Any idea why ?

how to resolve it ?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Pawan Lalwani

    but that's not relevant.  you're still passing the entire dictionary returned by a!fromJson(), which would be like

    {
      dateTime: <datetime value>
    }
    (or per Stefan's runtime example above:  )

    So the issue is: this rule would need to understand that it's looking for a property named "datetime" from the value being fed into it, if you're trying to feed it the entire dictionary.  It's crashing because it is not doing this.  Otherwise you should be feeding just the ".datetime" property of the a!fromJson() result.

Children
No Data