Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2079

WorkFlow: The flow doesn't end(error)

$
0
0

Hi Experts,

 

I enabled the WorkFlow functionality in the SAP B1, and I started to do some tests.

I take some SAP B1 workflow templates, and I imported them to my company. The flow works fine until the last task. After I have done the last task, SAP doesn't achieve finish the flow, throws an exception.

 

Template Used(I have tested with other templates too):

 

img.png

In the SAP B1 the flow stop here:

 

img2.PNG

 

The error throwed:

 

Got exception(thread=MessageQueueThread)=>com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Internal error (3621) occurred Please see the server log to find more detail regarding exact cause of the failure.

 

3621 is a sql exception. The query throws this error:

 

Failed to doQuery(UPDATE [SBODemoBR]..OWFI SET [Status] = N'F',[StartDate] = N'2016-04-18T00:00:00',[StartTime] = '1521',[IsAutoStar] = N'0',[ExecID] = N'2',[EndTime] = N'1523',[Creator] = N'manager',[EndDate] = N'2016-04-18',[TemplateID] = N'1' WHERE [WFInstID] = N'1'), retry cnt =0

 

In a test database , I tested this query, the problem is in the 'EndDate' field update:

 

Error: The conversion of a varchar data type to a datetime data type resulted in an out of range.

 

My question: Someone have had this problem? If yes, is there a fix?

 

Any suggestion is appreciated.

 

P.S: I have tested in SAP B1 9.1 PL 8 and PL 11.

 


Best regards,

Diego Lother


View Diego Lother's profile on LinkedIn


Viewing all articles
Browse latest Browse all 2079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>