Outlook Time interpreted minus 1 hour in BP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-07-19 03:53 PM
I have one process in which we are reading information from Outlook (Date and Time) e.g. Wednesday, July 24, 2019 11:00 - 12:00 p.m. or Mittwoch, 24. Juli 11:00 - 12:00 Uhr and pasted it to an Outlook template.
After the migration to BP 6, the script interpreted all times minus 1 hour. Additionally, the script interpreted 12:00 p.m. often as 12:00 a.m.
To get the time from the Collection:
Trim(Mid([Data from confirmation.When], InStr([Data from confirmation.When], FormatDate(Now(), "yyyy"))+5, Len([Data from confirmation.When])))
Could someone help me to solve this problem?Thanks and best regards
Andre
------------------------------
Andre Köpplin
Senior Business Process Analyst
Europe/Berlin
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-19 11:30 AM
Edit: What I'm trying to understand is how Blue Prism could be interpreting the time wrong if it's not converting from text to time or datetime since the result I mentioned above cannot be directly casted into either of those data types.
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-19 04:52 PM
Per their 6x release notes...
"When passing a Collection back from a Code Stage, if the DateTimeMode property had not been specified, the DateTime objects were being treated as being local time and subsequently being converted to UTC. By default, DateTimes that do not have a specified DateTimeMode property will now be set to UTC when passing a Collection to a Code Stage. This prevents unexpected time zone conversion."
------------------------------
Ami Barrett
Lead RPA Software Developer
Solai & Cameron
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-19 05:34 PM
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-19 06:51 PM
------------------------------
Ami Barrett
Lead RPA Software Developer
Solai & Cameron
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-07-19 11:53 AM
Our BOT get Outlook invitations from Outlook and paste the start /end time to another E-Mail which is send manually. If we are running the BOT with Login Agent, the Time is minus 1 hour. If I running the BOT in the Foreground (Citrix) on my Computer, the time is correct.
We have more then 50 actions, which are touching the start /end time, so I am looking for a quite fast and stable solution. I am not the developer of the BOT, I take over the responsibility after the developing.
Best regards
Andre
------------------------------
Andre Köpplin
Senior Business Process Analyst
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-07-19 11:57 AM
The BOT get the data from a Meeting invitation from Outlook and stored it in a collections. The data are used to write additional E-Mail. The format of the input is "Text". This collections data is used more then 50 times in the script to populate the E-Mail.
I am not the developer of the BOT, I take over the responsibility after the developing and the task to solve this problem 🙂
Best regards
Andre
------------------------------
Andre Köpplin
Senior Business Process Analyst
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-07-19 03:15 PM
------------------------------
Ami Barrett
Lead RPA Software Developer
Solai & Cameron
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-07-19 03:33 PM
Yes, the BP Server (Database) is in London and we are located in Poland/Switzerland. I already changed the times zone in Win10 and Outlook, but it isn't working. The meeting time is gather as Text-Format from the meeting confirmation.
Best regards
Andre
------------------------------
Andre Köpplin
Senior Business Process Analyst
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-07-19 03:48 PM
I know it isn't ideal, but would it be feasible to give the interpreted time a static offset?
------------------------------
Ami Barrett
Lead RPA Software Developer
Solai & Cameron
America/Chicago
------------------------------
