Skip to main content


 

Symptoms

 


Deployment Failed due to Reference Error of missing Activity
 

 

Diagnoses

 


When I am deploying my Form I am getting error for Activity which is not present in my form. I would recommend to have teleconference meeting as my Project definition file is 29 MB and I can't attach here.

'FormName' Form is referencing the 'oldActivityName' Activity that could not be found.
'FormName' Form is referencing the 'FieldId' property on the 'UnknownEnvironmentField' Field that could not be found.
'FormName' Form is referencing the 'UnknownEnvironmentField' Field that could not be found.
'FormName' Form is referencing the 'Field1' property on the 'SimpleSmo' SmartObject that could not be found.
 

 

Resolution

_1
A coldfix was provided to resolve the missing Activity errors when deploying to a target environment.

_2
The missing EnvironmentField item is a new Package and Deployment validation implemented in 4.6.9 to inform the user if there is a bad reference so that more compatible packages can be created. This behavior would occur when an environment field was used and later deleted.

From the package (which is essentially an archive and can be extracted) please edit the form XML in a text/XML editor, then search for the missing environment field reference.

The XML structure containing this reference will indicate which rule the missing reference previously existed in. You will just need to re-run through the "Configure" wizard for these rules in the source environment this should update the form and resolve the missing reference. A new version of this package will now not contain this bad reference.

 

 



 

Hi,

 

I'm having the same issue as tin.  Can you please let me know where I can find this coldfix?


JudoK:


Please log a support ticket (https://portal.k2.com) to request the coldfix for this issue.


Also a relevant KB article:


 


http://help.k2.com/kb001684


Reply