cancel
Showing results for 
Search instead for 
Did you mean: 

Error while opening process

Neel1
MVP
Hello,

Done some changes in process then BP got hanged and goes into not responding state. On reopening BP, received below error but not able to recover the latest changes done in process.

suggestion needed  on why this come how to recover up to date code 

Error loading: Exception while loading process : Input string was not in a correct format

------------------------------
Neeraj Kumar
Technical Architect
------------------------------
1 BEST ANSWER

Best Answers

Hi Neeraj,

If you have the access to the database, copy the XML and paste it in some notepad file with .XML format and you can reimport the object after executing the following query:

SELECT [eventdatetime]
      ,[sNarrative]
      ,[gTgtProcID]
      ,[comments]
      ,[EditSummary]
      ,[oldXML]
      ,[newXML]
  FROM [blueprism].[dbo].[BPAAuditEvents] INNER JOIN [blueprism].[dbo].[BPAProcess] 
  ON [blueprism].[dbo].[BPAAuditEvents].gTgtProcID = [blueprism].[dbo].[BPAProcess].processid
  WHERE [newXML] IS NOT NULL AND [blueprism].[dbo].[BPAProcess].name = 'Order System - Enter Order'
  ORDER BY [eventdatetime] DESC


Replace the <YOUR PROCESS NAME> attribute with the name of the process which you can see in the 'BPAProcess' table for which you need the XML. Here the top most record will give you your desired XML value from the [newXML] column

20620.png

------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please provide a big thumbs up so that the others members in the community having similar problem statement can track the answer easily in future.

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------

View answer in original post

4 REPLIES 4

Hello Neeraj,

Did you enable the Auto backup option?

20615.png
Trying to see if we can recover the last auto saved XML.

------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

Hello Tejas- yes this is enabled.

whenever trying to use first option - it throw that error. finally used the 2nd option, but all work was found lost.
wondering whether that work was ever saved in Db or not

20616.png

------------------------------
Neeraj Kumar
Technical Architect
------------------------------

BP stores all auto backups in the BPAProcessBackup table.

If you have access to DB please try to grab XML from this DB table and see if it helps.

------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

Hi Neeraj,

If you have the access to the database, copy the XML and paste it in some notepad file with .XML format and you can reimport the object after executing the following query:

SELECT [eventdatetime]
      ,[sNarrative]
      ,[gTgtProcID]
      ,[comments]
      ,[EditSummary]
      ,[oldXML]
      ,[newXML]
  FROM [blueprism].[dbo].[BPAAuditEvents] INNER JOIN [blueprism].[dbo].[BPAProcess] 
  ON [blueprism].[dbo].[BPAAuditEvents].gTgtProcID = [blueprism].[dbo].[BPAProcess].processid
  WHERE [newXML] IS NOT NULL AND [blueprism].[dbo].[BPAProcess].name = 'Order System - Enter Order'
  ORDER BY [eventdatetime] DESC


Replace the <YOUR PROCESS NAME> attribute with the name of the process which you can see in the 'BPAProcess' table for which you need the XML. Here the top most record will give you your desired XML value from the [newXML] column

20620.png

------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please provide a big thumbs up so that the others members in the community having similar problem statement can track the answer easily in future.

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------