Martyn Houghton Posted March 7, 2019 Share Posted March 7, 2019 @Steve G I am having an issue the Hornbill Request Importer when importing request as status.onhold. From the error I can see that it is needed an 'onHold until datetime', but there is not a field in the import config for this. If my memory servers me right from Support Works days it used the resolved/closed date. Do I just supply the 'onHold until datetime' in the h_dateclosed for those records which are on hold? 2019/03/07 15:55:37 [DEBUG] Service Cached [Open Objects Historic Incidents] [550] 2019/03/07 15:55:37 [DEBUG] Priority Cached [3]: Low 2019/03/07 15:55:37 [DEBUG] New Service Manager Request: IDXIN00086339 2019/03/07 15:55:37 [DEBUG] Activity Stream Creation Successful 2019/03/07 15:55:37 [DEBUG] Request Log Date Update Successful 2019/03/07 15:55:37 [ERROR] MethodResult not OK: Unable to place request on hold [IDXIN00086339] : FlowCode Exception (com.hornbill.servicemanager/entities/Requests/fc_ops/holdRequest): Input parameter validation error: The dateTime value '' specified is invalid or out of range for element <onHoldUntil> at location '/methodCall/params/onHoldUntil' 2019/03/07 15:55:37 [DEBUG] <params><requestId>IDXIN00086339</requestId><onHoldUntil></onHoldUntil><strReason>Request imported in an On Hold status. See Historical Request Updates for further information.</strReason></params> 2019/03/07 15:55:37 [DEBUG] Retrieving Historic Updates for 2019/03/07 15:55:37 [DEBUG] SELECT * FROM oohistoricupdates WHERE callref = 52526 Cheers Martyn Link to comment Share on other sites More sharing options...
Steve G Posted March 7, 2019 Share Posted March 7, 2019 Hi @Martyn Houghton, That's correct, the on-hold date/time should be added to the h_dateclosed field. Cheers, Steve 1 Link to comment Share on other sites More sharing options...
Martyn Houghton Posted March 7, 2019 Author Share Posted March 7, 2019 @Steve G Thanks for the quick response. Would I be correct in presuming BPM are only triggered for requests which are of new, open and onhold? Cheers Martyn Link to comment Share on other sites More sharing options...
Steve G Posted March 7, 2019 Share Posted March 7, 2019 @Martyn Houghton You would indeed be correct If the request being imported is in a cancelled, resolved or closed state, the BPM is not spawned. Cheers, Steve 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now