Skip to main content

Hello all


Is there any way to get name of the smartobject based on its GUID easily?


I moved my process from environment A to environment B. When I tried to deploy the workflow from environment B, I got following error:



Error 1 SmartObject [413b8e14-275f-4ea1-8744-7d03adc3f99f] could not be found.Line 92 Column 6


How can I find what SmartObject it is in environment A so that I can recreate it in environment B.


Thanks


 

I haven't looked to see if there is a method to do that, but in the Developer Reference section of the K2 help files under SmartObject management there is a simple example that iterates through all SmartObjects and writes out the name.  You should be able to change a line or two and have it spit out the name and GUID.


You can execute the following SQL query on the SQL server in Environment A:



SELECT * 


FROM SmartBroker..SmartObject


WHERE SmartObjectGUID = '413b8e14-275f-4ea1-8744-7d03adc3f99f'



That worked.........Thanks!


Reply