Skip to main content


 

Symptoms

 


While editing a Smartobject Event in an older process, a Load/Delete method that makes use of the 'ActivityInstanceDestInstanceData' field now throws validation check 'Ensure that the value corresponds to data type.' and does not allow the wizard to complete.
 

 

Diagnoses

 


In an earlier update of K2 blackpearl version 4.5, this validation had not been implemented and as such allowed for such configuration. Then this enhancement was implemented to help prevent run-time issues regarding mismatching data types. The Load/Delete method expects a Integer/Number datatype, while the 'ActivityInstanceDestInstanceData' is of type Text/String and as such this validation is triggered.
 

 

Dragging and dropping this field, instead of selecting via the ellipses and performing the "Add" option; also resulted in this behavior.

 

 

 

Resolution

Usually when needed, the "Function Browser > Conversion" functions can be used to match the source data type to the destination data type.  In this case the Conversion > To Integer conversion was used.

 

 



 
Be the first to reply!

Reply