Peter_Brase
Scholar

Workflow deploy throws an error: my workflow has lost SmartObject references

In attempting to deploy a workflow (version 19) I received this error:

 

Peter_Brase_0-1646763171158.png

When I looked at the workflow I discovered that it seems to have lost all references to SmartObject fields:

Peter_Brase_1-1646763276509.png

There should be about 30 fields listed in the WriteOffs SmartObject.  Instead there are none.  This caused the first error message, but where did my fields go?  How can they simply disappear?   When I try to load the Start Event edit to troubleshoot, it simply spins:

 

Peter_Brase_2-1646763427453.png

If I try to create a new Start Event with the same SmartObject, it too just spins.  

Any help would be greatly appreciated.  I've put a lot of time in on this workflow and it seems to have committed suicide.  Thanks!

Labels: (1)
0 Kudos
Reply
4 Replies
paulk
Scout

Re: Workflow deploy throws an error: my workflow has lost SmartObject references

Hi there,

 

Maybe check that your SmartObject doesn't have any broken underlying method bindings.  Open the SmartObject up in designer and check all is well.

 

If that doesn't resolve your issue, take all this with a pinch of salt as it applies to how I would try to resolve this on prem.

 

I'm not 100% sure if you can revert to an older version in the Management Portal in K2 Cloud. Try to open up the Workflow in the management portal, then look in the Versions tab - revert it to the last deployed working one. 

 

I am not sure how package and deployment works in the Cloud either but if you can package up the older reverted version then you can deploy that over the top.

 

Perhaps a support ticket would be more suitable or someone else knows better than me.

 

Cheers

0 Kudos
Reply
khanh
Nintex Employee
Nintex Employee

Re: Workflow deploy throws an error: my workflow has lost SmartObject references

Hi Peter_Brase,


It sounds like the SmartObject reference is somehow corrupted. If you can't expand the reference, then it's likely the case. Were there any changes to the Write Off SmartObject reference outside of the workflow? Can you try to execute the SmartObject from Management site?

0 Kudos
Reply
Peter_Brase
Scholar

Re: Workflow deploy throws an error: my workflow has lost SmartObject references

Yes, it's an issue in the workflow.  In the Management space I can execute the object's methods.  In the Designer space I can open the object for editing.  The problem is entirely in the workflow.  Thanks for getting back to me.

0 Kudos
Reply
Peter_Brase
Scholar

Re: Workflow deploy throws an error: my workflow has lost SmartObject references

Found a solution in an article on this site.  I deleted the smart object from the workflow and then went back to the workflow start step.  Now it loaded correctly and i was able to reconfigure the settings there and fix the reference errors in other parts of the workflow.    

0 Kudos
Reply