Skip to main content

Experts,

 

By mistakenly we deleted one service instance, And now all the SMO's which were mapped to that service instance are in error state.

 

Could any one let us know how we can retrive thus service instance back or if we create a new service instance how we can map all the service objects to new service instance?

 

Regards

Amar

Hi Amar,

 

If you have K2 DB bakcup then by restoring latest backup you can retrive that service Instance. or else you can create the new service instance with same name and GUID and then try to refresh the Smartobjects which are using this Service Instance., if it works then its good. otherwise you have map service instance to each service object.

 

Hope this will work

 


Amar,

If by change, that doesn't come up for you in the Smart Object tester (which it still should) then you can also find that Service Instance Guid is to go to the K2.SmartBroker.SmartObject table and find the record for one of your SMOs.  If you do this in SQL Mgmt. Studio you can click right on the SmartObjectXML to open the XML definition of the Smart Object.  Scroll down to the second with the methods:

 

 

 

 <methods>
<method name="ListProcessDefinitions" type="list" transaction="continue" execblockno="0">
<metadata>
<display>
<displayname>List Process Definitions</displayname>
<description />
</display>
</metadata>
<serviceinstances>
<serviceinstance name="WorkflowReportingService" guid="ef7310e5-b14f-464d-b0f3-a37d6c367620" type="SourceCode.SmartObjects.Services.WorkflowReporting.WorkflowReportingService" execblock="0">
<objects>

 

Look for the service instance and you will see the guid.

 


Reply