Skip to main content
Nintex Community Menu Bar

Deleting Smartobject breaks Workflow

  • December 28, 2018
  • 3 replies
  • 1 view
  • Translate

Forum|alt.badge.img+5

Hi,

I have come across an issue I cannot get round.

I initially had a Smartobject onto an SQL table which I used to store all the destination users. I have since reverted onto using K2 roles instead. 

 

When attempting to tidy up what I have created and deleting the smartobject (and SQL table), I am unable to redeploy my workflow due to a missing smartobject reference error. Even though I have gone through all the user tasks and replaced it with K2 roles ?

 

To get round the problem I have to recreate the table and the smartobject on the server even though it is not in use the workflow seems to deploy correctly afterwards.

 

Any ideas?

Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+16
  • 682 replies
  • December 28, 2018

Hi,


 


 


Could it be related to inline functions? Are there any inline functions in the workflow with the references to the SmartObject?  Perhaps, you can use the Package Deployment Tool to find the dependencies of the SmartObject.


-K2 Package and Deployment Tool > Create Package.


-Add the workflow, it will try to pull in all the associated artifacts.


-The Dependencies or Used By tab will give more details on it.



 

Translate

Forum|alt.badge.img+5
  • Author
  • Rookie
  • 30 replies
  • December 31, 2018

Hi Khan,

 

I can see the smartobject in question is getting pulled into the package as a dependency, is there anyway we can see in more detail what it is spefically using from this smartobject?

 

Kind Regards,
Martin

Translate

Forum|alt.badge.img+16
  • 682 replies
  • December 31, 2018

Hi Martin774,


 


I would re-check the workflow and any forms that might have a reference to the SmartObject.


1. Check rules/actions/State that were created by the workflow.



2. Re-check each workflow step. For example, I have a Join function that has a reference to the Role SmartObject and it's also using the item reference from the Role SmartObject.


 


 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings