CreateServiceNodeFromDatabase StartPosition is a Date

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
msweeney
Posts: 6
Joined: February 28th, 2022, 12:13 pm
Contact:

CreateServiceNodeFromDatabase StartPosition is a Date

Unread post by msweeney »

In my last project, I tried to use the service CreateServiceNodeFromDatabase to read records stored by a previous service that had SaveResultToDatabase=True. However, I was unable to read the records because CreateServiceNodeFromDatabase would always throw an exception
like:
Service with Id 92f3f8b6-191a-47ad-bedf-71e25e3e0adf and position between 3/8/2022 9:48:01 AM and 9 could not found in database.
It seems like the service is using a date instead of the given start position, causing it to never find records.
word count: 85

Tags:
SteveCap
Posts: 329
Joined: August 26th, 2021, 9:18 am
Contact:

Re: CreateServiceNodeFromDatabase StartPosition is a Date

Unread post by SteveCap »

The error message is just incorrect and will be fixed. Task #10221 has been created. It is using the passed in start position and number of results. That error will appear when it can't find any records. How are you running the service? It will not work if ran in step.
word count: 52
msweeney
Posts: 6
Joined: February 28th, 2022, 12:13 pm
Contact:

Re: CreateServiceNodeFromDatabase StartPosition is a Date

Unread post by msweeney »

I had been trying to run it in step, so that makes sense.
word count: 13
JustinVanRegenmorter
Posts: 576
Joined: August 26th, 2021, 9:56 am
Contact:

Re: CreateServiceNodeFromDatabase StartPosition is a Date

Unread post by JustinVanRegenmorter »

This issue has been resolved as of RunTime revision 903.
word count: 10
SumanPrasad
Posts: 88
Joined: August 26th, 2021, 5:21 pm
Contact:

Re: CreateServiceNodeFromDatabase StartPosition is a Date

Unread post by SumanPrasad »

We have decided to make RunInStep work with SaveResultToDatabase. A task 10301 has been created to address this.
word count: 18
JustinVanRegenmorter
Posts: 576
Joined: August 26th, 2021, 9:56 am
Contact:

Re: CreateServiceNodeFromDatabase StartPosition is a Date

Unread post by JustinVanRegenmorter »

This change has been implemented as of RunTime Revision 933.
word count: 10
Post Reply